![]() |
|
driver mesh - Printable Version +- Forums (https://www.vdrift.net/Forum) +-- Forum: Project (https://www.vdrift.net/Forum/forumdisplay.php?fid=4) +--- Forum: Development (https://www.vdrift.net/Forum/forumdisplay.php?fid=9) +--- Thread: driver mesh (/showthread.php?tid=897) |
- reece146 - 05-02-2008 zimluura Wrote:as for the Stig... LOL Priceless... - alex25 - 05-03-2008 i didn't realize the driver can actually support the whole car on his head ![]() --alex-- - joevenzon - 05-27-2008 Alright, so for the refactor this is the desired coordinate system, right? Quote:* mass positioning (same as blender) - zimluura - 05-28-2008 yeah, that's what makes the most sense to me. so it's certainly what i want. that's also how things are arranged for doing a blender export. but i guess there's really no *correct* way (if someone has a better idea, i'm all ears). but it would be *correct* to have all car-local positions consistent. - charlieg - 06-07-2008 I would <3 it so much if the driver gibbed when something like the above happens... :twisted:
so it turns out my driver mesh is actually... - zimluura - 07-06-2008 so it turns out my driver mesh is actually a pretty short dude. i'm thinking like 5 foot 0. so i've got a bigger one (who, when standing up messures just about 6 feet tall). so there were a few cars he didn't fit in well before, and i think he's going to fit less well now that there's a bigger driver model around. the other one looks pretty small to me now that i know. i was also thinking of something that could be done sort of easily to customize drivers without having a skeletal system: replaceable heads. the body can be customized reasonably well with a re-texture already. but with multiple head models it opens up the door for lots of different looks of helmet. and also heads without helmets. head positioning might have to be in a body.cfg file though. all this stuff probably shouldn't happen until the refactor is done. but if it sounds like a good idea to you guys too i can chop the dude up pretty easily. - reece146 - 07-06-2008 Well, if you have to make a final decision on a driver size, most auto manufacturers base their designs on a eighty-fifth percentile male. IIRC this works out to a 5'-10" - 5'-11" male driver. And yeah, being that big in a Lotus 7 sucks. FWIW, I'm 6' and can just get comfy in the S2000. It's been a great motivator for getting the middle age spread under control. LOL
- zimluura - 07-11-2008 he looks so...approximate... ![]() re-proportioning, this time with guidelines. next up i need to get comfortable with skeletal deformations.
- joevenzon - 07-12-2008 looking good - joevenzon - 07-25-2008 zimluura, can you create a version of the XS.car file that uses exclusively the coordinate system that makes sense to you, then check it in under a different filename (or post it here)? - zimluura - 07-26-2008 here goes. if anything looks like i entered it wrong please tell me, there's a lots of potential for error when trying to describe coordinate systems with words. i mostly focused on the wheel and suspension positioning, and mostly on getting the +/- correct. the actual values will most likely need to be tweaked after the coordinate system is unified. i didn't adjust z positions. i'm guessing wheel z will be sorta arbitrary based on, or should z=0 be always defined as the wheel mount point? seems like it would work with most cars. extreme cases of dragsters, maybe not. here's an image of how i think it should be done, after the image is modified xs.car file. as always if anyone has any reasons to go with another unified coordinate system, please discus pros and cons. ![]() drive = RWD [ steering ] max-angle = 33.19 [ engine ] position = 0.0, 1.0, -0.21 mass = 140.0 max-power = 1.79e5 peak-engine-rpm = 7800.0 rpm-limit = 9000.0 inertia = 0.25 idle = 0.02 start-rpm = 1000 stall-rpm = 350 fuel-consumption = 1e-9 torque-friction = 0.0003 torque-curve-00 = 1000, 140.0 torque-curve-01 = 2000, 149.14 torque-curve-02 = 2200, 145.07 torque-curve-03 = 2500, 147.78 torque-curve-04 = 3000, 169.50 torque-curve-05 = 3300, 172.19 torque-curve-06 = 4000, 169.50 torque-curve-07 = 4500, 166.77 torque-curve-08 = 5600, 172.19 torque-curve-09 = 5800, 170.83 torque-curve-10 = 6000, 168.12 torque-curve-11 = 6100, 177.61 torque-curve-12 = 6200, 186.42 torque-curve-13 = 6300, 192.53 torque-curve-14 = 6500, 195.92 torque-curve-15 = 6700, 195.92 torque-curve-16 = 7000, 195.24 torque-curve-17 = 7600, 190.49 torque-curve-18 = 8000, 184.39 torque-curve-19 = 8200, 183.04 torque-curve-20 = 8300, 146.43 torque-curve-21 = 9500, 146.43 [ clutch ] sliding = 0.27 radius = 0.15 area = 0.75 max-pressure = 11079.26 [ transmission ] gears = 6 gear-ratio-r = -2.8 gear-ratio-1 = 3.133 gear-ratio-2 = 2.045 gear-ratio-3 = 1.481 gear-ratio-4 = 1.161 gear-ratio-5 = 0.943 gear-ratio-6 = 0.763 shift-delay = 0.08 [ differential ] final-drive = 4.100 anti-slip = 600.0 [ fuel-tank ] position = 0.0, -1.0, -0.26 capacity = 0.0492 volume = 0.0492 fuel-density = 730.0 [ suspension-front ] spring-constant = 49131.9 bounce = 2588 rebound = 2612 travel = 0.19 max-compression-velocity = 10.0 camber = -1.33 caster = 6.12 toe = 0.0 anti-roll = 8000.0 [ suspension-rear ] spring-constant = 51137.3 bounce = 2788 rebound = 2912 travel = 0.19 max-compression-velocity = 10.0 camber = -0.45 caster = 0.28 toe = 0.0 anti-roll = 6000.0 [ tire-front ] radius = 0.29 rolling-resistance = 1.3e-2, 6.5e-6 rotational-inertia = 10.0 tread = 0.0 # Lateral force a0=1.6 a1=-38 a2=1201 a3=1914 a4=8.7 a5=0.014 a6=-0.24 a7=1.0 a8=-0.03 a9=-0.0013 a10=-0.15 a111=-8.5 a112=-0.29 a12=17.8 a13=-2.4 # Longitudinal force b0=1.7 b1=-80 b2=1571 b3=23.3 b4=300 b5=0 b6=0.0068 b7=0.055 b8=-0.024 b9=0.014 b10=0.26 b11=-86 b12=350 # Aligning moment c0=2.3 c1=-3.8 c2=-3.14 c3=-1.16 c4=-7.2 c5=0.0 c6=0.0 c7=0.044 c8=-0.58 c9=0.18 c10=0.043 c11=0.048 c12=-0.0035 c13=-0.18 c14=0.14 c15=-1.029 c16=0.27 c17=-1.1 [ tire-rear ] radius = 0.2935 rolling-resistance = 1.3e-2, 6.5e-6 rotational-inertia = 10.0 tread = 0.0 # Lateral force a0=1.6 a1=-38 a2=1201 a3=1914 a4=8.7 a5=0.014 a6=-0.24 a7=1.0 a8=-0.03 a9=-0.0013 a10=-0.15 a111=-8.5 a112=-0.29 a12=17.8 a13=-2.4 # Longitudinal force b0=1.7 b1=-80 b2=1571 b3=23.3 b4=300 b5=0 b6=0.0068 b7=0.055 b8=-0.024 b9=0.014 b10=0.26 b11=-86 b12=350 # Aligning moment c0=2.3 c1=-3.8 c2=-3.14 c3=-1.16 c4=-7.2 c5=0.0 c6=0.0 c7=0.044 c8=-0.58 c9=0.18 c10=0.043 c11=0.048 c12=-0.0035 c13=-0.18 c14=0.14 c15=-1.029 c16=0.27 c17=-1.1 [ brakes-front ] friction = 0.73 max-pressure = 4.0e6 bias = 0.60 radius = 0.14 area = 0.015 [ brakes-rear ] friction = 0.73 max-pressure = 4.0e6 bias = 0.40 radius = 0.14 area = 0.015 handbrake = 1.0 [ driver ] position = -0.35, -0.57, 0.0 mass = 90.0 view-position = -0.64, 0.35, 0.30 hood-mounted-view-position = 0.55, 0, 0.17 [ drag ] position = 0.0, 0.0, 0.2 frontal-area = 2 drag-coefficient = 0.3 [ wing-front ] position = 1.9, 0.0, 0.60 frontal-area = 0.2 drag-coefficient = 0.0 surface-area = 0.3 lift-coefficient = -0.5 efficiency = 0.95 [ wing-rear ] position = 0.0, -2.14, 0.37 frontal-area = 0.05 drag-coefficient = 0.0 surface-area = 0.5 lift-coefficient = -2 efficiency = 0.95 [ wheel-FR ] position = 0.76, 1.28, -0.47 roll-height = 0.29 mass = 18.14 restitution = 0.1 [ suspension-FR ] position = 0.76, 1.28, -0.03 hinge = 0,0,0 [ wheel-FL ] position = -0.76, 1.28, -0.47 roll-height = 0.29 mass = 18.14 restitution = 0.1 [ suspension-FL ] position = -0.76, 1.28, -0.03 hinge = 0,0,0 [ wheel-RR ] position = 0.76, -1.14, -0.48 roll-height = 0.2935 mass = 18.14 restitution = 0.1 [ suspension-RR ] position = 0.76, -1.14, -0.02 hinge = -0.85,0,0 [ wheel-RL ] position = -0.76, -1.14, -0.48 roll-height = 0.2935 mass = 18.14 restitution = 0.1 [ suspension-RL ] position = -0.76, -1.14, -0.02 hinge = -0.85,0,0 [ contact-points ] # used to find the bounds of the car (for collisions) # also play into the weight distribution and balance mass = 0.05 position-00 = 1.96, 0.37, -0.24 position-01 = 1.96, -0.37, -0.24 position-02 = 1.52, 0.83, 0.16 position-03 = 1.52, -0.83, 0.16 position-04 = -0.10, 0.89, -0.24 position-05 = -0.10, -0.89, -0.24 position-06 = -2.18, -0.83, -0.10 position-07 = -2.18, 0.83, -0.10 # these are used to calculate the weight distribution and balance [ particle-00 ] mass = 30.0 position = -1.28, 0.0, -0.36 [ particle-01 ] mass = 60.0 position = 0.11, 0.0, -0.36 [ particle-02 ] mass = 235.0 position = -1.7, 0.39, 0.0 [ particle-03 ] mass = 235.0 position = -1.7, -0.39, 0.0 [ particle-04 ] mass = 195.0 position = 1.32, 0.39, -0.07 [ particle-05 ] mass = 195.0 position = 1.32, -0.39, -0.07 - joevenzon - 07-26-2008 Thanks, I'll work on applying this to what I've got in the refactor. - zimluura - 08-14-2008 just tried a big commit on the driver mesh, added 2 other drivers as well. though only minor variations of the first. - joevenzon - 10-26-2008 Okay, as of R2196 in the trunk the new coordinate system is supported. If you look at R240 of the data, the XS.car file has been updated to use the new coordinate system (based off of the file you modified above). For backward compatibility .car files with the old coordinate systems are also supported. If you want to use the new one, put version = 2 at the top of the file as in XS.car. All of the positions in the file (wheel position, suspension hinge, driver position, view positions, mass positions, etc etc etc) use the new coordinate system. - zimluura - 10-27-2008 cool, i just re-setup my system, new graphics card, new hard disk, fresh winxp install. so i have to re-install some stuff (svn, mingw, scons) before i can try out the refactor and get back in the swing of things. |