Hi Carsten, thanks again,
I've found OSGLogicOpChunk.h
But when trying to link my program I get an error.. the object for
OSGLogicOpChunk doesnt seems to be within the osg library..
LineDecorator.obj : error LNK2019: unresolved external symbol
"__declspec(dllimport) public: void __thiscall osg::LogicOpChunkBase
The documentation doest not contains any info about it neither...
Im using OpenSG 1.8 here..
Any idea?
On Thu, Jun 5, 2008 at 1:16 PM, Carsten Neumann <[EMAIL PROTECTED]>
wrote:
> Hello Pablo,
>
> Pablo Carneiro Elias wrote:
> > Hi. Is there a way of drawing things within the viewport using a
> > glLogicOp(*GL_XOR*); like operator? I've found anything like this within
> > the StateChunks classes...
>
> glLogicOp is covered by OSG::LogicOpChunk.
>
> > I need to render a 2d line over the viewport and the line must compose
> > its white color with the background color using XOR operator....
>
> hm, I don't think there is a foreground that does lines, but there is
> PolygonForeground which draws a single GL_POLYGON with a given material.
> Another alternative is to use a second viewport on top of your regular
> one and have that render a scene with only the line seen through an
> ortho camera.
>
> Hope it helps,
> Carsten
>
> -------------------------------------------------------------------------
> Check out the new SourceForge.net Marketplace.
> It's the best place to buy or sell services for
> just about anything Open Source.
> http://sourceforge.net/services/buy/index.php
> _______________________________________________
> Opensg-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/opensg-users
>
-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
_______________________________________________
Opensg-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/opensg-users