Re: [osg-users] Render Bin, Transparency, ...

2008-12-01 Thread Vincent Bourdier
:* Friday, November 28, 2008 8:14 AM *To:* osg *Subject:* Re: [osg-users] Render Bin, Transparency, ... Sorry to insist, but I am surprised to see no answer ? Any suggestion or idea will be very appreciated. thanks a lot. Regards, Vincent 2008/11/28 Vincent Bourdier [EMAIL PROTECTED

Re: [osg-users] Render Bin, Transparency, ...

2008-12-01 Thread Paul Melis
Vincent Bourdier wrote: Hi, I just make a little update : I don't remember (and I don't find) what is the order of the elements to render... It seems to be : 1.skybox 2.transparent elements 3.orther I would say 1. skybox 2. opaque geometry 3. transparent geometry in depth-sorted order

Re: [osg-users] Render Bin, Transparency, ...

2008-12-01 Thread Gordon Tomlinson
, December 01, 2008 5:39 AM *To:* [EMAIL PROTECTED]; OpenSceneGraph Users *Subject:* Re: [osg-users] Render Bin, Transparency, ... Hi, I just make a little update : I don't remember (and I don't find) what is the order of the elements to render... It seems to be : 1.skybox 2

Re: [osg-users] Render Bin, Transparency, ...

2008-12-01 Thread Vincent Bourdier
* __ *From:* Vincent Bourdier [mailto:[EMAIL PROTECTED] *Sent:* Monday, December 01, 2008 5:39 AM *To:* [EMAIL PROTECTED]; OpenSceneGraph Users *Subject:* Re: [osg-users] Render Bin, Transparency, ... Hi, I just make a little update : I

Re: [osg-users] Render Bin, Transparency, ...

2008-12-01 Thread Andreas Lindmark
It is often better to draw the skybox last. 1. Opaque objects 2. Skybox 3. Transparent objects ATI has published a paper called Depth in Depth, written by Emil Person aka Humus. In the paper (under paragraph: Draw the skybox last and the gun first) he explains why this order is preferable

Re: [osg-users] Render Bin, Transparency, ...

2008-12-01 Thread Vincent Bourdier
Thanks a lot, Skybox in second or render first is the same result... Thanks for help. Regards, Vincent 2008/12/1 Andreas Lindmark [EMAIL PROTECTED] It is often better to draw the skybox last. 1. Opaque objects 2. Skybox 3. Transparent objects ATI has published a paper called Depth

Re: [osg-users] Render Bin, Transparency, ...

2008-12-01 Thread Jean-Sébastien Guay
Hi Vincent, Skybox in second or render first is the same result... See the article Andreas linked, it's not the same. Visually it is, but not in terms of z buffer. Plus, if you have expensive shaders on your skybox, rendering it first guarantees that they will be run for the whole screen,

Re: [osg-users] Render Bin, Transparency, ...

2008-12-01 Thread Vincent Bourdier
2008/12/1 Jean-Sébastien Guay [EMAIL PROTECTED] Hi Vincent, Skybox in second or render first is the same result... See the article Andreas linked, it's not the same. Visually it is, but not in terms of z buffer. Of course, I read it, and I just confirm that visually the render is the

Re: [osg-users] Render Bin, Transparency, ...

2008-11-28 Thread Vincent Bourdier
Sorry to insist, but I am surprised to see no answer ? Any suggestion or idea will be very appreciated. thanks a lot. Regards, Vincent 2008/11/28 Vincent Bourdier [EMAIL PROTECTED] Hi all, Looking in the archive I didn't found what I need, so this is the problem: I need to manage in

Re: [osg-users] Render Bin, Transparency, ...

2008-11-28 Thread Vincent Bourdier
Of *Vincent Bourdier *Sent:* Friday, November 28, 2008 8:14 AM *To:* osg *Subject:* Re: [osg-users] Render Bin, Transparency, ... Sorry to insist, but I am surprised to see no answer ? Any suggestion or idea will be very appreciated. thanks a lot. Regards, Vincent 2008/11/28 Vincent