Invalid polygon size

Do you need help? Ask here!

Bug reporting belongs here: http://developer.wz2100.net/newticket
Post Reply
User avatar
Delphinio
Art contributor
Posts: 446
Joined: 21 Jan 2007, 06:04

Invalid polygon size

Post by Delphinio »

info |03:16:31: [_imd_load_polys] Invalid polygon size (4)
info |03:16:31: [_imd_load_polys] Assert in Warzone: imdload.cpp:96 (npnts == 3), last script event: '<none>'

hi all,
looks like i need to change the second number of all my pie files into a 3.
that could take years... how you did it, guys?

-- Delphinio
Per
Warzone 2100 Team Member
Warzone 2100 Team Member
Posts: 3780
Joined: 03 Aug 2006, 19:39

Re: Invalid polygon size

Post by Per »

There is a program in tools/conversion called 'simplipie' that reduces a model to triangles automatically. Other such programs are rumoured to exist, if your model is not yet a PIE.
Safety0ff
Trained
Trained
Posts: 397
Joined: 18 Jul 2009, 23:23

Re: Invalid polygon size

Post by Safety0ff »

Per wrote:There is a program in tools/conversion called 'simplipie' that reduces a model to triangles automatically.
Windows folks can find an exe here: http://wz2100.net/~safety0ff/tools/
User avatar
Delphinio
Art contributor
Posts: 446
Joined: 21 Jan 2007, 06:04

Re: Invalid polygon size

Post by Delphinio »

hmm
is this .bat right?
simplipie.exe -v "xxx.pie"
User avatar
Delphinio
Art contributor
Posts: 446
Joined: 21 Jan 2007, 06:04

Re: Invalid polygon size

Post by Delphinio »

no help? : (
Safety0ff
Trained
Trained
Posts: 397
Joined: 18 Jul 2009, 23:23

Re: Invalid polygon size

Post by Safety0ff »

Delphinio wrote:no help? : (
Sorry I thought that I had replied, apparently not.
Delphinio wrote:hmm
is this .bat right?
simplipie.exe -v "xxx.pie"
Yes, it's a command line program, the -v option is for "verbose" mode, and that is the right syntax (the -v being optional).

It shouldn't be too difficult to create a .bat which will convert all your .pies.
User avatar
Xenon
Trained
Trained
Posts: 62
Joined: 18 Sep 2009, 13:06
Location: Russia

Re: Invalid polygon size

Post by Xenon »

where i can get simplipie programm? as .exe
Sorry for my english
User avatar
Berg
Regular
Regular
Posts: 2204
Joined: 02 Sep 2007, 23:25
Location: Australia

Re: Invalid polygon size

Post by Berg »

simplepie.c
Attachments
simplipie.c
(9.91 KiB) Downloaded 218 times
Post Reply