How can i pass some data with 3dsmax objects?

ahmadi

17-05-2008 08:16:53

Hi
Note: in following text i mean "data" as (propertyname, propertyvalue).
I want pass some data with 3dsmax objects to oFusion.
Now im using object name, but object name is limit !
for example i want pass following data with each 3dsmax object:

propertyname propertyvalue
----------------------------------------
objectMaxSize 20
objectPrerequisite object1
objectAfterHitTexture ali.bmp
....

Note:I dont want to use any other auxiliary text/data file !
Note:Im using osm export format.
Note:A good solution seems that oFusion keep a field with object such as custom data.

Thanks

Evak

17-05-2008 15:10:44

Ofusion pro lets you do this with the scene loader, and includes a serializer library so you can save out scenes too.

I havent used the community edition in a couple of years, so I'm not sure user defined object preferences are supported in the basic version.

ahmadi

17-05-2008 16:36:02

Ofusion pro lets you do this with the scene loader, and includes a serializer library so you can save out scenes too.

I havent used the community edition in a couple of years, so I'm not sure user defined object preferences are supported in the basic version.

I want use oFusion for non-commercial use, can i use oFusion pro?
if yes, then where can i download it?

Evak

17-05-2008 17:24:06

Ofusion pro is the full blown commercial version which costs money but benefits game developers imensely whilst the free CE version is a cut down version thats best used for mostly static scenery and basic game mechanics.

If you want to buy ofusion you have to PM Lioric or email him through the Ofusion web site.

ahmadi

17-05-2008 17:42:26

Ofusion pro is the full blown commercial version which costs money but benefits game developers imensely whilst the free CE version is a cut down version thats best used for mostly static scenery and basic game mechanics.

If you want to buy ofusion you have to PM Lioric or email him through the Ofusion web site.

1.What is limitation of version CE comparing to Pro ?
There is no thing in the oFusion site, or i can not find.
2.There is no other way(in CE version) that i pass a few data with my 3dsmax objects?

Lioric

20-05-2008 00:29:35

In CE you can link 'property placeholder objects' (a simple box) to your object (as a hidden scene objects) and then you can have any number of properties for each object in the scene (use the same method that you are using now, using the name field to store props, but with the linked placeholder objects)

Then when loading the scene you will be notified of the property placeholder objects (or after the scene is loaded you parse the objects and its linked nodes) and remove them from the scene or hide them or handle them as needed in your application, and keep the properties from the placeholder object names (parse the names to contruct the key value pairs)

A maxscript can be created easily to handle all this transparently (dont need to add or remove, link or unlink 'placeholder objects' manually) and to display, add and modify object properties and its values (this maxscript will parse the selected object for linked 'placeholder object' and parse its name to display the properties, and can add new properties, hidden linked objects with the name value prop as its name)

In the Pro version any kind of property is currently supported, using Object User properties, custom advanced properties, extended OSM scene formats (to automatically add your custom scene data, per object or global scene metadata at export time) or even custom Scene File Formats (to produce scenes with your own scene file format and data)