Re: [osg-users] osgUtil::Tessellator not working with double precision

2012-04-04 Thread Robert Osfield
012/4/4 rcyboom :
> Hi,
> In my here,once inclued "osgUtil/Tessellator" , the project can't be
> compiling.it make some errors,some 'Key word' like [GLU] [INT].
> vs2008+osg3.01+ qmake(QtCreator).

I'm afraid this makes no sense to me, and I can't image anyone else
having a clue to what you are talking about either. If you have
compile problems then use a separate thread and be clear what the
error is.

Robert.
___
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org


Re: [osg-users] osgUtil::Tessellator not working with double precision

2012-04-04 Thread Robert Osfield
Hi Preet,

On 4 April 2012 01:10, Preet  wrote:
> I need Vec3d precision for my geometry. I spent a long time trying to
> figure out why tessellator wouldn't work at all on my data, until I
> changed all of my Vec3d's to 'Vec3' on a whim. Now it works fine...
> but the issue still remains. How can I use double precision with
> tessellator?

Support for Vec3d's for geometry in the OSG is relatively new thing
and not all elements support them, Tessellator included.  Internal the
GLU tessellator does use double vertices so there is the potentially
for adding support for Vec3dArray into osgUtil::Tessellator, however,
one will need to modify the internals in a number of places to make
this possible.

As a general comment Vec3d's for geometry will still be very very
inefficient to render on almost all graphics hardware so it's not
recommend to use double for geometry for anything other than importing
GIS data.  Once the data is in the scene graph it's best to decorate
your subgraph MatrixTransform the places a subgraph into it's final
position in space, whilst the subgraph is moved to local coordinate
frame.

Robert.
___
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org


Re: [osg-users] osgUtil::Tessellator not working with double precision

2012-04-03 Thread rcyboom
Hi,
In my here,once inclued "osgUtil/Tessellator" , the project can't be 
compiling.it make some errors,some 'Key word' like [GLU] [INT].
vs2008+osg3.01+ qmake(QtCreator).





At 2012-04-04 08:10:32,Preet  wrote:
>Hiya,
>
>I need Vec3d precision for my geometry. I spent a long time trying to
>figure out why tessellator wouldn't work at all on my data, until I
>changed all of my Vec3d's to 'Vec3' on a whim. Now it works fine...
>but the issue still remains. How can I use double precision with
>tessellator?
>
>
>Regards
>
>Preet
>___
>osg-users mailing list
>osg-users@lists.openscenegraph.org
>http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
___
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org


[osg-users] osgUtil::Tessellator not working with double precision

2012-04-03 Thread Preet
Hiya,

I need Vec3d precision for my geometry. I spent a long time trying to
figure out why tessellator wouldn't work at all on my data, until I
changed all of my Vec3d's to 'Vec3' on a whim. Now it works fine...
but the issue still remains. How can I use double precision with
tessellator?


Regards

Preet
___
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org