banking crisis
| Newsgroups | gmane.games.torcs.general |
|---|---|
| Message-ID | <1349433129.22647.140661136808141.3D5E2F81@webmail.messagingengine.com> |
I've tried to create ovals with more realistic banking, and a couple tracks have turned out decent and drivable, but frequently, problems arise, more precisely the car continuing on two wheels (example screenshot http://i47.tinypic.com/97mjkl.png) after coming off a high-banked turn onto a (nearly) flat straightaway. I've attached a basic example track .xml that shows this ridiculous behavior. I hope someone with a better grasp of things could take a look, create a /tracks/oval/dd-speedway folder for it, paste the .xml there, then run trackgen -n dd-speedway -c oval in terminal to create the .ac files needed for the track and test drive it. The banking numbers (9 on straights, 24 in turns) have been checked and should be accurate. Straightaway lengths should be close to accurate too (although after conversions from ft to m). There are plenty of lines commented out, things previously tested but without an impact on the two-wheel show. I left them there anyway, if they shed any light on whatever's wrong. Or is the track file at fault after all, since the same happens on a few other similar ovals made by others (speed dreams tracks Caddo, Sunshine State and Tennessee I've run in torcs). Although the track flattens after a turn, the car continues in the same position. I'd appreciate your help. Should this get resolved, maybe one day you could be driving those tracks then. Quid pro quo. -- http://www.fastmail.fm - Choose from over 50 domains or use your own ------------------------------------------------------------------------------ Don't let slow site performance ruin your business. Deploy New Relic APM Deploy New Relic app performance management and know exactly what is happening inside your Ruby, Python, PHP, Java, and .NET app Try New Relic at no cost today and get our sweet Data Nerd shirt too! http://p.sf.net/sfu/newrelic-dev2dev _______________________________________________ Torcs-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/torcs-users
dd-speedway.xml
(text/xml, 14.3 KB)
<?xml version="1.0" encoding="UTF-8"?>
<!--
file : dd-speedway.xml
created : Sun Mar 19 00:13:46 CET 2000
copyright : (C) 2000 by Eric Espie
email : [email protected]
version : $Id: c-speedway.xml,v 1.2 2004/02/09 05:42:42 torcs Exp $
-->
<!-- This program is free software; you can redistribute it and/or modify -->
<!-- it under the terms of the GNU General Public License as published by -->
<!-- the Free Software Foundation; either version 2 of the License, or -->
<!-- (at your option) any later version. -->
<!DOCTYPE params SYSTEM "../../../../src/libs/tgf/params.dtd" [
<!-- general definitions for tracks -->
<!ENTITY default-surfaces SYSTEM "../../../data/tracks/surfaces.xml">
<!ENTITY default-objects SYSTEM "../../../data/tracks/objects.xml">
]>
<params name="DD Speedway" type="trackdef" mode="mw">
<!-- Surfaces -->
<section name="Surfaces">
&default-surfaces;
</section>
<!-- Objects -->
<section name="Objects">
&default-objects;
</section> <!-- Objects -->
<section name="Header">
<attstr name="name" val="DD Speedway"/>
<attstr name="category" val="oval"/>
<attnum name="version" val="4"/>
<attstr name="author" val="loser"/>
<attstr name="description" val="A fast, high-banked one-mile concrete oval"/>
</section>
<section name="Graphic">
<attstr name="3d description" val="dd-speedway.ac"/>
<attstr name="background image" val="background.png"/>
<attnum name="background type" val="4"/>
<attnum name="background color R" val="0.5"/>
<attnum name="background color G" val="0.5"/>
<attnum name="background color B" val="0.55"/>
<attnum name="ambient color R" val="0.1"/>
<attnum name="ambient color G" val="0.1"/>
<attnum name="ambient color B" val="0.05"/>
<attnum name="diffuse color R" val="1"/>
<attnum name="diffuse color G" val="1"/>
<attnum name="diffuse color B" val="1"/>
<attnum name="specular color R" val="0.1"/>
<attnum name="specular color G" val="0.1"/>
<attnum name="specular color B" val="0.1"/>
<attnum name="light position x" val="-0"/>
<attnum name="light position y" val="1000"/>
<attnum name="light position z" val="300"/>
<section name="Environment Mapping">
<section name="1">
<attstr name="env map image" val="env.png"/>
</section>
</section>
<section name="Terrain Generation">
<attnum name="track step" unit="m" val="20"/>
<attnum name="border margin" unit="m" val="300"/>
<attnum name="border step" unit="m" val="50"/>
<attnum name="border height" unit="m" val="20"/>
<attstr name="surface" val="grass6"/>
<attstr name="relief file" val="dd-speedway-relief.ac"/>
</section>
</section>
<section name="Main Track">
<attnum name="width" unit="m" val="12.0"/>
<attnum name="profil steps length" unit="m" val="10"/>
<!-- PITS -->
<section name="Pits">
<attstr name="type" val="track side"/>
<attstr name="side" val="left"/>
<attstr name="entry" val="pit entry"/>
<attstr name="start" val="front st entry"/>
<attstr name="end" val="start lane"/>
<attstr name="exit" val="turn 2"/>
<attnum name="length" unit="m" val="9.75"/>
<attnum name="width" unit="m" val="4.57"/>
</section> <!-- PITS -->
<section name="Track Segments">
<section name="start lane">
<attstr name="type" val="str"/>
<attnum name="lg" unit="m" val="121.92"/>
<attstr name="surface" val="concrete4"/>
<attnum name="banking start" unit="deg" val="-9"/>
<attnum name="banking end" unit="deg" val="-9"/>
<section name="Right Barrier">
<attstr name="surface" val="wall"/>
<attstr name="style" val="wall"/>
<attnum name="width" val="0.5"/>
<attnum name="height" val="1.5"/>
</section>
<section name="Left Border">
<attstr name="surface" val="b-concrete4-concrete-l1"/>
<attnum name="width" val="1.0"/>
<attstr name="style" val="plan"/>
</section>
<section name="Left Side">
<attnum name="start width" val="10"/>
<attnum name="end width" val="10"/>
<attstr name="surface" val="concrete-pits"/>
<attstr name="type" in="level,tangent" val="level"/>
</section>
</section>
<section name="pit exit">
<attstr name="type" val="str"/>
<attnum name="lg" unit="m" val="42.67"/>
<!-- <attnum name="banking end" unit="deg" val="-9"/> -->
<section name="Left Border">
<attstr name="surface" val="b-concrete4-concrete-l1p"/>
<attnum name="width" val="1.0"/>
<attstr name="style" val="plan"/>
</section>
<section name="Left Side">
<attstr name="surface" val="concrete"/>
<attnum name="end width" val="5"/>
<attnum name="banking end" unit="deg" val="-5"/>
</section>
</section>
<section name="turn 1 entry">
<attstr name="type" val="lft"/>
<attnum name="radius" unit="m" val="152"/>
<attnum name="arc" unit="deg" val="60"/>
<attnum name="banking start" unit="deg" val="-9"/>
<attnum name="banking end" unit="deg" val="-24"/>
<section name="Left Border">
<attstr name="surface" val="b-concrete4-concrete-l1"/>
<attnum name="width" val="1.0"/>
<attstr name="style" val="plan"/>
</section>
<section name="Left Side">
<attstr name="surface" val="concrete"/>
<attnum name="end width" val="5"/>
<!-- <attnum name="banking end" unit="deg" val="-9"/> -->
</section>
</section>
<section name="turn 1">
<attstr name="type" val="lft"/>
<attnum name="radius" unit="m" val="152"/>
<attnum name="arc" unit="deg" val="60"/>
<attnum name="banking start" unit="deg" val="-24"/>
<attnum name="banking end" unit="deg" val="-24"/>
<section name="Left Border">
<attstr name="surface" val="b-concrete4-concrete-l1"/>
<attnum name="width" val="1.0"/>
<attstr name="style" val="plan"/>
</section>
</section>
<section name="turn 2">
<attstr name="type" val="lft"/>
<attnum name="radius" unit="m" val="152"/>
<attnum name="arc" unit="deg" val="60"/>
<attnum name="banking start" unit="deg" val="-24"/>
<attnum name="banking end" unit="deg" val="-9"/>
<section name="Left Border">
<attstr name="surface" val="b-concrete4-concrete-l1"/>
<attnum name="width" val="1.0"/>
<attstr name="style" val="plan"/>
</section>
</section>
<section name="Left Side">
<attstr name="surface" val="concrete"/>
<attnum name="end width" val="5"/>
<attnum name="banking end" unit="deg" val="-5"/>
</section>
<!-- <section name="turn2 exit">
<attstr name="type" val="lft"/>
<attnum name="radius" unit="m" val="150"/>
<attnum name="arc" unit="deg" val="30"/>
<attnum name="banking start" unit="deg" val="-24"/>
<attnum name="banking end" unit="deg" val="-9"/>
<section name="Left Border">
<attstr name="surface" val="b-concrete4-concrete-l1"/>
<attnum name="width" val="1.0"/>
<attstr name="style" val="plan"/>
</section>
<section name="Left Side">
<attstr name="surface" val="concrete"/>
<attnum name="end width" val="5"/>
<attnum name="banking end" unit="deg" val="-5"/>
</section>
</section> -->
<section name="backst entry">
<attstr name="type" val="str"/>
<attnum name="lg" unit="m" val="43.05"/>
<attnum name="banking start" unit="deg" val="-9"/>
<attnum name="banking end" unit="deg" val="-9"/>
<section name="Left Border">
<attstr name="surface" val="b-concrete4-concrete-l1p"/>
<attnum name="width" val="1.0"/>
<attstr name="style" val="plan"/>
</section>
<section name="Left Side">
<attstr name="surface" val="concrete"/>
<attnum name="end width" val="5"/>
</section>
</section> -->
<section name="line2-1">
<attstr name="type" val="str"/>
<attnum name="lg" unit="m" val="142.458"/>
<!-- <attnum name="banking start" unit="deg" val="-9"/>
<attnum name="banking end" unit="deg" val="-9"/> -->
</section>
<section name="line2-2">
<attstr name="type" val="str"/>
<attnum name="lg" unit="m" val="142.458"/>
<!-- <attnum name="banking start" unit="deg" val="-9"/>
<attnum name="banking end" unit="deg" val="-9"/> -->
</section>
<section name="turn3 entry">
<attstr name="type" val="lft"/>
<attnum name="radius" unit="m" val="152"/>
<attnum name="arc" unit="deg" val="60"/>
<attnum name="banking start" unit="deg" val="-9"/>
<attnum name="banking end" unit="deg" val="-24"/>
<section name="Left Border">
<attstr name="surface" val="b-concrete4-concrete-l1"/>
<attnum name="width" val="1.0"/>
<attstr name="style" val="plan"/>
</section>
<section name="Left Side">
<attstr name="surface" val="concrete"/>
<attnum name="end width" val="5"/>
<attnum name="banking end" unit="deg" val="-5"/>
</section>
</section>
<section name="turn 3">
<attstr name="type" val="lft"/>
<attnum name="radius" unit="m" val="152"/>
<attnum name="arc" unit="deg" val="60"/>
<attnum name="banking start" unit="deg" val="-24"/>
<attnum name="banking end" unit="deg" val="-24"/>
<section name="Left Border">
<attstr name="surface" val="b-concrete4-concrete-l1"/>
<attnum name="width" val="1.0"/>
<attstr name="style" val="plan"/>
</section>
</section>
<section name="turn 4">
<attstr name="type" val="lft"/>
<attnum name="radius" unit="m" val="152"/>
<attnum name="arc" unit="deg" val="55"/>
<attnum name="banking start" unit="deg" val="-24"/>
<attnum name="banking end" unit="deg" val="-9"/>
<section name="Left Border">
<attstr name="surface" val="b-concrete4-concrete-l1"/>
<attnum name="width" val="1.0"/>
<attstr name="style" val="plan"/>
</section>
</section>
<section name="pit entry">
<attstr name="type" val="lft"/>
<attnum name="radius" unit="m" val="152"/>
<attnum name="arc" unit="deg" val="5"/>
<!-- <attnum name="banking start" unit="deg" val="-9"/>
<attnum name="banking end" unit="deg" val="-9"/> -->
<section name="Left Border">
<attstr name="surface" val="b-concrete4-concrete-l1"/>
<attnum name="width" val="1.0"/>
<attstr name="style" val="plan"/>
</section>
<section name="Left Side">
<attstr name="surface" val="concrete"/>
<attnum name="end width" val="8"/>
<attnum name="banking end" unit="deg" val="0"/>
</section>
</section>
<section name="front st entry">
<attstr name="type" val="str"/>
<attnum name="lg" unit="m" val="41.45"/>
<!-- <attnum name="banking start" unit="deg" val="-9"/>
<attnum name="banking end" unit="deg" val="-9"/> -->
<section name="Left Border">
<attstr name="surface" val="b-concrete4-concrete-l1p"/>
<attnum name="width" val="1.0"/>
<attstr name="style" val="plan"/>
</section>
<section name="Left Side">
<attstr name="surface" val="concrete"/>
<attnum name="end width" val="8"/>
</section>
</section>
<section name="last seg">
<attstr name="type" val="str"/>
<attnum name="lg" unit="m" val="121.92"/>
<!-- <attnum name="banking start" unit="deg" val="-9"/>
<attnum name="banking end" unit="deg" val="-9"/> -->
<section name="Left Border">
<attstr name="surface" val="b-concrete4-concrete-l1"/>
<attnum name="width" val="1.0"/>
<attstr name="style" val="plan"/>
</section>
<section name="Left Side">
<attnum name="end width" val="10"/>
<attstr name="surface" val="concrete-pits"/>
<attstr name="type" in="level,tangent" val="level"/>
</section>
</section>
</section>
</section>
<!-- Cameras -->
<section name="Cameras">
<section name="cam 0">
<!-- Camera's position relative to a segment -->
<attstr name="segment" val="start lane"/>
<attnum name="to right" val="0"/>
<attnum name="to start" val="100"/>
<attnum name="height" val="4"/>
<!-- Camera field of view, indicates the first and last segment viewed -->
<attstr name="fov start" val="start lane"/> <!-- included -->
<attstr name="fov end" val="turn 1"/> <!-- excluded -->
</section>
<section name="cam 1">
<!-- Camera's position relative to a segment -->
<attstr name="segment" val="turn1-2"/>
<attnum name="to right" val="40"/>
<attnum name="to start" unit="deg" val="30"/>
<attnum name="height" val="2"/>
<!-- Camera field of view, indicates the first and last segment viewed -->
<attstr name="fov start" val="turn 1"/> <!-- included -->
<attstr name="fov end" val="line2-1"/> <!-- excluded -->
</section>
<section name="cam 2">
<!-- Camera's position relative to a segment -->
<attstr name="segment" val="line2-1"/>
<attnum name="to right" val="50"/>
<attnum name="to start" val="150"/>
<attnum name="height" val="4"/>
<!-- Camera field of view, indicates the first and last segment viewed -->
<attstr name="fov start" val="line2-1"/> <!-- included -->
<attstr name="fov end" val="line2-2"/> <!-- excluded -->
</section>
<section name="cam 3">
<!-- Camera's position relative to a segment -->
<attstr name="segment" val="line2-2"/>
<attnum name="to right" val="50"/>
<attnum name="to start" val="150"/>
<attnum name="height" val="4"/>
<!-- Camera field of view, indicates the first and last segment viewed -->
<attstr name="fov start" val="line2-2"/> <!-- included -->
<attstr name="fov end" val="turn 3"/> <!-- excluded -->
</section>
<section name="cam 4">
<!-- Camera's position relative to a segment -->
<attstr name="segment" val="turn2-2"/>
<attnum name="to right" val="40"/>
<attnum name="to start" unit="deg" val="30"/>
<attnum name="height" val="2"/>
<!-- Camera field of view, indicates the first and last segment viewed -->
<attstr name="fov start" val="turn 3"/> <!-- included -->
<attstr name="fov end" val="pit entry"/> <!-- excluded -->
</section>
<section name="cam 8">
<!-- Camera's position relative to a segment -->
<attstr name="segment" val="last seg"/>
<attnum name="to right" val="0"/>
<attnum name="to start" val="100"/>
<attnum name="height" val="4"/>
<!-- Camera field of view, indicates the first and last segment viewed -->
<attstr name="fov start" val="pit entry"/> <!-- included -->
<attstr name="fov end" val="start lane"/> <!-- excluded -->
</section>
</section>
</params>