Jump to content
  • Advertisement
Sign in to follow this  
AjitG

Volume Texture Lighting

This topic is 4343 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

I have developed a program which displays the volume texture. The program is in Direct3D 9. I am loading a standard volume texture - a human skull dataset. I wish to add lighting effect to this. I did some google on this, but nobody is pointing me in any particular direction. In volume texture.. the vertices are fixed on the edges of the box. The 3D texture is mapped over the box. How can I calculate the vertex normals that are required for the lighting? Any direction in this regard will help me alot. Thanks, Ajit

Share this post


Link to post
Share on other sites
Advertisement
I believe you are talking about illuminating volume renderings. I suggest you look at the following link:

High-Quality Volume Graphics on Consumer PC Hardware

These are Siggraph course notes, look especially at the section about illumination. There's a lot of research going on in this area, but the stuff is generally not easy. In volume rendering no vertices are used to compute face normals, but instead illumination is computed on non-polygonal isosurfaces.

Hope this helps at least a bit,

George

Share this post


Link to post
Share on other sites
Thanks George,
The illumination model link you have suggested is having some good material.
I was looking for calculations of vertex normals and I was wrong in that sense. Thanks for giving me particular direction.
Thanks again,
AjitG

Share this post


Link to post
Share on other sites
I'm just browsing through that material as well, because it interests me a bit. There's a great PPT presentation on volume rendering illumination on that page. It explains how gradients can be used instead of normal vectors to compute illumination. I believe that's what you're looking for.

Cheers,

George

[Edited by - bboyBladeJ on July 5, 2006 9:09:43 AM]

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

Participate in the game development conversation and more when you create an account on GameDev.net!

Sign me up!