Re: [osg-users] gluDisk - how with OSG?

2012-12-10 Thread Carlos Reig Matut
Hi David,

I don't know if it is the best solution, but you can use an
osg::Drawable using an osg::Cylinder with low height as shape.

Cheers,
Carlos

On 10 December 2012 08:46, DavidHornung horn...@googlemail.com wrote:
 Hello,

 in OpenGL i used gluDisk to drow a disk - how to do it in OSG

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



-- 
--
Carlos Reig Matut
LSyM - Instituto IRTIC
Universidad de Valencia

Ph. +34 96 354 3639 -- ext. 43639
http://irtic.uv.es/lsym
___
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org


Re: [osg-users] gluDisk - how with OSG?

2012-12-10 Thread DavidHornung

Hi,

Thanks, that would be an solution, but a disk is defined to have a hole 
in the middle, how to get this?


cheers,
David

Hi David,

I don't know if it is the best solution, but you can use an
osg::Drawable using an osg::Cylinder with low height as shape.

Cheers,
Carlos

On 10 December 2012 08:46, DavidHornung horn...@googlemail.com wrote:

Hello,

in OpenGL i used gluDisk to drow a disk - how to do it in OSG

cheers,
David
___
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


Re: [osg-users] gluDisk - how with OSG?

2012-12-10 Thread Carlos Reig Matut
Hi,

I suppose that you will need to implement your own Shape child class.

On 10 December 2012 10:20, DavidHornung horn...@googlemail.com wrote:
 Hi,

 Thanks, that would be an solution, but a disk is defined to have a hole in
 the middle, how to get this?

 cheers,
 David

 Hi David,

 I don't know if it is the best solution, but you can use an
 osg::Drawable using an osg::Cylinder with low height as shape.

 Cheers,
 Carlos

 On 10 December 2012 08:46, DavidHornung horn...@googlemail.com wrote:

 Hello,

 in OpenGL i used gluDisk to drow a disk - how to do it in OSG

 cheers,
 David
 ___
 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



-- 
--
Carlos Reig Matut
LSyM - Instituto IRTIC
Universidad de Valencia

Ph. +34 96 354 3639 -- ext. 43639
http://irtic.uv.es/lsym
___
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org


Re: [osg-users] gluDisk - how with OSG?

2012-12-10 Thread Paul Martz

The osgWorks project has a makeCircle function that will create a solid disk.

To create a disk with a hole in it, use the makeOpenCylinder function with a 0.0 
length and different radii for the cylinder ends.


osgWorks is here:
osgworks.googlecode.com

   -Paul


On 12/10/2012 2:20 AM, DavidHornung wrote:

Hi,

Thanks, that would be an solution, but a disk is defined to have a hole in the
middle, how to get this?

cheers,
David

Hi David,

I don't know if it is the best solution, but you can use an
osg::Drawable using an osg::Cylinder with low height as shape.

Cheers,
Carlos

On 10 December 2012 08:46, DavidHornung horn...@googlemail.com wrote:

Hello,

in OpenGL i used gluDisk to drow a disk - how to do it in OSG

cheers,
David
___
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 mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org


[osg-users] gluDisk - how with OSG?

2012-12-09 Thread DavidHornung

Hello,

in OpenGL i used gluDisk to drow a disk - how to do it in OSG

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