Ulrich Hertlein wrote:
> Hi Franco,
>
> From the png I understand that you have a Group with Geodes A and B.
> The effect will *always* be applied to the entire node that it's attached to,
> so if you
> want to have the outline only on A or B then you must attach the effect to A
> or B, not
robertosfield wrote:
> Hi GG,
>
>
> I'm not the author of osgFX::Outline so the only way for me to give you more
> information would be to reach through the code myself and then pass on my
> interpretation. This is something you can do too, and would recommend as you
> are the one that
Hi Franco,
From the png I understand that you have a Group with Geodes A and B.
The effect will *always* be applied to the entire node that it's attached to,
so if you
want to have the outline only on A or B then you must attach the effect to A or
B, not the
parent Group.
Hope this helps.
Hi GG,
I'm not the author of osgFX::Outline so the only way for me to give you
more information would be to reach through the code myself and then pass on
my interpretation. This is something you can do too, and would recommend
as you are the one that wants to learn about it.
As a general note,
robertosfield wrote:
> Hi GG,
>
>
> When you switch off fixed function lighting via GL_LIGHTING you change the
> way that OpenGL's fixed function pipeline is configured so it no longer uses
> the glMaterial/osg::Material values and only uses the glColor/ColorArray
>
robertosfield wrote:
> Hi GG,
>
>
> When you switch off fixed function lighting via GL_LIGHTING you change the
> way that OpenGL's fixed function pipeline is configured so it no longer uses
> the glMaterial/osg::Material values and only uses the glColor/ColorArray
>
Hi GG,
When you switch off fixed function lighting via GL_LIGHTING you change the
way that OpenGL's fixed function pipeline is configured so it no longer
uses the glMaterial/osg::Material values and only uses the
glColor/ColorArray (osg::Geometry::setColorArray(..) values.
Robert.
On Wed, 28
Hi,
I add a ShapeDrawable whose GL_LIGHTING was set OFF to osgFX::Outline.
I found the border generated by stencil diplayed as ShapeDrawable's color
rather than the color I set to osgFX::Outline. When I set GL_LIGHTING ON, it
displayed correctly.
Then I tested with "cow.osgt" whose GL_LIGHTING
8 matches
Mail list logo