vexd
04-06-2007 16:08:55
Hi, recently I have been attempting to export a material from 3dsmax8 using oFusion CE 1.8 as part of a scene. The material is composed of two passes using shaders of my own construction which have been tested thoroughly inside ogre and run fine through the respective compilers, cg and hlsl.
Firstly editing the hlsl parameter values in oFusion was not possible with the documented error of the "Shader program has been modified or used with a another Render System". No amount of alteration of the code could solve this.
Luckily the cg versions of the shader worked fine however when exporting there were further errors. The log reported as follows when exporting a basic max scene with nothing expcept for a box with the material applied to it:
This however was untrue as no such face.material file was ever created. A full system scan and multiple attempts later, including closing max, restarting the entire system and running the export on a different machine there were no better results.
If anyone can identify why this could happen then I would be very grateful.
Shader code, max scene and exporter output and logs can be found in this file :
http://www.megaupload.com/?d=FE7EPQ7I
Firstly editing the hlsl parameter values in oFusion was not possible with the documented error of the "Shader program has been modified or used with a another Render System". No amount of alteration of the code could solve this.
Luckily the cg versions of the shader worked fine however when exporting there were further errors. The log reported as follows when exporting a basic max scene with nothing expcept for a box with the material applied to it:
15:54:36: == Exporting Objects ==
15:54:36: Exporting Object: Box01
15:54:36: Object has 1 texture sets
15:54:36: Compiling material rabbit_cel
15:54:36: Mesh: Box01_mesh.... done
15:54:36: Exporting Object: Spot01.Target
15:54:36:
== Exporting Materials ==
15:54:36: rabbit_cel
15:54:36: 1 material(s) exported to face.material
=This however was untrue as no such face.material file was ever created. A full system scan and multiple attempts later, including closing max, restarting the entire system and running the export on a different machine there were no better results.
If anyone can identify why this could happen then I would be very grateful.
Shader code, max scene and exporter output and logs can be found in this file :
http://www.megaupload.com/?d=FE7EPQ7I