Re: [osg-users] Custom cursor problem?

2019-09-24 Thread tom joe
Hi, I calculate cursor position in osgEarth. My Graph is like, osg::PositionAttitudeTransform (PAT) | | | \/ cursor Node the PAT's setPosition is computed from, Geopoint srcMap(src_SRS, lon, lat, height); srcMap.transform(dst_SRS, dstMap); dstMap.toWorld(SRS,

Re: [osg-users] Geometry Shininess and Color Array

2019-09-24 Thread Erik Hensens
Thank you AnyOldName3! Calling pMaterial->setColorMode(osg::Material::AMBIENT_AND_DIFFUSE) allowed me to use a color array on my geometry and set the shininess as well, just like I wanted to. I really appreciate your help! Thank you, Erik -- Read this topic online here:

Re: [osg-users] DEEP_COPY_USERDATA isn't that deep

2019-09-24 Thread Robert Osfield
Hi Chris, On Mon, 23 Sep 2019 at 17:33, Chris Djali wrote: > Good, but would the new enum entry be for the current behaviour or the new > behaviour? If the current behaviour is a bug, then it makes sense to only > keep the old behaviour as the new enum value so everyone gets the fix, but >

Re: [osg-users] How do I move a Texture in an model of Openflight format (.flt) in the UV direction?

2019-09-24 Thread Dae Woo Ryu
Hi, Nick Thanks to you, I got a lot of knowledge. This time the Texture is moving as I want. Thank you so much. Have a good Time Trajce Nikolov NICK wrote: > Here you go > > > https://pastebin.com/2uuUC2zL (https://pastebin.com/2uuUC2zL) > > > Let me know if the url works for you.

Re: [osg-users] How do I move a Texture in an model of Openflight format (.flt) in the UV direction?

2019-09-24 Thread Trajce Nikolov NICK
Cool! I just revisited the part of the code to set the texture parameters and here is how it should be set more efficiently and more proper if the model have assigned texture attribute on any level in the scenegraph https://pastebin.com/P9z98FYS On Wed, Sep 25, 2019 at 3:14 AM Dae Woo Ryu

Re: [osg-users] questions about developing drivers for osg/osgEarth

2019-09-24 Thread Chris Hanson
I'd like to help you a bit more, but I've been really slammed with another osgEarth client this week. If you're patient, I can probably help you more in a few days. On Mon, Sep 23, 2019 at 2:03 PM speter...@idealaero.com < speter...@idealaero.com> wrote: > Got shaders to work on geometry’s now