My favorites | Sign in
Project Home Wiki Issues Source
READ-ONLY: This project has been archived. For more information see this post.
Search
for
  Advanced search   Search tips   Subscriptions
Issue 1: Implement a basic ray casting algorithm for drawing the voxels
1 person starred this issue and may be notified of changes. Back to list
Status:  Fixed
Owner:  joerivan...@gmail.com
Closed:  Dec 2013


 
Project Member Reported by joerivan...@gmail.com, Dec 2, 2013
A basic raycasting algorithm looks like:

For each pixel:
- Determine direction of camera ray
- IF current point is outside of chunk range on any of the axes && direction is pointing outside of chunks on that axis, STOP, else
- Step along the camera ray until collision occurs with a full pixel 
- Render the pixel on the screen that color

Examine http://maverick.inria.fr/Publications/2009/CNLE09/index.php for more ideas.

Dec 2, 2013
Project Member #1 joerivan...@gmail.com
(No comment was entered for this change.)
Status: Fixed
Dec 4, 2013
Project Member #2 joerivan...@gmail.com
This issue was closed by revision r5.

Powered by Google Project Hosting