Donkie / I3DShapesTool

Tool used for extracting the binary .i3d.shapes files used by the GIANTS engine
MIT License
24 stars 10 forks source link

Exporting items with the same name #28

Closed Alan207 closed 2 years ago

Alan207 commented 2 years ago

When exporting items with the same names, only one item is exported instead of, for example, four items.

scenegraph

Donkie commented 2 years ago

I imagine this will be better when I add the I3D xml parsing. The shape names listed in that will be used in the export then instead.

Alan207 commented 2 years ago

This seems to be a better solution, but we will see how it will be in practice.

Donkie commented 2 years ago

Published a new release, try it out and see if it fixes this

Alan207 commented 2 years ago

Unfortunately it is still the same

Donkie commented 2 years ago

Do you have the corresponding .i3d and .i3d.shapes files in the same folder?

Alan207 commented 2 years ago

Yes

Donkie commented 2 years ago

I3DShapesTool.zip I think I found the issue. Try this build. Output files will now be named such as: <name>_<id>.obj, to make sure the name is always unique.

Alan207 commented 2 years ago

Great, now it is correct :+1: