Re: [osg-users] How to add hello world/additional project to existing compiled OSG

2017-06-20 Thread Christian Buchner
For smaller projects, consider adding your own code as an additional "example" by extending the CMakeLists.txt file in the examples folder, and creating another subdirectory in it (possibly as a copy of an existing example project. Don't forget to edit its CMakeLists.txt file too). I found this a

[osg-users] Fwd: Check paging status

2017-06-20 Thread Hannes Naude
Thanks Mike, that got me on the right track. And for the benefit of future users with similar questions, I would just add that the osgautocapture example provides a nice example of how to use the osgDB::DatabasePager class that Mike refers to, to achieve exactly this. Regards Hannes --

[osg-users] Render objects in geographic coordinates (radians)

2017-06-20 Thread Bruno Oliveira
Hello, how can I render an object in geographic coordinates, i.e., XY are in radians and Z in meters? If I render it directly without performing any projection, my object is rendered as a stright line along the x axis (which makes sense, since the xy coordinates are contained in [-pi, pi]