On 10/13/06, Jean-Sebastien Guay <[EMAIL PROTECTED]> wrote:
Hello Robert,

> The Inventor plugin isn't included in the OpenSceneGraph.dsw to avoid the
> external dependency breaking the build.

But the COLLADA plugin is enabled by default, and it has external dependencies
as far as I can see (meaning, it didn't build on my machine, needs "dae"
headers). Also, the osgsimpleviewer* examples are in the dsw too, and they also
have external dependencies (obviously).

The difference is these routes are the future and core to where the OSG is and is heading.

The Inventor plugin is really just to backwards compatibility that a small number of users may find useful.

I'd gladly do that but I can't seem to find where to go to create an account...
("password required" when I click the "Edit this page" link)

Password is simply "osg"
 

Just as an example, the introduction page:
http://www.openscenegraph.org/osgwiki/pmwiki.php/Introduction/Introduction
mentions an Inventor 2.0 ascii loader but does not mention that it requires an
external dependency.

There was once a ascii loader but it wasn't able to handle many files.  Its sitll available on the bizaar.

 

> One issue with making Coin the default is that fact that is GPL'd

That's right, Coin is GPL, I had forgotten that. Any suggestions on where to get
Inventor binaries and headers that work with VC8 then? Or at least, sources that
compile with little effort? I found
http://studierstube.icg.tu-graz.ac.at/openinventor/ but the binaries are
compiled with VC6 and the sources give me lots of errors, some of which I could
not solve without knowing more about how the code was written...

I'm afraid I have no pointers, I very rarely use Windows.  Perhaps others some suggestions.

SGI have pretty well orphaned their LGPL Inventor so my guess is that its basically just gathering dust.  Coin is at least being actively developed.

Inventor is really on its way out though.  The OpenSceneGraph is near to an order of magnitude more active than the Coin one.


> As for your particular task, why not get to grips with the .osg ascii, it
> really isn't that complex.

I'll check that out. It's mostly an issue of being able to add generic
properties to objects in the scene file. I gave reflectivity as an example,
another would be refraction index, or roughness, etc. The OpenGL display will
not be able to display those, unless I write custom shaders, which might be a
good option and then I would be able to pass those parameters as uniforms in
the scene file, hmmm... (light bulb lights up over head) :-)

You can add comment fields to OSG nodes, perhaps this will be of use.  And writing shaders is pretty easy.  Have a look at the glsl_*.osg examples in the OpenSceneGraph-Data distribution.

Robert.

_______________________________________________
osg-users mailing list
[email protected]
http://openscenegraph.net/mailman/listinfo/osg-users
http://www.openscenegraph.org/

Reply via email to