Giter VIP home page Giter VIP logo

csci4350_project4's People

Contributors

starfys avatar

Watchers

 avatar  avatar

Forkers

bishoy301

csci4350_project4's Issues

Add another obj

  • Add line to public/index.html
  • add the 2 lines in main.rs to load and display the obj

Port build to cargo-web

  • Fully write Web.toml
  • Set the output directory to public
  • Adjust paths in index.html if needed
  • Remove makefile
  • Update readme

Part 2

  • polygonal mesh cat
  • polygonal mesh staff
  • composite made from at least 4 primitives (2 different types) desk
  • needs another shape
  • composite made from at least 4 primitives (2 different types) chair
  • needs another shape
  • extruded shape star
  • surface of revolution
  • any other object
  • animated object star
  • better animation
  • animation on keypress
  • material and lighting
  • better lighting constants
  • better lighting location
  • add a texture

Extruded object

Drawable object for basic extrusions

  • src/extrusion.rs
  • struct that implements render::Drawable
  • constructor takes a list of vertices, and a vector to extrude them towards
  • new function in render.rs like quad: polygon

Animate an object

  • add callback in js on pressing 'a'
  • context state that says whether an animation is happening, and what it's progress is
  • call function that initializes animation state Some(state) inside the js callback
  • requires some FFI hacking

Object of revolution

Drawable object of revolution

  • src/revolution.rs

  • struct that implements render::Drawable

  • constructor takes a list of vertices

  • All quads and tris

  • Optional: revolve around different axes

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.