[osg-users] Tiff File to .Osg file conversion

2017-10-24 Thread Latha Rani Baddala
Hi, I am trying to use imagery file in osg,i am not able to read this imagery file.Elevation file(DEM)with .osg format is working,to read imagery file also in .osg format ,how to convert .tiff file into .osg file format? Thank you! Cheers, Latha -- Read this topic online h

Re: [osg-users] Tiff File to .Osg file conversion

2017-10-24 Thread Robert Osfield
Hi Latha, It's hard to work out exactly what you are trying to achieve and why. The .osg ascii format is a 3D model format, .tiff are for images+DEM's so aren't directly compatible, you have to convert the .tiff into some form of 3d. There are various ways of doing this but which way is appropri

[osg-users] model matrix

2017-10-24 Thread David Heitbrink
Instead of multiplying the modelview matrix by the inverse view matrix in the vertex shader, does any one have a workable solution to get the model matrix setup as a uniform to begin with? -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=72239#72239

Re: [osg-users] Tiff File to .Osg file conversion

2017-10-24 Thread Chris Hanson
I suspect that you probably want to use Virtual Planet Builder to convert your TIFF DEM elevation data into .osg (or .osgb) format for use in OSG applications. On Tue, Oct 24, 2017 at 1:06 AM, Latha Rani Baddala wrote: > Hi, > > I am trying to use imagery file in osg,i am not able to read this

[osg-users] Potential bug in ref_ptr::assign

2017-10-24 Thread Hartwig Wiesmann
Hi, in ref_ptr you find the following code: Code: template void assign(const ref_ptr& rp) { if (_ptr==rp._ptr) return; T* tmp_ptr = _ptr; _ptr = rp._ptr; if (_ptr) _ptr->ref(); // unref second to prevent any deletion of