[osg-users] osg::Drawable vs osg::Geometry

Chris Hanson xenon at alphapixel.com
Sun Oct 21 11:26:40 PDT 2018


Suggesting the best approach would require you give us a little more detail
about what kind of custom object it is. Can you describe better what you're
trying to do, and less about how you are trying to do it?

On Sun, Oct 21, 2018 at 4:44 PM Noè Murr <nosba95 at yahoo.com> wrote:

> Hi,
>
> I need to draw a custom object in osg.
>
> To do that I have to choose between derive from class osg::Drawable and
> deriving from osg::Geometry.
>
> Which is the more efficient way to create a custom drawable object and
> why?
>
> Thank you!
>
> p.s. I'm new to osg, so I'm trying to understand the best practices.
>
> Cheers,
> Noè
>
> ------------------
> Read this topic online here:
> http://forum.openscenegraph.org/viewtopic.php?p=75105#75105
>
>
>
>
>
> _______________________________________________
> 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/20181021/cf740706/attachment.html>


More information about the osg-users mailing list