Jump to content
  • Advertisement
Sign in to follow this  
fig

BSP transparent surface rendering order

This topic is 4428 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 converted the code from here to Delphi, for use in my game engine. The thing is, to render transparent surfaces correctly, I have to render the front nodes before the back nodes. I thought that to render them correctly, I would have to render back to front. Either I'm totally wrong or the original code is mixed up. ie. the triangles that are currently being placed in the back node should be in the front node and vice versa. You can see the code and tests etc. here. Also look under GLScene projects for an exe demo of the BSP. There's no transparency in the demo, I'll update it soon. I'd appreciate it if someone could clear this up for me. Thanks fig

Share this post


Link to post
Share on other sites
Advertisement
on the "render-list" post by Opwiz, he mentions back to front. This is basically what I thought, so it must be the original code that mixes up the back and front nodes..

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!