Hi Cory,

Well, as I said, I'm not the one which can best answer you. However, I think 
using generated geometries in OSG is rather simple. It depends of course on how 
they are stored.

I suppose that a low-level code that adds each triangle into a geode would 
certainly not be very efficient, but at least would be the simplest and the 
less error-prone code that works with almost everything. Maybe you could try. 
If you write a kind of importer for files generated by a "geometry engine", 
think about proposing your work as a plugin (such as "osgDB_OpenCascadeFormat" 
if such a format exists).

But maybe your "geometry engine" can export models to a common format, 
supported by OSG? This would be a very simple solution, IMHO.

Sukender
PVLE - Lightweight cross-platform game engine - http://pvle.sourceforge.net/


Le Thu, 08 Jan 2009 16:07:10 +0100, Cory Riddell <[email protected]> a écrit:

> The geometry engine is the software that you use to do things like fuse or
> intersect solids, sweep 2d shapes along a curve to generate a 3d shape, etc...
> From these you get faces. lines and points that you pass on to something else 
> (like
> OpenGL) to render.
>
> Open Cascade is free and quite good. The ACIS kernel is what is at the heart 
> of
> AutoCAD. Parasolid drives Solidworks. I was looking for advice on using one of
> these geometry toolkits with OSG. I assumed it was a common configuration, 
> but I
> think I might be wrong about that.
>
> Cory
>
> Sukender wrote:
>
> Hi Cory,
>
> What do you mean by "geometry engine"? I guess you'll be able to easily 
> create a kind of exporter that converts your geometry to an OSG/OpenGL one. 
> Perhaps geometries would even be directly read and added to Geodes.
> I don't know HOOPS, but be aware that OSG is "only" (!) a scene graph (with 
> many features and plugins), but not a CAD/infrastructure/mining/whatever 
> software.
>
> Please tell us if you find useful things.
>
> Sukender
> PVLE - Lightweight cross-platform game engine - http://pvle.sourceforge.net/
>
>
> Le Wed, 07 Jan 2009 16:44:15 +0100, Cory Riddell <[email protected]> a écrit:
>
> 
>
> I'm looking for comments and suggestions for using OSG with a geometry
> engine like ACIS, Parasolid, or Open Cascade. Can they work well
> together? Is it a useful combination? The application is CAD-like and
> involves interactively building up a model from discrete components.
>
> I found OSG when looking for HOOPS competitors. Is it fair to compare
> HOOPS with OSG?
>
> Thanks,
> Cory
> 
>
>
> _______________________________________________
> osg-users mailing list
> [email protected]
> http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to