Advertisement Jump to content
Sign in to follow this  

Volume rendering. Finding dominant axis

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

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, you agree to our community Guidelines, Terms of Use, and Privacy Policy. is your game development community. Create an account for your GameDev Portfolio and participate in the largest developer community in the games industry.

Sign me up!