Re: [osg-users] create Geometry

2010-11-22 Thread Alexander Moeller
That was exactly what i was looking for.

My goal is to read CATIA-files and display them with OSG. Up to now i could use 
a library to read these files. I got a pointer to the root of this file back, 
but this pointer was not compatible to OSG. So i walked the hole tree down to 
the points and tried to rebuild the geometric object with OSG.

For example: I have a plane with a hole defined by an inner and an outer loop. 
I want to rebuild it by creating two polygons and subtract one from another.

Greetings
Alexander

--
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=33918#33918





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


Re: [osg-users] create Geometry

2010-11-22 Thread Vincent Bourdier

Hi Alexander,

How do you get CATIA geometries ? do you use an external library ?

Thanks

Regards,
   Vincent

Le 22/11/2010 13:52, Alexander Moeller a écrit :

That was exactly what i was looking for.

My goal is to read CATIA-files and display them with OSG. Up to now i could use 
a library to read these files. I got a pointer to the root of this file back, 
but this pointer was not compatible to OSG. So i walked the hole tree down to 
the points and tried to rebuild the geometric object with OSG.

For example: I have a plane with a hole defined by an inner and an outer loop. 
I want to rebuild it by creating two polygons and subtract one from another.

Greetings
Alexander

--
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=33918#33918





___
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] create Geometry

2010-11-22 Thread Alexander Moeller
Yes, I do.

But my company didn't want to use it any longer. So i'm looking for 
alternatives.

Gruß Alexander

--
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=33920#33920





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


Re: [osg-users] create Geometry

2010-11-22 Thread Vincent Bourdier
Same thing here, the external libraries are not free and sometimes 
contains bugs/crash...
If you would share any progress on how is it possible to manage CATIA 
file with only free libraries, I would be very grateful and interested 
in helping you.


Regards,
Vincent.

Le 22/11/2010 14:07, Alexander Moeller a écrit :

Yes, I do.

But my company didn't want to use it any longer. So i'm looking for 
alternatives.

Gruß Alexander

--
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=33920#33920





___
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] create Geometry

2010-11-19 Thread Robert Osfield
Hi Alexander,

On Fri, Nov 19, 2010 at 8:26 AM, Alexander Moeller
alexander.moel...@tu-clausthal.de wrote:
 Is there a possibility to create a geometrical object bei subtracting an 
 object(or drawable or...) from another?

There is no constructional geometry code like you are asking for in
the OSG.  The OSG's focus is representing the scene and rendering it.

 And how can i create a polygon with a curved surface. For example a 
 cylindrical surface.

You can create a geometry in any way you want, however, unless you use
shaders it will be faceted though.  Create enough triangles and you
geometry will look pretty curved and the facets won't be visible
unless you are very close.  Most 3D applications have no problems with
this and I'd expect your application will be the same.

I don't really know how much you know about OpenGL/graphics cards/3D
rendering so can't guess at what level to pitch explanations at you.
Perhaps if you could explain more what you are trying to achieve then
others will know how to point you in the right direction.

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


Re: [osg-users] create Geometry

2010-11-19 Thread Jean-Sébastien Guay

Hello Alexander,


Is there a possibility to create a geometrical object bei subtracting an 
object(or drawable or...) from another?

And how can i create a polygon with a curved surface. For example a cylindrical 
surface.


In addition to Robert's explanations I will add that you could have a 
look at the osgModeling nodekit (add-on library for OSG)


http://code.google.com/p/osgmodeling/

It supports creating polygonal geometry from NURBS, Bezier surfaces, 
extrusions, revolutions, lofts, subdivision surfaces, and more. It also 
supports geometric boolean operations.


This nodekit was started by Wang Rui (active user on this mailing list) 
and I expect it can be very useful to you. However as Robert said we're 
trying to help as much as we can based on the short description of what 
you're looking for, so if you want more specific help you should 
describe what you want to do in more detail.


Hope this helps,

J-S
--
__
Jean-Sebastien Guayjean-sebastien.g...@cm-labs.com
   http://www.cm-labs.com/
http://whitestar02.webhop.org/
___
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org