3D Code Exercise

Write a code that:

  • Create 3D rooms. Room is a cube. Must see rooms through the semi-transparent wall. Build a pattern of room as in the image below. Cube Image

  • Wall of a room must be opaque if there is no next room to traverse.

  • Move from one room to another. You are only allowed to move from one space to another space. Ex: From room 1 you have only option to move to room 2 and from room 2 only option to move either room 5 or room 3.

  • Able to navigate 360 inside a room.

  • Use the concept of 3D transformations.Reference

Notes

  • three.js is a cross-browser JavaScript library and application programming interface used to create and display animated 3D computer graphics in a web browser using WebGL.
  • There are lots of examples that can be referenced.
  • You are free to use, write your code in any framework.
  • Your code should run and should able to see the desired output in 3D view.

References

Instructions

  1. Fork the repository.

  2. Create a seperate file for the assignment.

  3. Push your branch and create a pull request on GitHub.

  4. example.html is one example for reference done with three.js.

  5. Feel free to add your own elements for extra credit.