Skip to main content
gamedev.net
🔒 Locked

Volume rendering - Holes

Started by redeemer90 Jun 24, 2010 at 8:14 AM 1 replies 1.1k views
Original Post
redeemer90
redeemer90
Hi,

I'm trying my hand at some simple volume rendering using the ray marching method. I am using a deferred shading method, where one pass collects the depth of voxel and other pass does all the shading. Things are looking good, except that I seem to be getting 'holes' in my output. I've uploaded a screenshot available at the link below.
http://dl.dropbox.com/u/757277/expire30Aug2010/volRender.png

Does anyone know why this is happening or have any possible solutions? The only thing that I can think of is that some of the rays are getting deviated due to floating point errors.

- Sid
TehCodr
TehCodr
I think you didn't define all of the 3d parameters -- How empty spaces should look, how to fill in... That stuff.
jcabeleira
jcabeleira
Looks like a precision error, perhaps you need to apply a bias somewhere in your code.
What kind of ray marching are you performing? Linear or binary search?

Topic Locked

This topic has been locked by a moderator. New replies are not allowed.

Sign in to reply to this topic.