Game Development Community

Blender hangs on export?

by John Quarles · in Artist Corner · 05/20/2005 (11:42 am) · 24 replies

Blender hangs up when I try to export. It works for the example.blend. I am exporting very high poly models, 40000-200000 polys. Is there some limit on the number of polys that a dts can have? I'm not sure what to do.
Page«First 1 2 Next»
#21
05/27/2005 (12:20 pm)
I've let it run for a long time before and it does eventually finish. But i am left with a 0kb dts file.
#22
05/30/2005 (11:38 am)
Here is the error output when I try to export a large file. It looks like a simple overflow error which would explain the problems with exporting larger models. I don't know much about python, but it looks like they need to be using integers or longs instead of shorts. Or maybe the buffers are just too small. Does anyone have any insight on this?

File "C:\blender2.35a\blender-2.35a-windows\.blender\scripts\DTSPython\Dts_Sha
pe.py", line 747, in write
msh.write(dstream)
File "C:\blender2.35a\blender-2.35a-windows\.blender\scripts\DTSPython\Dts_Mes
h.py", line 569, in write
dstream.writePrimitive(p)
File "C:\blender2.35a\blender-2.35a-windows\.blender\scripts\DTSPython\Dts_Str
eam.py", line 259, in writePrimitive
self.writes16(value.firstElement)
File "C:\blender2.35a\blender-2.35a-windows\.blender\scripts\DTSPython\Dts_Str
eam.py", line 222, in writes16
self.write16(value)
File "C:\blender2.35a\blender-2.35a-windows\.blender\scripts\DTSPython\Dts_Str
eam.py", line 167, in write16
def write16(self, value): self.buffer16.append(value)
OverflowError: signed short integer is greater than maximum
#23
06/09/2005 (6:52 pm)
So I emailed the creator of the exporter and he told me that the individual mesh objects within a dts have to be within a certain size. So I just wrote a blender script to split my meshes automatically, given some threshhold of faces. I found that 2048 works nicely as an upperbound. Then my 187000 poly model exported correctly. You still need a monster of a machine to use such a model but hey, it worked. Heh, the .DTS file was about 8MB.
#24
06/27/2005 (2:43 am)
Wow - good to know
Page«First 1 2 Next»