Community Forum

Reflective map

Forum Overview >> Farming Simulator 2009

CategoryFarming Simulator 2009
Created02.12.2009 13:26


Alex Engel (unknown) 02.12.2009 13:28
Hello to you one and all,
I was wondering if it is possible to create the reflective map outside of Maya and how one would go about it to do so.

best regards

Alex

Christian Ammann - GIANTS Software 02.12.2009 22:50
Hi Alex,

What do you mean with outside of Maya?

Alex Engel (unknown) 03.12.2009 00:37
Hi Christian,
I was under the impression that the reflective map gets generated by maya as a part of the material properties. But judging by your question I guess that is not the case. I wasn't able to track any documentation regarding reflective material down. So if you could elaborate as to how does one go about to create a reflective map that would be great.

regards

Alex

Stefan Geiger - GIANTS Software 04.12.2009 21:57
The maya material properties (http://gdn.giants.ch/documentation_exporter.php#exporter_maya_material), only add the information to the i3d, that reflection maps should be generated. The actual map is generated in the engine.

What you need to do, is adding a new node in your material:
<Reflectionmap type="planar" refractiveIndex="1.3" bumpScale="0.1"/>

So for a simple mirror you could use something like this:
<Material name="planeReflectionMat" materialId="3" diffuseColor="1 1 1 1" cosPower="20" specularColor="0.5 0.5 0.5" ambientColor="1 1 1">
<Reflectionmap type="planar" refractiveIndex="1.3" bumpScale="0.1"/>
</Material>

Alex Engel (unknown) 06.12.2009 00:30
Ah now I see where my error in thought was, well thank you very much for the clarification there Stefan. Much appreciated

Regards

Alex


Note: Log in to post. Create a new account here.