gametechmods

Robot Arena => General Support => Topic started by: Jonzu95 on April 24, 2012, 03:30:04 AM

Title: Why? D:
Post by: Jonzu95 on April 24, 2012, 03:30:04 AM
Why the chassis goes like this, whyyyyyy? D:
(https://gametechmods.com/uploads/images/44783screenshot.png)
Every freakin time. Left one is correct, and the right one just is ****ed up.  :mad:
Title: Re: Why? D:
Post by: Pwnator on April 24, 2012, 03:39:03 AM
The old engine can't calculate skewed planes properly. I'm guessing it approximates the bends by going counter-clockwise, starting from the top-left point of each plane. That's why all of the bends you see are from top-left to bottom-right.
Title: Re: Why? D:
Post by: Jonzu95 on April 24, 2012, 03:58:38 AM
And there is no way to fix it? =/
Title: Re: Why? D:
Post by: Pwnator on April 24, 2012, 04:01:04 AM
Unless that particular calculation isn't done by the engine, nope.
Title: Re: Why? D:
Post by: Jonzu95 on April 24, 2012, 05:06:29 AM
Okay then...
Title: Re: Why? D:
Post by: Trovaner on April 24, 2012, 09:36:44 PM
The only way to fix it in RA2 would be to BFE it.

Since models are made up of faces consisting of 3 vertices and 3 edges (in lamens terms, a face is a triangle in 3D space), you can conclude that the edges are using rotational symmetry as opposed to reflection symmetry. If I had to guess, the game is likely creating the chassis based off of the order in which the points were connected as opposed to where they are on the chassis design grid. Doing it this way, it would have taken less work to code the 3D modeler than evaluating the placement of everything using some complicated algorithm.

I've actually run into this a lot whenever I mod GMF files. Most 3D modeling programs also do this but it is usually just a matter of seconds to fix it within them.