at2142
24-09-2009 09:11:43
hi,
i need to convert oFusuin material to standard mat in 3ds max.
for render scene with mental ray for ScreenShots.
thanks for any help.
Lioric
29-09-2009 22:31:45
What exactly values do you need to convert? oFusion Materials are not directly convertible to Standard Materials (and maintain all the properties and values)
oFusion Materials can be used (and parsed) by maxscript, and parsing it its like parsing any other native material, there are several scripts that parse materials (to save to a file or others), you can use them and simply modify them to create a standard material with the values that you need
If you prefer post here what values do you need to be in the standard material and I can produce a quick script for you to use in your scenes
JorgeRodiles
13-06-2013 00:11:27
I have te exact problem I need to convert a whole scenario in MAX standard materials, the things I need to convert are the following:
Diffuse Color and Self Illumination to the common slots in a strd. mat.
technique_0: textureUnit_0
oFusion pass
and also the oFusion Material, Pass y Technique
from enviroment maps to reflectivity slot
the bump map to the bump slot and so on
can you help me? it is a very importan job to me!
Lioric
13-06-2013 02:09:47
It is very easy to parse an oFusion material, in the Support Center the "Maxscript properties of oFusion Materials" article has all the information you would need, and contains sample code for a maxscript, here is the article:
http://www.ofusiontechnologies.com/supp ... id=2&id=96
Just instead of assigning a value to the property, as in the sample code, use the prop to assign to your Std material
*Not sure what oFusion version are you using but in the oFusion for Max 2011/2012/2013/2014 (1.9.x) accessing oFusion texture units is made via the "textureUnits" array member of the oFusion Pass, if you are using an older version just use the texture unit member directly (I dont' remeber right now the name of the legacy member for the textureUnit, but if you have any issues tell me and I will review it and post here)