		Inventor Demo Sourcecode
		------------------------

The demo code in /usr/share/doc/inventor-demo/src comes out of the
Inventor source code package.  Briefly, the contents of each directory
is as follows.

    apps/examples	
	source examples from the Inventor books, "The Inventor Mentor"
	and "The Inventor Toolmaker"

    apps/nodes
	unsupported Open Inventor nodes

    apps/samples
	interesting "simple and sloppy" sample programs

    apps/tools/ivAddVP
	converts inventor files to inventor v2.1 files that
	use the Vertex Property node

    apps/tools/ivnorm
	compute face normals for each SoIndexedFaceSet node that does
	not have a normal

    apps/tools/ivperf
	analyzes rendering performance of an inventor scene

    make
	rules used in the example make files



		Compiling Demos
		---------------

** NOTE: 
	Many of the programs are written using "void main" which GCC
	no longer accepts.  Simply change the code to return int.
	I'll eventually fix this, but a patch would be most welcome.

The inventor-dev package must be installed.

Many of the examples can be built by simply copying the source code
(un-gzipping, if necessary) and then running the g++ on all the
files, e.g.

	g++ *.c++ -lInventor -lInventorXt

Data files are provided and source files have been modified to load
data files from a path relative to the resulting binary.  GNUmakefiles
are provided, which include files in the "src/make" directory.
Therefore, the complete directory structure must be preserved.  One
way to use them is as follows.

	cp -a /usr/share/doc/inventor-demo/src .
	find src -name '*.gz' | xargs gunzip
	cd src/apps
	make -C nodes
	make -C tools/ivperf


 -- Steve M. Robbins <smr@debian.org>, Sat,  8 Apr 2006 01:31:02 -0400
