Horde3D

Next-Generation Graphics Engine
It is currently 22.12.2024, 06:46

All times are UTC + 1 hour




Post new topic Reply to topic  [ 5 posts ] 
Author Message
 Post subject: Alpha sorting
PostPosted: 25.02.2008, 15:10 
Offline

Joined: 25.02.2008, 14:48
Posts: 4
Hi,
I read in an earlier post that alpha sorting would be implemented in the future. Any ideas when this might get added to Horde?
Thanks!


Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: 25.02.2008, 19:17 
Offline

Joined: 19.11.2007, 19:35
Posts: 218
Can you explain what you're planning to do with alpha sorting? In many cases there are better options depending on what you're going to sort and how much of it there is.

e.g. Sorting regular classic glass is pretty much unnecessary, but sorting red, blue, green, and yellow panes needs to be done in a shader or during drawing. Foliage shouldn't be sorted, alpha test and slide the test value to disolve it. If there's tons of sorting going on constantly then you're better off using an offscreen buffer composited onto the main buffer.

All of those cases except sorting during rendering can already be done with either vanilla horde or some minor modifications.


Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: 26.02.2008, 01:33 
Offline

Joined: 25.02.2008, 14:48
Posts: 4
Basically I want to create an underwater environment with translucent models such as jellyfish, squid etc...

There could be quite a few models present in the scene.

I'm not an expert in rendering for alpha - all I know is that is needs to be sorted properly otherwise things might not be displayed in the right order. Any suggestions?


Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: 26.02.2008, 15:07 
Offline
Engine Developer

Joined: 10.09.2006, 15:52
Posts: 1217
We're planning to implement sorting in the next weeks since it is also required for occlusion culling. But it will only work on a mesh/scene node level which should actually be enough for your scenario. Sorting single polygons is out of the question since it would usually just be too slow.


Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: 28.02.2008, 01:02 
Offline

Joined: 25.02.2008, 14:48
Posts: 4
Sorting on the mesh level is all I would need I think! Sounds great, very much looking forward to it. I'm very impressed by your engine by the way, I have yet to port my work to it but I'm looking forward to it...it's both a powerful tool and an excellent educational resource.

I won't be making any more feature requests by the way ;) With alpha _and_ occlusion culling I'm going to be very content. Keep up the good work, and I'll post my project once it's done.


Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 5 posts ] 

All times are UTC + 1 hour


Who is online

Users browsing this forum: No registered users and 12 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
Powered by phpBB® Forum Software © phpBB Group