We are using the OpenCollada plugin for Max 2011. Geometry and animation data is coming through fine but I don’t see any shader or material data included in the DAE.
Do I need to modify the Max exporter or should it just work out-of-the-box?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Using MaxScript we can iterate through the materials and export the cgfx (or directx shaders) to a separate file. Exporting it as part of the Collada is possible if we write a Collada exporter and insert the shader params as extra data. We’re going the MaxScript route.
Update/Edit: wow, were we wrong about using MaxScript! The correct solution was to use the Max SDK and the IGame interface to query the materials. Yannick Puech has the definitive article.