Community Forum

Export indexedTriangleSets to shapes file

Forum Overview >> Blender Exporter

CategoryBlender Exporter
Created27.03.2016 16:17


Deon Engelmann (Endlesshunt) 27.03.2016 16:33
Hi

I made separate movable parts (joystick, handThrottle and implementHeight) from the ‘interior’ shape that I exported from the default newHollandT8320.i3d file.

I separated them from the main Sidewinder console in blender then exported them back to .i3d file for GE.

As this is my first attempt at a mod I was a bit surprised to see the shapes are all in indexedTriangleSets and not in an .i3d.shapes file.

The animation code that I wrote in GE for them did automatically export to an .i3d.anim file

Is this normal for the shapes or is there a way to export or transform them to an .i3d.shapes file

Regards

PS. I'm not sure if this should be under Blender Exporter or Giants Editor

Emil Drefers (giants.edrefers) 29.03.2016 08:22
Hi,

by default the GIANTS Editor saves an i3d file with an i3d.anim file.
So, you just might save your changes and it's all good?

Cheers,
Emil

Deon Engelmann (Endlesshunt) 29.03.2016 23:19
Hi Emil

Is there a way to export or transform the indexedTriangleSets to an .i3d.shapes file.

Cheers,
Deon

Emil Drefers (giants.edrefers) 30.03.2016 08:28
Hi,

just use the GIANTS Editor to save the i3d file and the i3d.shapes file should be generated automatically.

Cheers,
Emil

Deon Engelmann (Endlesshunt) 30.03.2016 23:24
Thanks Emil

I will try it again

Cheers


Deon Engelmann (Endlesshunt) 01.04.2016 00:43
Hi Emil

If anybody else want to know, my i3D file looked like the first sample below. This will not automaticaly save the .i3D.shapes file.

<Shapes>
<IndexedTriangleSet name="addBlueCap" shapeId="1" bvCenter="1.20155 0.138473 -1.42853" bvRadius="0.094709" isOptimized="true">
</Shapes>


If you manually add an 'externalShapesFile' key and value with notepad++ as below, then open the modified file in GE and save it again. Now it will automatically create the .i3D.shapes file

<Shapes externalShapesFile="newHolland_T8435_TanksAndExhaust2.i3d.shapes">
<IndexedTriangleSet name="addBlueCap" shapeId="1" bvCenter="1.20155 0.138473 -1.42853" bvRadius="0.094709" isOptimized="true">
</Shapes>

Cheers


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