Hi all,
After some time taken away from the project, I'm finally getting an
official v0.4.8 release out the door. Highlights are improved physics
(duh), a new car with cockpit view, and some basic multiplayer stuff
(although a lot of work still needs to be done there).
For a full list, see the log below.
It's Windows binary only still; Linux version (& source) will follow a
little later.
Get it at http://www.marketgraph.nl/gallery/racer/
Thanks to Claes Wikdahl for the new car (Evo6) with models, and thanks
to FMod (www.fmod.org) for the sound API.
Hope you enjoy it! (and that the sound works, hm).
Ruud
PS To get ahead of myself, in case of any problems:
- Move the old Racer directory out of the way before installing the
new version and (re)install.
- Troubleshooting tips at
http://www.marketgraph.nl/gallery/racer/trouble.htm.
- No sound? Try audio.ini's 'type=winmm'.
--- THE LOG ----
Racer v0.4.8
------------
Bugfixes:
- When the car bottomed out, the wheel could get stuck
for too long and gave strange forces, making the
car seem to float or fly.
- Ran Purify on Racer and this caught a lot of tiny bugs. Fixed
those and some memory leaks.
New features:
- Improved spline handling using full 3D surface patches;
retry the Oval once more and you'll feel the difference.
- Surface detection; multiple track surface types
- Kerb force feedback effects (thanks to the above)
- Added the Evo6 as the new default car. It can show off more
of Racer's capabilities than the Ferrari P4 can.
- Full 3D cockpit is now possible (separate models, 3D dials etc).
You can specify a special incar model for detailed cockpits.
- Steering wheel model possibility added (the Evo6 has one).
- Physics option to use suspension force for load instead of
direct tire forces. Idea by Paul Harrington. See debug.ini's
use_susp_as_load. Perhaps gives more stable grip.
- Basic UDP multiplayer facilities for LAN networks (no dropped
packets are traced so it will probably do very bad on
modem connections). Not much yet, don't hope for too much.
- Improved envmapping; now also possible on transparent windows
on multitexture-capable boards.
- Collision detection improved; it's harder to get stuck now,
either in the railing or in the track itself.
- 3D sound (using FMOD) on Windows & Linux (see http://www.fmod.org)
- Upgraded sound system to 16-bit, 22kHz (upgrade those samples!).
- Music possible in the menu; no music is included because that
would make the download bigger. Check racer.ini's menu.music.
Streaming MP3, WAV and some others are supported.
- Toe in/out for each wheel
- FOV settings added for each car camera
- Added an ActLabs Force RS FF control set. Note these things come
in various configurations. I now have a shifter, and support for
it will be added in a future version.
- Added a Microsoft Gamepad control set.
- TrackEd adds batch ASE import (useful for people making new tracks)
- Modeler can set shininess per material now.
- Modeler can edit ambient/specular/diffuse/emissive color per
material.
- 'F' in Modeler toggles current-material flashing.
- Optimize in Modeler improved.
- Carlab fixed to give correct car camera views.
- Carlab can now edit the car camera FOV.
- Carlab's dialog now shouldn't disappear on Win98 machines.
- Ran Purify on Racer and fixed quite a number of bugs that it found.
Has run cleanly through Purify (and you don't know how
clean that feels!).
New requirements:
- A TCP/IP network protocol, because every game now behaves
a bit like multiplayer.
Get it at http://www.marketgraph.nl/gallery/racer/
Enjoy!
Ruud van Gaal
Ruud van Gaal
Free car sim : http://www.marketgraph.nl/gallery/racer/
Pencil art : http://www.marketgraph.nl/gallery/
Racer v0.4.8 free car sim released
Ruud van Gaal announced version 0.4.8 of his free Racer sim with improved physics, a new car with a cockpit view and basic multiplayer. Gregor Veble and Sebastien Tixier discussed suspension load modelling and ray-to-Bezier-patch intersection. Van Gaal quickly posted a patched executable fixing missing sound on some cards, and helped with controller axis settings.
With Ruud van Gaal (Racer)
Automated summary.
Hi Ruud,
long time no hear! Now, to the goodies...
Ruud van Gaal wrote:
> - Improved spline handling using full 3D surface patches;
> retry the Oval once more and you'll feel the difference.
Sounds awesome, and I know of another person who will be happy to hear
this ;). Are you using any iteration schemes at this points or the
quad-spline maps of some sort?
> - Physics option to use suspension force for load instead of
> direct tire forces. Idea by Paul Harrington. See debug.ini's
> use_susp_as_load. Perhaps gives more stable grip.
Sounds like a glitch in the physics calcs to me, as the two should be
directly the same in stable conditions. You could have a period 2 (from
timestep to timestep) kind of oscillation in your system, perhaps a
revision of the integrator scheme would be appropriate.
I'll test it all when I get back home; can't wait to try it!
-Gregor
what a torture it's still not available on download at simracing news ...
;o)
Ruud van Gaal wrote:
> Hi all,
>
> - Physics option to use suspension force for load instead of
> direct tire forces. Idea by Paul Harrington. See debug.ini's
> use_susp_as_load. Perhaps gives more stable grip.
hehehe that's what i use in my model ;o) it's surely give more stable grip
but it's not right when suspensions are completly compressed : the load is
constant then.
btw, i found on a web site how to compute a REAL intersection between a
ray and a nezier patch. Maybe it could interset you because i read in your
site that you were using the u,v coordinate of theray in the triangle
under the path to compute u,v in the patch, and that is not perfectly
right.
regards,
--
Sebastien TIXIER - Game Developer
Dynamics and Car Physics
http://www.eden-studios.fr
GPLRank Normal:-44.24 Monster:-124.44
Gregor Veble wrote:
You can compute a ray/patch intersection directly.
you have to project the bezier patch on two orthogoal plane where plane
intersection is the ray. The do some mathematics and you have the
intersection point between the ray and the path.
well, let me retreive the web site.... ,o) [ checkin too big bookmarks
.... ]
damn... can't find it at works... i have it at home .. sorry...
regards,
--
Sebastien TIXIER - Game Developer
Dynamics and Car Physics
http://www.eden-studios.fr
GPLRank Normal:-44.24 Monster:-124.44
Quoted text (11 lines)
> Hi Ruud, > > long time no hear! Now, to the goodies... > > Ruud van Gaal wrote: > > - Improved spline handling using full 3D surface patches; > > retry the Oval once more and you'll feel the difference. > > Sounds awesome, and I know of another person who will be happy to hear > this ;). Are you using any iteration schemes at this points or the > quad-spline maps of some sort?Hi Sebastien,
thanks for the info. I think I can work from the general idea that
you've given, but the link would be nice to have as well :o). It must
require some solving of cubic equations, right?
-Gregor
Sebastien Tixier wrote:
>
>
> you have to project the bezier patch on two orthogoal plane where plane
> intersection is the ray. The do some mathematics and you have the
> intersection point between the ray and the path.
>
> After some time taken away from the project, I'm finally getting an
> official v0.4.8 release out the door. Highlights are improved physics
> (duh), a new car with cockpit view, and some basic multiplayer stuff
> (although a lot of work still needs to be done there).
> For a full list, see the log below.
Nice :-D Just downloading it now - I notice NT4 isn't listed as working OS.
Does it work or not? I suppose I should really get round to installing
Win2k at home. I'm amazed you manage to keep it at just over 5Mb - that's
amazing!
Cheers,
Andy
--
PC-Based Multimedia System
http://groups.yahoo.com/group/htpc
NB: Spamtrap - my name @yahoo.co.uk
Quoted text (7 lines)
> > After some time taken away from the project, I'm finally getting an > > official v0.4.8 release out the door. Highlights are improved physics > > (duh), a new car with cockpit view, and some basic multiplayer stuff > > (although a lot of work still needs to be done there). > > For a full list, see the log below. > > Nice :-D Just downloading it now - I notice NT4 isn't listed as workingdon't forget the heisenberg compensators!;P
sudesh
"Gregor Veble" <[email hidden]> schreef in bericht
news:[email hidden]...
Quoted text (15 lines)
> Hi Sebastien, > > thanks for the info. I think I can work from the general idea that > you've given, but the link would be nice to have as well :o). It must > require some solving of cubic equations, right? > > -Gregor > > Sebastien Tixier wrote: > > > > > > you have to project the bezier patch on two orthogoal plane where plane > > intersection is the ray. The do some mathematics and you have the > > intersection point between the ray and the path. > >On Thu, 04 Oct 2001 12:23:29 +0200, Gregor Veble
<[email hidden]> wrote:
>Hi Ruud,
>
>long time no hear! Now, to the goodies...
Hi Gregor! Yes, long time. Had no time at all for nearly 3 weeks for a
show in Germany. :(
Back now, and fortunately got a little more time now and noticed I
didn't get out of the project completely (I mean, that it lost my
interest after a good time away from it).
>Ruud van Gaal wrote:
>> - Improved spline handling using full 3D surface patches;
>> retry the Oval once more and you'll feel the difference.
>
>Sounds awesome, and I know of another person who will be happy to hear
>this ;).
Perhaps he could give a demo on how it's working now. ;-)
> Are you using any iteration schemes at this points or the
>quad-spline maps of some sort?
No iterations, and not even the quad-ray intersection calculations
(still the tri-ray intersection). :) And a bursting tasklist; every
implemented thing gives more & more new things to do.
>> - Physics option to use suspension force for load instead of
>> direct tire forces. Idea by Paul Harrington. See debug.ini's
>> use_susp_as_load. Perhaps gives more stable grip.
>
>Sounds like a glitch in the physics calcs to me, as the two should be
>directly the same in stable conditions.
Yes, that is the point; in stable conditions. The suspension force
allows me to keep the sim frequency relatively low. The tire rates
(+/- 200,000) are much worse than the suspension spring rates (+/-
75,000 depending). Haven't tested it with a wheel yet, but from what I
heard from the beta's it feels much better.
> You could have a period 2 (from
>timestep to timestep) kind of oscillation in your system, perhaps a
>revision of the integrator scheme would be appropriate.
Yes, the period 2 was suggested (that the wheel was quickly bouncing
off and on the surface) by Paul, and I suggested I'd perhaps have to
try RK4 or inner loops or something. But other things took precedence
and the suspension trick seems to keep things nearly the same.
>I'll test it all when I get back home; can't wait to try it!
Have fun! It will probably not be too different from the last beta you
got though. (well, except for the interior view)
Ruud van Gaal
Free car sim : http://www.marketgraph.nl/gallery/racer/
Pencil art : http://www.marketgraph.nl/gallery/
On Thu, 04 Oct 2001 12:49:20 +0200, Sebastien Tixier
<[email hidden]> wrote:
>You can compute a ray/patch intersection directly.
Yes, I tried to find one of those several times but never found one on
Google. Thanks for the link!
I'll see if it fits a bit with the 3 splined system (I use 3 separate
1-dimensional splines; might be faster if I create a new class which
does 3D internally and skip some calcs). Well, most time is spent in
graphics and collision detection anyway still (gotta get a quadtree
in).
>you have to project the bezier patch on two orthogoal plane where plane
>intersection is the ray. The do some mathematics and you have the
>intersection point between the ray and the path.
I'm checking out the URL. Seems very brief. ;-) It's Gregor to the
rescue?
Ruud van Gaal
Free car sim : http://www.marketgraph.nl/gallery/racer/
Pencil art : http://www.marketgraph.nl/gallery/
On Thu, 4 Oct 2001 17:10:54 +0200, "sudesh"
<[email hidden]> wrote:
>don't forget the heisenberg compensators!;P
And the resulting source code! ;-)
Ruud van Gaal
Free car sim : http://www.marketgraph.nl/gallery/racer/
Pencil art : http://www.marketgraph.nl/gallery/
Quoted text (7 lines)
>"Gregor Veble" <[email hidden]> schreef in bericht >news:[email hidden]... >> Hi Sebastien, >> >> thanks for the info. I think I can work from the general idea that >> you've given, but the link would be nice to have as well :o). It must >> require some solving of cubic equations, right?On Thu, 04 Oct 2001 12:27:48 +0200, Sebastien Tixier
<[email hidden]> wrote:
Ouch, nice one there. That's true, I'll have to try some jumps there.
:) Will have to switch to tire_rate forces when that happens.
>btw, i found on a web site how to compute a REAL intersection between a
>ray and a nezier patch. Maybe it could interset you because i read in your
>site that you were using the u,v coordinate of theray in the triangle
>under the path to compute u,v in the patch, and that is not perfectly
>right.
Yes, indeed. Gregor already mentioned the solution to that by
iterating closer & closer to the actual (u,v) coordinate.
The problem for the intersection here perhaps is that I don't have
Bezier patches, but actually 3D hermite surfaces (so just 3 1D splines
combined).
Thanks,
Ruud van Gaal
Free car sim : http://www.marketgraph.nl/gallery/racer/
Pencil art : http://www.marketgraph.nl/gallery/
Quoted text (14 lines)
>what a torture it's still not available on download at simracing news ... >;o) > >Ruud van Gaal wrote: > >> Hi all, >> >> - Physics option to use suspension force for load instead of >> direct tire forces. Idea by Paul Harrington. See debug.ini's >> use_susp_as_load. Perhaps gives more stable grip. > >hehehe that's what i use in my model ;o) it's surely give more stable grip >but it's not right when suspensions are completly compressed : the load is >constant then.On Thu, 4 Oct 2001 14:29:35 +0100, "Andy Laurence"
<[email hidden]> wrote:
NT4 goes upto DX5? You'll need DX7 at least to be able to run it,
sorry.
> I suppose I should really get round to installing
>Win2k at home. I'm amazed you manage to keep it at just over 5Mb - that's
>amazing!
Unzipped it's 16.5Mb something, but that's because the .tga files get
so big (uncompressed). And ofcourse, adding tracks and cars is a nice
way to soak up memory. The Racer exe is only 276K though; still a lot
for code I think. But I'm oldfashioned. ;-)
Ruud van Gaal
Free car sim : http://www.marketgraph.nl/gallery/racer/
Pencil art : http://www.marketgraph.nl/gallery/
Quoted text (8 lines)
>> After some time taken away from the project, I'm finally getting an >> official v0.4.8 release out the door. Highlights are improved physics >> (duh), a new car with cockpit view, and some basic multiplayer stuff >> (although a lot of work still needs to be done there). >> For a full list, see the log below. > >Nice :-D Just downloading it now - I notice NT4 isn't listed as working OS. >Does it work or not?Quoted text (7 lines)
> >> After some time taken away from the project, I'm finally getting an > >> official v0.4.8 release out the door. Highlights are improved physics > >> (duh), a new car with cockpit view, and some basic multiplayer stuff > >> (although a lot of work still needs to be done there). > >> For a full list, see the log below. > > > >Nice :-D Just downloading it now - I notice NT4 isn't listed as workinghi !
i use win2000 and directx 8.0
no sound at all in Free Racer :o(
--
S�bastien TIXIER - Game Developer
Dynamics and Car Physics
Overall GPLRank -44.24
Monster GPLRank -124.44
On Fri, 05 Oct 2001 15:11:01 +0200, S�bastien Tixier
<[email hidden]> wrote:
>hi !
>
>i use win2000 and directx 8.0
>
>no sound at all in Free Racer :o(
Yep, somehow a problem I couldn't even get out with Purify not
complaining. :( Well, at least for some people, sound still doesn't
work.
Try setting the driver type in audio.ini:
type=winmm
The default type is empty (autodetect) and that probably uses dsound.
WinMM is not preferable but some people seem to have succes with it
and not even a big delay in the sound as well.
Hope that helps,
Ruud van Gaal
Free car sim : http://www.marketgraph.nl/gallery/racer/
Pencil art : http://www.marketgraph.nl/gallery/
On Fri, 05 Oct 2001 15:11:01 +0200, S�bastien Tixier
<[email hidden]> wrote:
>hi !
>
>i use win2000 and directx 8.0
>
>no sound at all in Free Racer :o(
Now that you mention it; perhaps I'm mixing DSound for DX7 (the
interface, that is) with FMod's use of DX8. Hm. I don't think I open
DirectSound directly (I use FMod instead) but it may be that during
the loading of samples this is done nevertheless, and perhaps there's
a conflict then because DX7's and DX8's DirectSounds interfaces are
both in use.
Just a guess.
Ruud van Gaal
Free car sim : http://www.marketgraph.nl/gallery/racer/
Pencil art : http://www.marketgraph.nl/gallery/
--
Michael A. Barlow
currently Acting as "Head of Marketing"
FILSCA (www.filsca.com)
"Ruud van Gaal" <[email hidden]> wrote in message
news:[email hidden]...
> On Fri, 05 Oct 2001 15:11:01 +0200, S�bastien Tixier
> <[email hidden]> wrote:
>
> >hi !
> >
> >i use win2000 and directx 8.0
> >
> >no sound at all in Free Racer :o(
>
> Now that you mention it; perhaps I'm mixing DSound for DX7 (the
> interface, that is) with FMod's use of DX8. Hm. I don't think I open
> DirectSound directly (I use FMod instead) but it may be that during
> the loading of samples this is done nevertheless, and perhaps there's
> a conflict then because DX7's and DX8's DirectSounds interfaces are
> both in use.
> Just a guess.
>
>
> Ruud van Gaal
> Free car sim : http://www.marketgraph.nl/gallery/racer/
> Pencil art : http://www.marketgraph.nl/gallery/
I also had a problem with the sound. (win98 with DX8 I think). I
changed the audio.ini to use winmm and all is fine:-)
During the last versions of Racer I had a controller problem where when
I turn left, the car turned right. I fixed that by rewiring the steering
pot in reverse. I still have a problem with no brakes though. Odds are
it's also a wiring problem and I won't know until I attempt it. In the mean
time, now that the steering works, It seems to be a digital steering where
the slightest twitch to the wheel turns the front wheel to the full lock
position. I'm currently using the generic input device listed in the Racer
Config app. I'll try others and see what happens.
Home made 4 axis, 2 button controller system running through the SB Live
game port.
steering on one axis,
brake on #2,
gas on #3,
clutch on #4,
two buttons for shifting
Quoted text (24 lines)
> > > > >hi ! > > > > > >i use win2000 and directx 8.0 > > > > > >no sound at all in Free Racer :o( > > > > Now that you mention it; perhaps I'm mixing DSound for DX7 (the > > interface, that is) with FMod's use of DX8. Hm. I don't think I open > > DirectSound directly (I use FMod instead) but it may be that during > > the loading of samples this is done nevertheless, and perhaps there's > > a conflict then because DX7's and DX8's DirectSounds interfaces are > > both in use. > > Just a guess. > > > > > > Ruud van Gaal > > Free car sim : http://www.marketgraph.nl/gallery/racer/ > > Pencil art : http://www.marketgraph.nl/gallery/ > > I also had a problem with the sound. (win98 with DX8 I think). I > changed the audio.ini to use winmm and all is fine:-) > > During the last versions of Racer I had a controller problem whereQuoted text (10 lines)
> Config app. I'll try others and see what happens. > > Home made 4 axis, 2 button controller system running through the SB Live > game port. > steering on one axis, > brake on #2, > gas on #3, > clutch on #4, > two buttons for shifting >On Fri, 05 Oct 2001 13:59:39 GMT, "Michael Barlow"
<[email hidden]> wrote:
> I also had a problem with the sound. (win98 with DX8 I think). I
>changed the audio.ini to use winmm and all is fine:-)
Hm, let me guess; you've got an SBLive (oh duh, that's down below)?
That's a card with 3D hardware accelerated sound, right?
I read on the FMod forum a similar problem to mine. I might post a
patch exe on the forum soon to try if this is the problem (and get it
back to work on DirectSound).
> During the last versions of Racer I had a controller problem where when
>I turn left, the car turned right. I fixed that by rewiring the steering
>pot in reverse. I still have a problem with no brakes though.
Does the axis show up in the Control Peeker? And as what axis?
The control set files are really quite flexible; I can mix several
controllers, use 2 wheels (I have an MSFF and an ActLabs ForceRS with
Shifter), whatever, as my controller config.
Ruud van Gaal
Free car sim : http://www.marketgraph.nl/gallery/racer/
Pencil art : http://www.marketgraph.nl/gallery/
On Fri, 05 Oct 2001 13:38:11 GMT, [email hidden] (Ruud van Gaal)
wrote:
You may try a patched exe at:
http://racer.racesim.net/download/beta/rr0481.zip (127Kb)
This exe plays the sound differently; the original one used a
hardcoded channel starting at 0, which doesn't seem appropriate when
there's a hardware audio board inside the machine. Read about this
problem on the FMod forum, and this patched exe works here (but I
don't have an SBLive, just a regular SB16 supercheapovalue-edition).
Might solve that problem.
Ruud van Gaal
Free car sim : http://www.marketgraph.nl/gallery/racer/
Pencil art : http://www.marketgraph.nl/gallery/
Quoted text (8 lines)
>On Fri, 05 Oct 2001 15:11:01 +0200, S�bastien Tixier ><[email hidden]> wrote: > >>no sound at all in Free Racer :o( > >Yep, somehow a problem I couldn't even get out with Purify not >complaining. :( Well, at least for some people, sound still doesn't >work.wonderful, it solved the problem ;o)
--
S�bastien TIXIER - Game Developer
Dynamics and Car Physics
Overall GPLRank -44.24
Monster GPLRank -114.44
--
Michael A. Barlow
currently Acting as "Head of Marketing"
FILSCA (www.filsca.com)
> > During the last versions of Racer I had a controller problem where
when
> >I turn left, the car turned right. I fixed that by rewiring the steering
> >pot in reverse. I still have a problem with no brakes though.
>
> Does the axis show up in the Control Peeker? And as what axis?
> The control set files are really quite flexible; I can mix several
> controllers, use 2 wheels (I have an MSFF and an ActLabs ForceRS with
> Shifter), whatever, as my controller config.
>
X axis: -0- (steering: left = -1000, -to- right= +1000)
Y axis: -0- (gas: from 0 to -1000)
Z axis: -1000 (brake: -1000 to mid way down is 0. then continuing down from
0 to +1000)
X rotation (grayed out)
Y rotation (grayed out)
Z Rotation: 1000 (clutch: wired up but not mechanically workable)
slider1 (grayed out)
slider2 (grayed out)
POV: (no values)
Buttons: 01 and 00
On Fri, 05 Oct 2001 17:46:37 GMT, "Michael Barlow"
<[email hidden]> wrote:
>> > During the last versions of Racer I had a controller problem where
>when
>> >I turn left, the car turned right. I fixed that by rewiring the steering
>> >pot in reverse. I still have a problem with no brakes though.
>>
>> Does the axis show up in the Control Peeker? And as what axis?...
So if you have (in data/ctrlsets/barlow.ini for example):
throttle
{ axis=y
min=0
max=-1000
}
brakes
{
axis=z
min=-1000
max=1000
}
Doesn't that give you brakes? There's an info screen btw (press ^I
repeatedly until you get to controllers) which may display the
throttle/braking in a percentage.
Ruud van Gaal
Free car sim : http://www.marketgraph.nl/gallery/racer/
Pencil art : http://www.marketgraph.nl/gallery/
Quoted text (7 lines)
>X axis: -0- (steering: left = -1000, -to- right= +1000) >Y axis: -0- (gas: from 0 to -1000) >Z axis: -1000 (brake: -1000 to mid way down is 0. then continuing down from >0 to +1000) >X rotation (grayed out) >Y rotation (grayed out) >Z Rotation: 1000 (clutch: wired up but not mechanically workable)On Thu, 4 Oct 2001 14:45:06 +0100, Andy Laurence <[email hidden]> wrote:
No way win2k hey that rhymes ;-) Linux rocks, and Racer so far
is the only available, ready to run "driving simulator" on
this platform.
Ruud, you can go on using those w2k cd's as beer coasters. ;-)
Uwe
--
Uwe Schuerkamp //////////////////////////// http://www.schuerkamp.de/
Herford, Germany \\\\\\\\\\\\\\\\\\\\\\\\\\ (52.0N/8.5E)
Ever wondered what's wrong with the world? http://bnetwork.com/
PGP Fingerprint: 2E 13 20 22 9A 3F 63 7F 67 6F E9 B1 A8 36 A4 61


































