We have a slightly modified osgExp (based on a older osgExp) that does
just that.
We use the user properties for description of physical objects.
Unfortunately it contain some more things that are very specific to
our framework, as we parse the textual information using ConfigScript
(also available in ReplicantBody) so that we can write things such as:
Object {
PhysicalProperties {
Mass 1
Material 2
}
}
etc...
So during export it will catch syntax errors.
I have rar:ed our version here:
http://www.vrlab.umu.se/research/colosseum3d/material/osgexp.rar
You could probably rather easy extract the code that take the user
properties and convert it to Node description.
/Anders
On 4/26/07, Eric Maslowski <[EMAIL PROTECTED]> wrote:
In max you can add "User Properties". Right-click on your object, go to
properties, and click on "user defined" tab. These are accessible through
maxscript or the SDK during the export process.
Cheers
E.
---
Eric Maslowski
Research Computer Specialist
University of Michigan 3D Lab
Autodesk 3D Studio Max Certified Trainer
email: [EMAIL PROTECTED]
office: 734-615-9699
mobile: 734-730-9904
-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of alessandro
terenzi
Sent: Thursday, April 26, 2007 12:50
To: osg users
Subject: [osg-users] textual description of 3dsmax models
My task is to create a 3d model in 3dsmax and then use OSGExp plugin to
export it in osg. I'd like also to add a textual description to that model
in 3dsmax and, hopefully, it should be exported as well as the model...for
example it could correnspond to the 'description' attribute that I can see
in .osg files.
Actually, I'm not an expert of osg or 3ds, so:
1. is there a way to add a textual description to models in 3dsmax?
2. does the OSGExp plugin allows to export this description too?
Thanks.
Alessandro
_______________________________________________
osg-users mailing list
[email protected]
http://openscenegraph.net/mailman/listinfo/osg-users
http://www.openscenegraph.org/
--
________________________________________________________________
Anders Backman Email: [EMAIL PROTECTED]
HPC2N/VRlab Phone: +46 (0)90-786 9936
Umea university Cellular: +46 (0)70-392 64 67
S-901 87 UMEA SWEDEN Fax: +46 90-786 6126
http://www.cs.umu.se/~andersb
_______________________________________________
osg-users mailing list
[email protected]
http://openscenegraph.net/mailman/listinfo/osg-users
http://www.openscenegraph.org/