The following warnings occurred: | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Warning [2] Undefined array key "lockoutexpiry" - Line: 94 - File: global.php PHP 8.1.28 (Linux)
|
tyre/tire selection - Printable Version +- Forums (https://www.vdrift.net/Forum) +-- Forum: Community (https://www.vdrift.net/Forum/forumdisplay.php?fid=3) +--- Forum: Feature Requests (https://www.vdrift.net/Forum/forumdisplay.php?fid=6) +--- Thread: tyre/tire selection (/showthread.php?tid=1290) |
tyre/tire selection - stan.distortion - 05-31-2010 Pool of tyre files for all cars and a list of the tyres that can be used in the .car file for each car. - NaN - 05-31-2010 I think there are tire files in the carparts folder. I don't know why they are separated in front and rear though. Are the coefficients dependent on tire dimensions? What about joining them, having a tire folder containing tire files? As current vdrift-data is incompatible to the previous release anyway. I propose the following tire description instead of the current one: Code: [ tire-front ] - zimluura - 05-31-2010 just made a few tire textures today. rain, slick, and ye_olde (which will look more medieval). as soon as someone who knows more than me integrates the wheel edge, i'll go through all the .car files and size the tires with the vehicle default tire codes. i think after that the wheel section in the .car file will get super small [ tire-front ] size = 225/50r16 tire_type = rain pressure = 35.0 wheel = 5_spoke_m wheel_material = magnesium rotor = 360 rotor_type = ceramic_slotted provided each wheel gets some default steel masses associated with them, the radius, contact patch, and inertia should be able to be figured out with equations. - joevenzon - 05-31-2010 The carparts folder was an old unused scratch pad (from car customization setting implementation ideas from long ago) until the wheel mesh generation data got put there. Feel free to restructure and remove as is warranted; nothing that's there is there for any reason (except the wheel meshes and textures). - NaN - 06-01-2010 Quote:as soon as someone who knows more than me integrates the wheel edger2774 Quote:rotor = 360Rotor is brake disk diameter? If so can we can use brake parameters. Code: [ brakes-front ] - NaN - 06-01-2010 Wow, the 360 has 355mm brake disk radius(we should rename it to diameter). - stan.distortion - 06-01-2010 Quote:355mm brake disk radiuslol Quote:Rotor is brake disk diameter?Yep, one and the same. Quick note while thats getting some lovin', a disk temp variable would be usefull for both disk glow and brake fade and is simple to calculate. - zimluura - 06-01-2010 wow, awesome! i'd been updating the source dir frequently, even had r2774 compiled. but it was crashing. then i tried to run it from a console and saw an error that prompted me to update the data dir. silly me. i think sometime in the next 2-4 days i should be able to do lots of car data updating. and finish building the brake rotor code. [edit] on the brake rotor: yeah, it probably should be in the brake section. was just thinking that we'd need to know some details on the rotor to calculate the wheel's inertia. hmm the wheel hub and axle weights as well. or some approximation of them. - zimluura - 06-02-2010 all the shared wheel meshes should be updated in the data and art svns. i fit the 350z with the its shared wheel mesh and it doesn't quite look right. i was going to move it's wheels outward a little, that will be easy, but it's something else. the mesh for the pentagonal_hub is very thin so how to handle the offset of the wheels is what needs to be considered. sorta want to know some of how you guys are planning on the offset before i go and put oem wheels for each car (just in case i'll need to go through each blend file again.) got the z06 updated with properly sized mazda wheels (wheels moved outward and lowered a little). will get its original wheels put in its directory soon. == a few different tire textures in the carparts/tire/texture directory. left the single tire texture in the wheel directory so as not to break anything until the code gets changed a bit. at the moment tires are being mirrored as well as the wheel_edge. is there any way to make the wheel edge mirrored and the tire non-mirrored? i ask because the tread pattern, and arrows aren't symmetrical right now. but i think, with regard to open-wheel cars we will want the outside rim_edge to maybe have some detail that the inside wouldn't. the part i'd intended to be the outside of the wheel_edge is currently on the inside. should i fix that in the mesh_gen functions? or is it very easy to rotate after they are called? - NaN - 06-02-2010 Quote:how to handle the offset of the wheels is what needs to be consideredIt should depend on wheel rim width somehow. The outer spoke vertices should have the coordinate zero to keep them independent from scaling. The question is how to determine the offset d. maybe a parameter in car settings? Quote:at the moment tires are being mirrored as well as the wheel_edge. is there any way to make the wheel edge mirrored and the tire non-mirrored? i ask because the tread pattern, and arrows aren't symmetrical right now.The tire and wheel are 180° rotated around up-axis(z-axis). I haven't changed this yet. There are two ways to deal with it. Having four meshes and mirror them accordingly on setup using negative scale. Or keep two meshes front and rear and mirror them at draw time(mirror the scenenode). I am undecided which is the better way to do it. Do we want to have four distinct wheels(meshes)? How should we deal with flangeDisplacement_mm? I have it hardcoded atm. - NaN - 06-02-2010 There is a better idea. Create the spokes mesh assuming a rim width = 1.0. We will scale it using the real rim width to fit it to the tire. - stan.distortion - 06-02-2010 Quote:sorta want to know some of how you guys are planning on the offsetKind of obvious but width also needs to be handled. - zimluura - 06-02-2010 Quote:The tire and wheel are 180° rotated around up-axis(z-axis). I haven't changed this yet. There are two ways to deal with it. Having four meshes and mirror them accordingly on setup using negative scale. Or keep two meshes front and rear and mirror them at draw time(mirror the scenenode). I am undecided which is the better way to do it. Do we want to have four distinct wheels(meshes)?i had thought just two meshes (front, back) for tires (might be able to optimize that more, lots of cars have the same size tires f&r), and then two more meshes for front and back wheel, but alter the drawing routine depending on the content being rendered. would that mean a different scene node? Quote:How should we deal with flangeDisplacement_mm? I have it hardcoded atm.i had thought that each wheel style would have it's own definition file maybe. or maybe each style would be in one big definition file. and there the flangeDisplacement could be defined by the wheel artist, if they so desire. Quote:There is a better idea. Create the spokes mesh assuming a rim width = 1.0. We will scale it using the real rim width to fit it to the tire.this sounds like it will work. i think there might end be a problem when i get the brake rotor going...which i should go finish up now...maybe gotta get some caffeine first. i was leaning toward all the wheel vertexes being just barely on the + side of the x axis. thinking if we did it that way we might more easily be able to position the wheel_edge. but then we'll still run into problems with the rotors... i'm good for trying this, so long as none of these positional thoughts raise a red flag for you, i'll start doing more stuff after i get the rotor built. Quote:Kind of obvious but width also needs to be handled.i think width is handled for the time being. give it the tire size and it automatically spits out a perfectly sized wheel_edge. i'd like it to be more realistic, but i think there needs to be some kind of player parts inventory and part buying system before it can really be done the _right_ way. or am i misinterpreting you? musing: a while back i was trying to make a garage scene in blender, maybe to one day turn into a track where you could see the cars you had bought. when/if there is a parts inventory we could have all the spare parts stack up in the garage to give it clutter. - stan.distortion - 06-02-2010 Quote:i think width is handled for the time beingNot for the physics, nan hard coded it for the time being when the wheel mass was added to the physics. - NaN - 06-03-2010 The width has been hard coded for the experimental code path only which is not used by default. I was to lazy to write the code to handle this. Quote:we'll still run into problems with the rotors...What if we use a fixed offset for all wheel meshes, like 0.15 or something. The real offset would be known as 0.15*rim_width for brake positioning. Quote:garage sceneA garage screen where you can select/setup your car, hehe. |