[osg-users] Idea to implement a kind of 'rubber mode'

Chris Hanson xenon at alphapixel.com
Tue Sep 11 08:31:29 PDT 2018


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 <christoph.dohmen at cae.de>
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
> osg-users at lists.openscenegraph.org
> http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
>


-- 
Chris 'Xenon' Hanson, omo sanza lettere. Xenon at AlphaPixel.com
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]
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openscenegraph.org/pipermail/osg-users-openscenegraph.org/attachments/20180911/a3988ed5/attachment.html>


More information about the osg-users mailing list