Jump to content
  • Advertisement
Sign in to follow this  
_void_

Volume rendering. Finding dominant axis

This topic is 1101 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

Hello,

 

I would like to get practical skills with volume rendering and started going through articles related to the subject.

 

During voxelization process, each triangle of the mesh is projected orthographically along the dominant axis of its normal so that to maximize the projected area.

To find the dominant axis, you have to find the axis A which gives the maximum value for |N * A|, where N is a triangle normal and A is one of the three main axes of the scene.

 

Could you please elaborate on this formula? It is not obvious to me how this dot product is related to projected area of the triangle.

 

Many thanks!

Edited by _void_

Share this post


Link to post
Share on other sites
Advertisement

After visualising a triangle in space, it gets pretty clear wink.png

 

The less angle between the triangle normal and the main axis, the greater projected area will be.

What we are doing with that formula is just calculating the angle between them.

 

Thanks everyone.

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.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!