Advertisement

Ray-Casting Voxel Game in OpenGL

Started by May 23, 2014 09:44 PM
0 comments, last by deftware 10 years, 8 months ago

Hello !

I have a question: How should I code Ray-Casting in a voxel game using OpenGL ? I already have character-movement and world-generation. The only thing missing is ray-casting. How could I code this ? I really tried to find appropriate tutorials for this but I didn't find anything.

Any help is appreciated.

Anticipated thanks,

Marron.

This is a field currently being explored. There are a few ways to go about it, but mostly you will have to figure it out on your own. My strategy is to divide the world up into chunks and perform ray casting within those chunks. Google "GLSL raycasting"

http://prideout.net/blog/?p=64

[ deftware.org ]

This topic is closed to new replies.

Advertisement