Hi Kristofer,
StateSet::serRenderingHint pre-dates StateSet::setRenderBinDetails()
and was kept for backwards compatibility and ease of use, as you say
it overrides previous calls to RenderBinDetails as it actually calls
RenderBinDetails itself.
Robert.
On 21 May 2018 at 16:29, Kristofer Krus w
Hi Robert,
Thanks for your reply.
The problem was that setRenderingHint(osg::StateSet::TRANSPARENT_BIN) was
called after I called setRenderBinDetails. While I checked that
setRenderBinDetails was not called anywhere else in the code, I didn't know
that you could also choose render bin through
Hi Kirs,
I'm afraid I'm too busy with other work right now to spend lots of
time reading other various posts on topic, or provide long essays on
here on the topic.
In short:
There is only one default RenderBin in the OSG, that's the main
RenderStage (subclasses from RenderBin).
The StateSet::se
Hi again robertosfield, I took a look at the code you posted at this thread
(http://forum.openscenegraph.org/viewtopic.php?t=17289), and it gave me some
further questions.
According to this code, there seems like there are six default rendering bins,
and I don't see that any numbers are associa
Chris Hanson wrote:
> You might also look at OSGTransparencyToolkit.
> http://alphapixel.com/project/osg-transparency-toolkit/
> (http://alphapixel.com/project/osg-transparency-toolkit/)
>
> There are several Order Independent Transparency implementation out there
> that let you not worry abou
You might also look at OSGTransparencyToolkit.
http://alphapixel.com/project/osg-transparency-toolkit/
There are several Order Independent Transparency implementation out there
that let you not worry about the object draw order.
On Fri, May 18, 2018 at 10:04 AM, Kristofer Krus
wrote:
> Hi,
>
>
Hi,
Thanks for the reply Robert! I think the concept of render bin sounds logical,
but I'm slightly confused about how RenderBins work in OSG (OpenSceneGraph).
I’ve tried to find information about what RenderBins are and how to use them,
but what I’ve been able to find so far has been limited,
Hi Kristofer,
On 18 May 2018 at 14:42, Kristofer Krus wrote:
> I have two geometries, A and B, that are both translucent, of which A should
> always be rendered before B because it is farther from the camera
> fragment-wise. However, OpenSceneGraph sometimes renders A first and
> sometimes ren
Hi,
I have two geometries, A and B, that are both translucent, of which A should
always be rendered before B because it is farther from the camera
fragment-wise. However, OpenSceneGraph sometimes renders A first and sometimes
renders B first, depending on the viewing angle, which, when B is ren
9 matches
Mail list logo