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 » Wed Jul 30, 2008 10:43 am

Is this feature will be in future OGRE versions?
0 x

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

Post by PolyVox » Wed Jul 30, 2008 5:43 pm

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
0 x

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

Post by nullsquared » Wed Jul 30, 2008 7:54 pm

Per-polygon sorting would be dog-slow.
0 x

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

Re: Transparent objects per polygon sorting

Post by xavier » Wed Jul 30, 2008 7:56 pm

iigor wrote:Is this feature will be in future OGRE versions?
Why do you need it?
0 x
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 » Mon Aug 04, 2008 10:08 am

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.
0 x

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

Re: Transparent objects per polygon sorting

Post by Maxym » Mon Dec 14, 2009 10:12 am

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?
0 x

Post Reply