Coder Social home page Coder Social logo

puncoz / threejs-3d-rooms Goto Github PK

View Code? Open in Web Editor NEW

This project forked from slmetaverse/hiring-3d-assignment

0.0 1.0 0.0 6.92 MB

Creating 3d rooms using three.js

Home Page: http://3d.demo.puncoz.com/

CSS 7.41% HTML 92.59%
3d plane-geometry threejs 3d-rooms

threejs-3d-rooms's Introduction

3D Code Exercise

Write a code to meet the following requirements.

  • 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 room next to it. Rooms must be seperated by semi-transparent wall to see the range of rooms.

  • Make sure there aren't any roofs parts. We must be able to see down from above (at an angle).

  • Make sure when it loads, the camera is at the right perspective. It should be like a drone at certain height in the sky. It should be able to look through the halls from above (at an angle).

  • Should be able to view the file in a web browser. It should probably output a file that can be loaded into HTML in 3d. X3DOM, or VRML, or .x3d, etc.

  • Encouraged to implement Quaternion Rotation for extra credit.

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.

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. Extra Credit: If showcased understanding of Quaternion Rotation.

References

threejs-3d-rooms's People

Contributors

hoegitadmin avatar puncoz avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.