[osg-users] Render to texture ONLY?

Chris Thomas cthomas at soasta.com
Thu Aug 18 07:47:54 PDT 2016


Hi,

OK, I based my initial integration into my app on osgteapot.cpp. As with all the other examples, it os run via

viewer.run();

And this creates an output window in OSX (and I am assuming any other OS its run on). And thats the issue I have, I need OSG to run "headless", that is to say, producing no visible window in the OS.

If OSG is rendering away, to a non visible buffer, I can then expose this to the user via my UI api (see above). Having this visible viewer, is the issue right now. Is there an option to run viewer with no visible display/window, or is there an alternative to viewer() ?

Thank you!

Cheers,
Chris

------------------
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=68420#68420








More information about the osg-users mailing list