05-11-2010, 09:52 PM,
|
|
joevenzon
Administrator
|
Posts: 2,679
Threads: 52
Joined: Jun 2005
|
|
I checked in the tire mesh generation in R2709. I only added the tire info to the M7's car file, so the other cars just fall back to the normal method. There's definitely something wrong with the mesh generation at the moment!
By the way, here's the info that needs to be added to a .car file to get the mesh generation working (this also needs to go into tire-rear):
Code: [ tire-front ]
size = 225/50r16
wheel = 5_spoke_m
tiretexture = tire
|
|
05-13-2010, 02:34 PM,
|
|
NaN
Posting Freak
|
Posts: 2,024
Threads: 120
Joined: Jan 2010
|
|
Quote:did you guys have to fix bugs in my code
1. radius calculation was missing a myltiply by 0.5
Code: float rimRadius_m = rimDiameter_in * 0.0254f * 0.5;
2. vertex index calculation was missing a multiply by 3
Code: float *x = &vertexData[(lv+segmentsAround * 0) * 3 + 0];
Quote:do you mean the gap
I meant the placement/scale of the mesh relative to tire. I was just too lazy to do it by myself.
|
|
|