Converting Architectural Materials to oFusion Materials

denef

23-11-2006 13:21:51

Hi!

Can anybody tell me how to convert architectural materials to oFusion materials, maybe using a script?

My architectural materials don't show up in oFusion, oFusion materials do.

best regards,
Sebastian

Lioric

23-11-2006 15:48:27

See the source of the "Update Mtls" tool, you can modify to use the bitmap and colors of the Architectural Material in the newly created oFusion Material

See this thread for details on using oFusion Materials in scripts:

http://www.ogre3d.org/phpBB2addons/viewtopic.php?t=2572

Paulov

27-11-2006 22:27:20

hi

well, didnt know if post here or in "my"post, but I´ll post here not to raise mine from the darkness without interesting material...
but as after evaluating the materials you´ll probably see the meshes totally black and you´ll need to modify the ambient or the emissive values to see them so:::

-->I´ve been trying for a while to modify via script some properties like the ambiet, diffuse ... etc values. I´ve tested the script in the tutorial but I´ve been unable to modify anything.
I would like to know why it does not have any effect when I run the script so that I can get out of this trench, since modifying materials by hand is taking me A LOT of time.

Here you have a sample scene where I´ve tried to run this script with no effect, may be the problem is here:
http://www.uploading.com/files/MIHTLZEF ... 5.zip.html

Here the script mentioned in the tutorial.

If you try the script and you get the values modiffied please make a post, if you modify the script and you´re able to modify the material please send me the modified script. I would be very pleased.

Thanks
[edit: the file pasword is -> 1234 <--]
PAblo