Code Monkey home page Code Monkey logo

raycasting's Introduction

####### Thomas Back Email: [email protected]

####Usage#### Raycasting Program, takes in a csv with objects and their properties and renders them onto a view plan via raycasting methods" Run the makefile in your/home/ and Tjbparser should be built in your /bin directory as an executable

The arguments required are as follows, the first argument must be the width of the view plane in mm, while the second argument is the height in mm, representing a film strip. The third argument must be a csv file correctly formatted to input spheres, camera, and plane objects with properties and colors respective to each object -Camera has only a width and height, -Plane has a color, position, and normal vectors -Sphere has a color, position, and radius vectors The fourth argument must be the name of the ppm file you want to write to for the raycasting. Known Issues When the width and height of the camera are very small and the z values of the objects are close to zero they sometimes do not appear or they appear very zoomed up. Could not p in point where in my logic this went wrong but for the most part casts everything.

raycasting's People

Contributors

tjb295 avatar

Watchers

 avatar  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.