Giter Club home page Giter Club logo

comp371's People

Contributors

clearedkinkajou avatar dbatistaferreira avatar lucoile avatar narrapangan avatar

Watchers

 avatar

comp371's Issues

Three Lines, 3 colors

Creates a set of three lines 5 grid units in length, in 3 different colors, representing each coordinate axis in virtual world space, centered at the origin.

Model Modifications (scale up, move, etc...)

– The user can incrementally size up the model by pressing ‘U’ to scale-up and ‘J’ to scale-down. Each key press should result in a small size change.
– The user can control the model position and orientation using keyboard input, i.e., A → move left, D → move right, W → move up, S → move down, a → rotate left 5 degrees about Y axis, d → rotate right 5 degrees about Y axis. You may add other rotations about other axis, if you want.

100x100 Grid

Creates a 100x100 square grid (ground surface) in the XZ plane centered at the origin.

World Orientation

– The world orientation is changed by using keyboard input i.e. left arrow → Rx,
right arrow → R-x, up arrow → Ry, down arrow → R-y. (Rx denotes a small anticlockwise rotation about positive x axis, R-x about negative x axis, etc.) Pressing
“Home” button should reset to the initial world position and orientation.

P, L, T Types for Rendering Mode

The user can change rendering mode for the model, i.e. points, lines, triangles based on keyboard input, namely, key ‘P’ for points, key ‘L’ for lines, key ‘T’ for triangles.

Camera

– The user can pan and tilt the camera as follows:
While right button is pressed → use mouse movement in x direction to pan;
While middle button is pressed → use mouse movement in y direction to tilt.
– The user can zoom in and out of the scene:
While left button is pressed → use mouse movement to move into/out of the scene.

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.