Re: [osg-users] Handling double precision data: node's meta-data or plugin data or what?

2014-11-03 Thread Mike Connell
Hi! I would: 1 Read your data into a Vec3Darray - as doubles 2 Decide upon a local origin - "best" may be the centroid of your data, but the first point is somewhat quicker to find. 3 Subtract the local origin from all the points in your array - they are now still doubles, but each is a much smal

[osg-users] 答复: Please send me GEOS static and dynamic libraries based on 64bit Windows

2014-11-03 Thread Glen
Hello, Chris Thanks a lot for your help and correction of my English. Once you build these libraries, please send them to me via first_...@21cn.com Glen As Robert says, this isn't the osgEarth forum, and "demand" is a poor translation into English. I think "request" is the word

Re: [osg-users] Please send me GEOS static and dynamic libraries based on 64bit Windows

2014-11-03 Thread Chris Hanson
As Robert says, this isn't the osgEarth forum, and "demand" is a poor translation into English. I think "request" is the word you should be using. I might be able to help you obtain the GDAL+GEOS libraries, but I haven't successfully made a 64-bit build of them yet, so you may have to wait a bit.

Re: [osg-users] Please send me GEOS static and dynamic libraries based on 64bit Windows

2014-11-03 Thread Glen
Sorry Robert, I demand GEOS libraries here because they are dependency libraries for OSGEarth. Glen Hi Glen, Please use an appropriate forum for GEOS support. The OSG doesn't have anything to do with GEOS so it's not an appropriate plase to go demanding libs for. Robert.

Re: [osg-users] [osgPlugins] bug stl pugin?

2014-11-03 Thread Michael Grey
This might be related to an issue that I'm currently having. It seems that during the transition from 3.0 to 3.2, binding per primitive was deprecated, but the STL format binds its normal vectors per primitive. To deal with this, there was an ad hoc addition to the STL plugin where the normals o

Re: [osg-users] model rendering glitch on osg versions > 3.0.1

2014-11-03 Thread Michael Grey
Hi, Robert Thanks for your advice! I finally got back to this issue, and did as you recommended. I loaded a few of the STL files in the osgviewer application, and it had similar strange coloring problems (as seen in the attachment). As you recommended, I looked at the change in the source code

Re: [osg-users] Handling double precision data: node's meta-data or plugin data or what?

2014-11-03 Thread Émeric MASCHINO
Hi Robert, 2014-10-31 14:50 GMT+01:00 Robert Osfield : > If you really do need to handle double data then the best way is to load it > in doubles then post process the loaded subgraph to convert the double data > to floats in the way that is appropriate for that data - such as decorating > subgrap

Re: [osg-users] ShaderComposer and some missing features

2014-11-03 Thread Robert Osfield
HI Sebastian, On 3 November 2014 10:55, Sebastian Messerschmidt < sebastian.messerschm...@gmx.de> wrote: > I know the topic is old. But I'm facing some problems with my approach > and have some observations (like _shaderCompositionDirty never being set to > false). > Would you be so kind to giv

Re: [osg-users] PolytopeIntersector and LineSegmentIntersector

2014-11-03 Thread Peter Hrenka
Hi Gianni, On 03.11.2014 11:47, Gianni Ambrosio wrote: > Hi Peter, > thank you for the fast reply. > > I need some clarifications about question 1. > In my application I will use the "picked" point to calculate, and then show, > the arclength of a path, i.e. the length of the path from start to

Re: [osg-users] PolytopeIntersector and LineSegmentIntersector

2014-11-03 Thread Gianni Ambrosio
Hi Peter, thank you for the fast reply. I need some clarifications about question 1. In my application I will use the "picked" point to calculate, and then show, the arclength of a path, i.e. the length of the path from start to the picked point. So I would not need to show coordinates to the us

Re: [osg-users] [MASSMAIL] PolytopeIntersector and LineSegmentIntersector

2014-11-03 Thread Peter Hrenka
Hi Gianni, On 03.11.2014 10:37, Gianni Ambrosio wrote: > Hi All, > I'm trying to handle mouse movements to show some informations to the user. > I have basically two questions. > > 1) Lookig at "osgkeyboardmouse.cpp" example found the following code: > > Code: > > if (_useWindowCoor

Re: [osg-users] PolytopeIntersector and LineSegmentIntersector

2014-11-03 Thread Christian Buchner
Hello Gianni, 2) line geometry is infinitely thin. To create an exact intersection with another line in floating point precision is like winning the lottery. You will want to use PolytopeIntersector to intersect with non-polygonal geometry instead. 2014-11-03 10:37 GMT+01:00 Gianni Ambrosio : >

[osg-users] PolytopeIntersector and LineSegmentIntersector

2014-11-03 Thread Gianni Ambrosio
Hi All, I'm trying to handle mouse movements to show some informations to the user. I have basically two questions. 1) Lookig at "osgkeyboardmouse.cpp" example found the following code: Code: if (_useWindowCoordinates) { // use window coordinates

Re: [osg-users] Please send me GEOS static and dynamic libraries based on 64bit Windows

2014-11-03 Thread Robert Osfield
Hi Glen, On 3 November 2014 08:26, Glen wrote: > > Hello All, > > I met a problem in building GEOS project based on 64-bit Windows. > If anyone has GEOS static and dynamic libraries, please send them via Email. > > Please use an appropriate forum for GEOS support. The OSG doesn't have

[osg-users] Please send me GEOS static and dynamic libraries based on 64bit Windows

2014-11-03 Thread Glen
Hello All, I met a problem in building GEOS project based on 64-bit Windows. If anyone has GEOS static and dynamic libraries, please send them via Email. Thanks a lot Glen ___ osg-users mailing list osg-users@lists.openscenegraph.org h