Re: [osg-users] writeNodeFile with texture infomation

2016-09-18 Thread Han Hu
I have figured out a solution. The steps are as the following, the core file for the solution lies in OutputStream::writeImage function. 1. To write a image (e.g., *.jpg) inside a file, we need the WRITE_INLINE_FILE mode, which is set by Code: osgDB::Options options; options.setOptionString("

[osg-users] Mapping world cordinates to screen cordinates

2016-09-18 Thread Suraj Paul
Hi, I am trying to find out what is the screen cordinates corresponding to the world cordinates of a moving node. I read the post: http://forum.openscenegraph.org/viewtopic.php?t=2292 and referred to OSG beginners guide also. So, I did the following:- //set viewport of viewer for screensize

Re: [osg-users] osg_Vertex with GL compatibility profile

2016-09-18 Thread Robert Osfield
On 17 September 2016 at 18:39, Sebastian Messerschmidt wrote: > Hi Ravi, > > Thanks Robert! > > So do you know why using osg_Vertex works *without* using > setUseVertexAttributeAliasing() on so many machines? I am compiling OSG with > GL2 (no GL3 flags) on all machines. Is it just "undocumented be

Re: [osg-users] Feedback/guidance sought on move of osgQt out into it's own project/repository

2016-09-18 Thread Robert Osfield
HI Mathieu, On 18 September 2016 at 01:49, Mathieu MARACHE wrote: > I cloned tom's attempt to reduce history : > https://github.com/blobfish/osgQtCleaned01 > > I'm now in the process of simplifying a bit some things, finding OT, OSG, > etc. I've just had a quick look at your osgQt repository, it

Re: invalid use of incomplete type ‘std::ifstream in readNodeFile

2016-09-18 Thread kyungsoo hong
Hi, Finally succeed to work once I used find_package, error of "invalid use of incomplete type" ‘std::ifstream is gone ... Thank you! Cheers, kyungsoo -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=68651#68651 __

[osg-users] Creating HUD with trihedron and trackball sphere

2016-09-18 Thread Bruno Oliveira
Hello, I have a 3D model viewer using a TrackballManipulator for manipulating my view with the mouse. I created a custom HUD that has a simple sphere representing a trackball, but this is extremely painful, and I'm almost sure something like this already exists anywhere. The idea is to have a tr