I think there's a little bit of communication issue here. You are saying you want the look of symbol.jpg? How do you mean "rubber mode"? What is "rubber" about it?
You could possibly create a dummy quad with the background blue color on it that encompasses the screen-space bounding box of the green line, and render it after the black line but before the green one. Would that give you the effect you want? On Tue, Sep 11, 2018 at 12:50 PM Christoph Dohmen <[email protected]> wrote: > Hi all, > > I'm looking for some inspiration for solving the following 'problem': > Currently I'm drawing basic line geometries like in attachment line.png. > And I'm able to draw items above the geometries (combo.png). But the final > goal must be some kind of 'rubber mode' which makes the geometry > transparent and keeps the background (liek in symbol.png). > > What may be the technique to solve this? > > Thank you! > > Cheers, > Christoph > > ------------------ > Read this topic online here: > http://forum.openscenegraph.org/viewtopic.php?p=74703#74703 > > > > _______________________________________________ > osg-users mailing list > [email protected] > http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org > -- Chris 'Xenon' Hanson, omo sanza lettere. [email protected] http://www.alphapixel.com/ Training • Consulting • Contracting 3D • Scene Graphs (Open Scene Graph/OSG) • OpenGL 2 • OpenGL 3 • OpenGL 4 • GLSL • OpenGL ES 1 • OpenGL ES 2 • OpenCL Legal/IP • Forensics • Imaging • UAVs • GIS • GPS • osgEarth • Terrain • Telemetry • Cryptography • LIDAR • Embedded • Mobile • iPhone/iPad/iOS • Android @alphapixel <https://twitter.com/alphapixel> facebook.com/alphapixel (775) 623-PIXL [7495]
_______________________________________________ osg-users mailing list [email protected] http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

