Jump to content

Node File Import


photo

Recommended Posts

Posted

Hi, as part of our Evaluation we are currently trying to export a scene from 3ds max with many objects, as a node file.

 

i am then loading this in the Unigine editor by going to the Add a Node button - Import node dialog.

I do get all my meshes coming in to the editor at this point, however i have the following problem - they have no materials.

 

I notice there is a .mat file also created when i export, but i cannot load this to a material library , or assign it to my meshes in any way.

 

The documentation has no information about how to import and use node files and material files once exported from 3ds max.

 

I would be most grateful if someone could explain this process for me.

 

*note, i also had lots of problems with getting this to work as i was exporting to a folder i had made on my C: drive.. it was not until i tried putting my export files into C:\Program Files\Unigine\Evaluation Kit\data\demos folder that i had any sucess loading the node file.

 

I think the documentation on this process needs some work.

 

Regards

 

Shane

 

Sydac Pty Ltd.

Posted

hi there - For best results import the material library first. I don't have a copy of unigine on hand but if you open the material editor in unigine (press m). There will be a button to open a list of material libraries in use add your mat file to this list. Then add the Node file to the level. Unigine should pick up the mat library automatically when you load the .node file but there are some instances where this doesn't work properly.

Posted

Thanks for the reply, but the problem i am currently having is that i cannot seem to get the .mat file into the editor.

 

If i click on the Add library button, then select the .mat file that exported from 3ds max.. then nothing happens.. there is no error or anything, i just do not get the material appear in the list.

Posted

It turns out that the Material file was not closed properly. I think this may be a problem with the max script/node exporter?

 

 

after manually adding the </materials> tag at the bottom it imported OK.

Posted

It turns out that the Material file was not closed properly. I think this may be a problem with the max script/node exporter?

 

 

after manually adding the </materials> tag at the bottom it imported OK.

 

That should only happen if there is some sort of crash in maxscript. check the script listener thingy in 3d studio max.

×
×
  • Create New...