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).
Each project is separate, so the whole build won't break if 4 projects out of
160 don't compile. At least that's how it happened for me. COLLADA,
osgsimpleviewerQT3, osgsimpleviewerQT4 and osgsimpleviewerFLTK didn't compile,
but the rest is fine (DLLs and libs all created as expected).
An alternative might be to actually have project files (.vcproj/.dsp) that exist
(which was not the case for the Inventor plugin) and just not add them to the
solution file if they have external dependencies that are not expected to be
there by default (or strictly required, like for freetype, libjpeg, libpng
etc.). Then it would be pretty easy to add it if you need it and have the
necessary dependencies.
> 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.
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)
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.
> 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...
> 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) :-)
Thanks,
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/