View Single Post
Old 1st July 2021, 01:41 PM   #6
sam_hepworth
Junior Member
Junior member
 
Join Date: Feb 2006
Posts: 4
Default Re: Collada Export Crash AC3D

Thanks Andy. I have done some initial testing and it seems to work

When I import to SketchUp from AC3D surfaces are only transparent on one side. I would like windows to be transparent on both sides. In order to make surfaces transparent on both sides I have to modify the XML a bit.

<polylist count="2" material="acmat0"> <!-- count="1" changed to count="2" -->
<input offset="0" semantic="VERTEX" source="#ID1-Vertex"/>
<input offset="1" semantic="NORMAL" source="#ID1-Normal"/>
<input offset="2" semantic="TEXCOORD" source="#ID1-TexCoord"/>
<vcount>
4
4 <!-- repeat form above -->
</vcount>
<p>
0 0 0 1 1 1 2 2 2 3 3 3
0 0 0 1 1 1 2 2 2 3 3 3 <!-- repeat from above -->
</p>
</polylist>

Is there a way for me to run a script on the exported XML after export? Or would you consider making it an option to export transparent surfaces that are transparent from both sides? For example if a surface is set to be 2 sided (visible from both sides) then it could be exported so that it is transparent from both sides, and if it set to be 1 sided then it is not?

Quote:
Originally Posted by Andy View Post
Please replace the plugin with this one:


http://inivis.com/external/test/collada_export126w.zip


Let me know if it fixes the problems.

Last edited by sam_hepworth; 6th July 2021 at 04:17 PM.
sam_hepworth is offline   Reply With Quote