Model Compiling Hinderance
Anthoni
Join Date: 2009-04-10 Member: 67129Members
Ok so I was trying to compile one of my models using the builder app. So I made quick test mesh called "anthoni_test.dae" and a Material to go with it. The Viewer will view the mesh fine but it would appear I would need a file called "anthoni_test.model_compile" to compile the model. So, to the NS2 team, if could be so kind, give us a template .model_compile file.
Thanks ,
Anthoni C.
Edit: Ah Ha! I just figured part of it out. :)
<!--c1--><div class='codetop'>CODE</div><div class='codemain'><!--ec1--><model>
<geometry anthoni_test.dae />
</model><!--c2--></div><!--ec2-->
Material is not working on the compiled model. :/
Thanks ,
Anthoni C.
Edit: Ah Ha! I just figured part of it out. :)
<!--c1--><div class='codetop'>CODE</div><div class='codemain'><!--ec1--><model>
<geometry anthoni_test.dae />
</model><!--c2--></div><!--ec2-->
Material is not working on the compiled model. :/
Comments
Someone allready posted a solution for the material problem though it didn't work for me.
<a href="http://unknownworlds.com/ns2/forums/index.php?showtopic=108436&st=0&start=0" target="_blank">http://unknownworlds.com/ns2/forums/index....t=0&start=0</a>
[attachment=35906:Models.pdf]
<b>Edit:</b> Oh it's wonderful. I got a model compiled, and thanks to the pdf you gave me I was able to fix the collada file to properly set the material.
<b>Edit(again):</b>
<a href="http://img38.imageshack.us/i/hurhuri.png/" target="_blank"><img src="http://img38.imageshack.us/img38/231/hurhuri.png" border="0" class="linked-image" /></a>
Finaly some result :)
<b>Edit:</b> Oh it's wonderful. I got a model compiled, and thanks to the pdf you gave me I was able to fix the collada file to properly set the material.
<b>Edit(again):</b>
<a href="http://img38.imageshack.us/i/hurhuri.png/" target="_blank"><img src="http://img38.imageshack.us/img38/231/hurhuri.png" border="0" class="linked-image" /></a><!--QuoteEnd--></div><!--QuoteEEnd-->
How did u do that ? Full steps please ?
Thanx.
we are talking about the same documentation?
[attachment=35906:Models.pdf]<!--QuoteEnd--></div><!--QuoteEEnd-->
By the way, I might've caught a bug in the COLLADA exporter, it's only exporting the first frame of an animation.
We use that exporter for all of our animations. What does your model_compile file look like?
<!--c1--><div class='codetop'>CODE</div><div class='codemain'><!--ec1-->geometry "test.dae"
animation "anim" "anim_test.dae"<!--c2--></div><!--ec2-->
I was testing a model I made for the Source engine by importing the SMD's into 3dsmax and exporting as COLLADA. The SMD animations work in 3dsmax, but if I export as COLLADA and reimport them, they only contain the first frame of the original animation.
I then made a simple animation in 3dsmax, exported, and it worked fine. I guess the SMD/COLLADA plugins are playing Broken Telephone with each other?
Here's my export settings:
<img src="http://img14.imageshack.us/img14/9016/colladaexport.png" border="0" class="linked-image" />