[osg-users] Pb with PlaneIntersector

2008-11-26 Thread a.lagnier
Hi,

osgUtil::PlaneIntersector seems to return some bad polylines. This polylines 
belong to parallel planes!! It's very strange.
Any idea of what happen?


Thanks in advance

Aude Lagnier

 Créez votre adresse électronique [EMAIL PROTECTED] 
 1 Go d'espace de stockage, anti-spam et anti-virus intégrés.
___
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org


[osg-users] LineSegmentIntersector and line width

2008-11-21 Thread a.lagnier
Hi,

I'm using osgUtil::LinesegmentIntersector to pick objects from my scene.
It works all fine except Geode containing line geometry (with LineWidth 
stateset). But, I want to pick somes thick lines, how can I do?

Thanks in advance!

Aude



 Créez votre adresse électronique [EMAIL PROTECTED] 
 1 Go d'espace de stockage, anti-spam et anti-virus intégrés.
___
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org


Re: [osg-users] Normals and setScale

2008-11-20 Thread a.lagnier

 GL_RESCALE_NORMALS is undefined in gl.h ...



> Message du 20/11/08 10:09
> De : "Smeenk, R.J.M. (Roland)"
> A : "OpenSceneGraph Users"
> Copie à :
> Objet : Re: [osg-users] Normals and setScale
>
> If your initial normals are correctly normalized you may  also use 
> GL_RESCALE_NORMALS. This will rescale the normals instead of the more  
> expensive normalization that is done when GL_NORMALIZE is  enabled.   -- 
> Roland
>   From:[EMAIL PROTECTED][mailto:[EMAIL PROTECTED] On Behalf 
> Of SergeLages
> Sent: donderdag 20 november 2008 10:03
> To:a.lagnier; OpenSceneGraph Users
> Subject: Re: [osg-users] Normals andsetScale
> 
>Hi,
>
> Just make a search on GL_NORMALIZE on this list andyou'll get your 
> answer. :)
>
>On Thu, Nov 20, 2008 at 10:00 AM, a.lagnier <[EMAIL PROTECTED]>wrote:
> Hi,
>
> When I call setScale() on an pat. Its normals seem to  be affected. I 
> want to keep normalization of normals. How can I solve this  problem?
> 
I will appreciate any hints.
>
> Thanks  you
>
>
>
> Créez votre adresse  électronique [EMAIL PROTECTED]
> 1 Go d'espace de stockage,  anti-spam et anti-virus  intégrés.
>
> ___
> osg-users  mailing list
> osg-users@lists.openscenegraph.org
> http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
>
> 
>

> --
> Serge Lages
> http://www.tharsis-software.com
> This e-mail and its contents are subject to the DISCLAIMER at 
> http://www.tno.nl/disclaimer/email.html >
> [ (pas de nom de fichier) (0.2 Ko) ]

 Créez votre adresse électronique [EMAIL PROTECTED] 
 1 Go d'espace de stockage, anti-spam et anti-virus intégrés.
___
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org


[osg-users] Normals and setScale

2008-11-20 Thread a.lagnier
Hi,

When I call setScale() on an pat. Its normals seem to be affected. I want to 
keep normalization of normals. How can I solve this problem?
I will appreciate any hints.

Thanks you



 Créez votre adresse électronique [EMAIL PROTECTED] 
 1 Go d'espace de stockage, anti-spam et anti-virus intégrés.
___
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org