| Thursday, April 12 2007 @ 06:35 PM EDT
Was comparing .OSG files output between 3dsMax and Blender. Mainly looking at how Max can do a multi-material object while Blender can not.
Something interesting I found is that when I split off the faces i wanted different texture on making a seperate object. Then created a material for that new part so I made several sub objects from the single one. Next I exported a .OSG file I could produce what seems to be a single multi-textured object by editing the file.
First you must make sure you've got just the pieces that make up your object selected, each with a single material on it, then .OSG export selected from in Blender.
Now open the .OSG file created and look for the "Geode' section on the first object listed, and change the number of Drawables equal to the number of parts you have.
Then for all other objects remove the lines shown, basically Maxtrix Transform through Geode section,
(Keep and eye on the brackets) and save the file back off.
I got it to show and act OK in both the Delta Viewer and Stage.
anyone out there handy with python?