Hi J-S,

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

As for documentation not being up to date, or accurate, could you provide links, so that they can be tracked down and updated, or perhaps just update them youself - the whole website is a wiki.

One issue with making Coin the default is that fact that is GPL'd, to use it in non GPL'd applications you either need to buy a commericial license, or hire a lawyer to thread your way through the ins and outs of whether the GPL license lack of runtime restrictions  effects dynamically loaded plugins. 

The GPL's actually states that it doesn't cover runtime, only copying (its a copyright) and if your main applications doesn't link directly to the plugin or Coin then isn't limited by the GPL of the plugin - only the plugin itself has to be GPL.  My guess is that Systems in Motion wouldn't be too happy about this though, its likely not what they intend with use of the GPL.

As for technical side of the plugin, I'm not the author of it, and don't use it too much.  Its open source so feel free to modify it as long as you comply with the licensing :-)

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

The other route would be to use something like a Lua wrapper for the OSG and set up your custom scene graph use Lua as a configuration file.

Robert.


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

I would like to be able to read Inventor .iv files (mostly because I find them
easy to write small test cases that give exactly what I want).

First of all, maybe the docs need to be updated on these two issues:
1. On Win32, the Inventor plug in is not in the Visual Studio solution file by
default. I had to copy (for example) the ive plug in and modify it so it would
compile the Inventor plug in.
2. You need the actual Inventor headers and libs to be able to compile and link
the plug in.

The reason I think the docs should be updated is that all the docs I read before
downloading OSG (features, FAQ, etc.) gave the impression that Inventor files
were readable by default. Maybe I just didn't find the right docs; if that's
the case, you can ignore this suggestion...

While we're at it, maybe the docs could point to Coin3d as the library of choice
to compile this plug in. I spent a lot of time trying to find Win32 Inventor
binaries or source that compiled without too much fuss on Windows, and
everything I found was either compiled with VC6 (therefore didn't work with VC7
or VC8) or the sources wouldn't compile at all (missing C language features,
etc.). With Coin all went well (they have binary packages for VC6, 7 and 8).


Now my real question: Is is possible to tell the plug in to simply skip invalid
lines in the Inventor file? Or add a callback for those invalid tokens? The
reason I ask is that I am building a hybrid raytracer on top of OSG, and some
material properties and other things cannot be specified by default in an
Inventor file. For example, I would like to add a "reflectivity (float)"
parameter in a material node, but if I do the reader complains and refuses to
load the rest of the file.

Is something like this possible, or would I need to make my own plug in to do
this?

Thanks in advance,

J-S
--
______________________________________________________
Jean-Sebastien Guay     [EMAIL PROTECTED]
                        http://whitestar02.webhop.org/
_______________________________________________
osg-users mailing list
[email protected]
http://openscenegraph.net/mailman/listinfo/osg-users
http://www.openscenegraph.org/

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

Reply via email to