Transparent objects per polygon sorting

What it says on the tin: a place to discuss proposed new features.
Post Reply
iigor
Gnome
Posts: 387
Joined: Thu May 08, 2008 3:46 pm
Location: Russia, Moscow

Transparent objects per polygon sorting

Post by iigor »

Is this feature will be in future OGRE versions?

User avatar
PolyVox
OGRE Contributor
OGRE Contributor
Posts: 1316
Joined: Tue Nov 21, 2006 11:28 am
Location: Groningen, The Netherlands
x 18
Contact:

Post by PolyVox »

I don't think there are any plans for it, and in general it is a difficult task. You can have the situation where two polygons are intersecting, for example. You might be interested in a technique called 'depth peeling' which allows correct transparency even when the polygons are in the wrong order. Have a look at the NVidia paper here:

http://developer.nvidia.com/object/Inte ... rency.html

And this Ogre thread:

http://www.ogre3d.org/phpBB2/viewtopic. ... 6f4e2718c6

User avatar
nullsquared
Old One
Posts: 3245
Joined: Tue Apr 24, 2007 8:23 pm
Location: NY, NY, USA
x 9

Post by nullsquared »

Per-polygon sorting would be dog-slow.

User avatar
xavier
OGRE Retired Moderator
OGRE Retired Moderator
Posts: 9481
Joined: Fri Feb 18, 2005 2:03 am
Location: Dublin, CA, US
x 22

Re: Transparent objects per polygon sorting

Post by xavier »

iigor wrote:Is this feature will be in future OGRE versions?
Why do you need it?
Do you need help? What have you tried?

Image

Angels can fly because they take themselves lightly.

iigor
Gnome
Posts: 387
Joined: Thu May 08, 2008 3:46 pm
Location: Russia, Moscow

Post by iigor »

Thanks for answers, i need transparency to show some objects fading in and fading out, and for some objects which are transparent all the time.

User avatar
Maxym
Halfling
Posts: 43
Joined: Mon Feb 23, 2009 10:29 am

Re: Transparent objects per polygon sorting

Post by Maxym »

xavier wrote: Why do you need it?
Actually I would also appreciate having such a feature in the library, even though it would be slow.
Now, I'm looking for a handy rendering library for non-game project, and even several FPS would be pretty ok for it.

Has something changed since the last post?

Post Reply