Racer

Ruud

RACER Developer
Welcome to RaceDepartment. :)
As RSC has been offline for quite a while, RaceDepartment has been gracious enough to host a temporary Racer forum.

To kick it off, here is Racer v0.8.0. Warning: all things are set to target relatively high-end graphics card. nVidia 7950+ somewhat. Onboard cards will not do.

The download is at http://www.racer.nl/download/racer080.zip (42Mb).
If you have an ATI card, Cg shaders may not work due to a bug in Cg 2.1. Try the patched racer.exe from http://www.racer.nl/download/racer081a_patch.zip (1Mb).

Hope you can enjoy it!
Ruud

The patch (really a preview of v0.8.1, so interesting for nVidia users as well) changes these, although no data files are included you can check out some things already:
- Added envmap.live_track.sides_per_frame to set update count of live envmap
- Car.ini camera<n>.view variables were read, but never used. Removed loading them, they are (and were) obsolete.
- LOD (level of detail) for objects is now adjusted to take into account the camera FOV (normal FOV=50).
- Split fullscreen_shaders directory into LDR and HDR variants (data/renderer/fullscreen_shaders_hdr and _ldr).
- Added car.ini engine.idle_method to avoid throttle being slightly open all the time. See http://www.racer.nl/tutorial/engine.htm
- Now enforcing engine.stall_rpm to be at least 100 rpm less than idle_rpm to enable the new idle_method 1.
- Added engine.braking_torque_curve to specify a curve for the engine braking instead of the linear parameters.
(the Lambo now uses such a curve for demonstration)
- Modified smoke particles to have no velocity. Also increased the brightness somewhat.
- Bloom map was 16-bit, now 8-bit.
- Added car.ini audio.skid audioset based on skid amount (around 0..2). This allows subtle scrub sounds before
going to screeching & screaming.
- Added 'gearwhine_off' audioset for gearwhine under deceleration circumstances.
- Fuel consumption was based on engine output torque, added internal friction (engine braking torque) in fuel use calculations.
- Renamed racer.ini variable 'collision.report_car_trk' to 'collision.report_car_track_collision'
- Added car.ini's reboundstop_len and reboundstop_k for much the same as a bumpstop, only to prevent wheels falling through susp<n>.maxlen
see http://www.racer.nl/tutorial/suspensions.htm#reboundstops
- susp<n>.restlen no longer needs to be smaller than maxlen. It ignored precompression that way.
- Added fuel.rof to overrule the fuel grams/liter parameter. Normally it's around 700 for regular petrol.
- Added views.ini 'invert' field (0/1) which inverts the variable (like 'factor' which multiplies it)

The list of changes since v0.7.3:

- Bugfix: OpenGL3.0 drivers would crash Racer due to a mistake in getting some extension function pointers.
- Bugfix: track's with special.ini gfx.time below 1000 (10am) were not interpreted correctly.
- Bugfix: turning on projected lights no longer kills some 3D dials
- Heavily modified Cg shaders. Also added a lot more. See http://racer.nl/tutorial/gpushader.htm
- Projected lights used alphafunc, which made lights on semi-transparent object pixely.
- Added car.ini's model_reverse_l/r models for true rear lights. This should do away with the views.ini hack to add reverse lights.
- Modified live track envmapping to not do all sides every frame. Lots faster.
- Removed dbg_stats tree in racer.ini (it was obsolete).
- Added 'clouds' script command for Cg-shaded skies, added 'clouds' uniform float parameter for Cg shaders (0..1).
- Also added 'clouds' in a track's special.ini (env.clouds)
- Added resolution.vsync to sync to display frequency or not (0=max fps, 1=sync, >1=set interval)
- Added moving helmet (+pilot body) model option in car.ini. See http://www.racer.nl/tutorial/helmet.htm
- Raised the number of possible flares for each car to 20 (was 10)
- Simple (single-polygon) shadows for car views without a body model are now turned off.
- Removed 'fx.sky_enable' option. The sky is always on.
- Removed 'gfx.reflections' option. Was/is obsolete.
- Added graphics.show_names to be able to indicate driver names floating above cars.
- Added mirrors.texture.fbo setting to render into an offscreen framebuffer object (faster)
- Added mirrors.texture.fbo_samples setting to enable anti-aliasing of the mirror.
- Added HDR rendering basics (renderer.hdr.enable=1). Uses data/renderer/shaders_hdr directory if enabled, shaders_ldr otherwise.
- Added Bloom rendering for HDR mode (renderer.bloom.enable=1).
- Split data/renderer/shaders directory in two: shaders_ldr and shaders_hdr. HDR is the way to go. LDR will be deprecated.
- Added ini.auto_lights setting (0/1) to determine with time-of-day controls a car's light automatically
- Added shader 'reflect' material property for reflective Cg shaders (in the same line as diffuse, ambient, specular etc).
Use this in conjunction with [dyn_]shader_reflective_v/f.cg for example.
- Added car.shd/track.shd 'motion_blur' variable to turn off motion blur velocity map generation for certain shaders (wheels mostly).
- Added auto-exposure settings for HDR rendering (racer.ini:renderer.auto_exposure.*)
- Added fx.sun.auto_time_of_day to track real current (PC) time for the time of day in Racer
- Added fx.sun.fast_time_factor to set time speed. Normally 0 for no time change, 1 for realtime, >1=faster than realtime
- Added fueltank in cars. See data/cars/default/car.ini (fuel.* settings). Currently in alpha. No fuel means no throttle.
- Added fuel view variables for views.ini files (for cars). See http://www.racer.nl/tutorial/fuel.htm for details.
- Added formatting option for views.ini; 'float_1' displays a value with 1 decimal (for example: 123.4).
- Added 'sample_hold' option for view elements to get slow-updating dials (mostly useful for digital dashboards)
- Added fx.sun.flare option to remove sun flare. It doesn't match with the Cg sun position.
 
Smoke now gets a negative car velocity, plus some randomness. I've taken out the velocity, just using 0 for v0.8.1. Hope that pleases you. ;)

Damage is not really high on the priority list (except car-car & car-track hitting sounds).

Heh heh Thanks Ruud, I know it's petty but Racer looks so good now the
quickly rising smoke was standing out.

Kinda thought the damage modeling was pushing it, but had to throw it
out there. ;)

Looking forward to the new sounds! :glasses-cool:

Thanks Again
Alex Forbin
 
I have the exact same problem with 0.80

QLOG

Wed Apr 08 11:51:01 (INFO): [noqapp/1124] --- application start ---
Wed Apr 08 11:51:01 (INFO): [noqapp/1124] 4 processor(s); setting affinity to 0x1
Wed Apr 08 11:51:01 (INFO): [racer/1124] Racer version: 0.8.0 (Apr 2 2009/14:57:35)
Wed Apr 08 11:51:02 (WARN): [racer/1124] DFBOTexture: hardware only supports 8 samples; reducing requested 16
Wed Apr 08 11:51:02 (WARN): [racer/1124] DGPUShaderManager:MakeObject(data/renderer/fullscreen_shaders/hdr_bloom_motionblur_vign2_f.cg): can't create CG fragment shader program
Wed Apr 08 11:51:02 (WARN): [racer/1124] DGPUShaderManager: [data/renderer/fullscreen_shaders/hdr_bloom_motionblur_vign2_f.cg] CG ERROR : The compile returned an error.
Wed Apr 08 11:51:02 (WARN): [racer/1124] (0) : warning C6502: Profile option 'NumInstructionSlots' value (-1) too small; clamped to 0
(0) : warning C6502: Profile option 'NumTexInstructionSlots' value (-1) too small; clamped to 0
(0) : warning C6502: Profile option 'NumMathInstructionSlots' value (-1) too small; clamped to 0
(0) : warning C6503: Profile option 'MaxDrawBuffers' value (8) too large; clamped to 4
(0) : warning C6502: Profile option 'NumInstructionSlots' value (-1) too small; clamped to 0
(0) : warning C6502: Profile option 'NumTexInstructionSlots' value (-1) too small; clamped to 0
(0) : warning C6502: Profile option 'NumMathInstructionSlots' value (-1) too small; clamped to 0
(0) : warning C6503: Profile option 'MaxDrawBuffers' value (8) too large; clamped to 4
data/renderer/fullscreen_shaders/motion_blur.cg(67) : warning C7050: "color-0002" might be used before being initialized
(0) : error C6002: Instruction limit of 0 exceeded; 174 instructions needed to compile program
Wed Apr 08 11:51:03 (INFO): [noqapp/1396] --- application start ---
Wed Apr 08 11:51:03 (INFO): [noqapp/1396] 4 processor(s); setting affinity to 0x1
Wed Apr 08 11:51:03 (INFO): [racer/1396] Racer version: 0.8.0 (Apr 2 2009/14:57:35)
Wed Apr 08 11:51:04 (WARN): [racer/1396] DFBOTexture: hardware only supports 8 samples; reducing requested 16
Wed Apr 08 11:51:04 (WARN): [racer/1396] DGPUShaderManager:MakeObject(data/renderer/fullscreen_shaders/hdr_bloom_motionblur_vign2_f.cg): can't create CG fragment shader program
Wed Apr 08 11:51:04 (WARN): [racer/1396] DGPUShaderManager: [data/renderer/fullscreen_shaders/hdr_bloom_motionblur_vign2_f.cg] CG ERROR : The compile returned an error.
Wed Apr 08 11:51:04 (WARN): [racer/1396] (0) : warning C6502: Profile option 'NumInstructionSlots' value (-1) too small; clamped to 0
(0) : warning C6502: Profile option 'NumTexInstructionSlots' value (-1) too small; clamped to 0
(0) : warning C6502: Profile option 'NumMathInstructionSlots' value (-1) too small; clamped to 0
(0) : warning C6503: Profile option 'MaxDrawBuffers' value (8) too large; clamped to 4
(0) : warning C6502: Profile option 'NumInstructionSlots' value (-1) too small; clamped to 0
(0) : warning C6502: Profile option 'NumTexInstructionSlots' value (-1) too small; clamped to 0
(0) : warning C6502: Profile option 'NumMathInstructionSlots' value (-1) too small; clamped to 0
(0) : warning C6503: Profile option 'MaxDrawBuffers' value (8) too large; clamped to 4
data/renderer/fullscreen_shaders/motion_blur.cg(67) : warning C7050: "color-0002" might be used before being initialized
(0) : error C6002: Instruction limit of 0 exceeded; 174 instructions needed to compile program
Wed Apr 08 11:51:04 (INFO): [noqapp/1760] --- application start ---
Wed Apr 08 11:51:04 (INFO): [noqapp/1760] 4 processor(s); setting affinity to 0x1
Wed Apr 08 11:51:04 (INFO): [racer/1760] Racer version: 0.8.0 (Apr 2 2009/14:57:35)
Wed Apr 08 11:51:05 (WARN): [racer/1760] DFBOTexture: hardware only supports 8 samples; reducing requested 16
Wed Apr 08 11:51:05 (WARN): [racer/1760] DGPUShaderManager:MakeObject(data/renderer/fullscreen_shaders/hdr_bloom_motionblur_vign2_f.cg): can't create CG fragment shader program
Wed Apr 08 11:51:05 (WARN): [racer/1760] DGPUShaderManager: [data/renderer/fullscreen_shaders/hdr_bloom_motionblur_vign2_f.cg] CG ERROR : The compile returned an error.
Wed Apr 08 11:51:05 (WARN): [racer/1760] (0) : warning C6502: Profile option 'NumInstructionSlots' value (-1) too small; clamped to 0
(0) : warning C6502: Profile option 'NumTexInstructionSlots' value (-1) too small; clamped to 0
(0) : warning C6502: Profile option 'NumMathInstructionSlots' value (-1) too small; clamped to 0
(0) : warning C6503: Profile option 'MaxDrawBuffers' value (8) too large; clamped to 4
(0) : warning C6502: Profile option 'NumInstructionSlots' value (-1) too small; clamped to 0
(0) : warning C6502: Profile option 'NumTexInstructionSlots' value (-1) too small; clamped to 0
(0) : warning C6502: Profile option 'NumMathInstructionSlots' value (-1) too small; clamped to 0
(0) : warning C6503: Profile option 'MaxDrawBuffers' value (8) too large; clamped to 4
data/renderer/fullscreen_shaders/motion_blur.cg(67) : warning C7050: "color-0002" might be used before being initialized
(0) : error C6002: Instruction limit of 0 exceeded; 174 instructions needed to compile program
Wed Apr 08 11:51:06 (INFO): [noqapp/3020] --- application start ---
Wed Apr 08 11:51:06 (INFO): [noqapp/3020] 4 processor(s); setting affinity to 0x1
Wed Apr 08 11:51:06 (INFO): [racer/3020] Racer version: 0.8.0 (Apr 2 2009/14:57:35)
Wed Apr 08 11:51:06 (WARN): [racer/3020] DFBOTexture: hardware only supports 8 samples; reducing requested 16
Wed Apr 08 11:51:06 (WARN): [racer/3020] DGPUShaderManager:MakeObject(data/renderer/fullscreen_shaders/hdr_bloom_motionblur_vign2_f.cg): can't create CG fragment shader program
Wed Apr 08 11:51:06 (WARN): [racer/3020] DGPUShaderManager: [data/renderer/fullscreen_shaders/hdr_bloom_motionblur_vign2_f.cg] CG ERROR : The compile returned an error.
Wed Apr 08 11:51:06 (WARN): [racer/3020] (0) : warning C6502: Profile option 'NumInstructionSlots' value (-1) too small; clamped to 0
(0) : warning C6502: Profile option 'NumTexInstructionSlots' value (-1) too small; clamped to 0
(0) : warning C6502: Profile option 'NumMathInstructionSlots' value (-1) too small; clamped to 0
(0) : warning C6503: Profile option 'MaxDrawBuffers' value (8) too large; clamped to 4
(0) : warning C6502: Profile option 'NumInstructionSlots' value (-1) too small; clamped to 0
(0) : warning C6502: Profile option 'NumTexInstructionSlots' value (-1) too small; clamped to 0
(0) : warning C6502: Profile option 'NumMathInstructionSlots' value (-1) too small; clamped to 0
(0) : warning C6503: Profile option 'MaxDrawBuffers' value (8) too large; clamped to 4
data/renderer/fullscreen_shaders/motion_blur.cg(67) : warning C7050: "color-0002" might be used before being initialized
(0) : error C6002: Instruction limit of 0 exceeded; 174 instructions needed to compile program
Wed Apr 08 11:51:12 (INFO): [noqapp/3148] --- application start ---
Wed Apr 08 11:51:12 (INFO): [noqapp/3148] 4 processor(s); setting affinity to 0x1
Wed Apr 08 11:51:12 (INFO): [racer/3148] Racer version: 0.8.0 (Apr 2 2009/14:57:35)
Wed Apr 08 11:51:12 (WARN): [racer/3148] DFBOTexture: hardware only supports 8 samples; reducing requested 16
Wed Apr 08 11:51:12 (WARN): [racer/3148] DGPUShaderManager:MakeObject(data/renderer/fullscreen_shaders/hdr_bloom_motionblur_vign2_f.cg): can't create CG fragment shader program
Wed Apr 08 11:51:12 (WARN): [racer/3148] DGPUShaderManager: [data/renderer/fullscreen_shaders/hdr_bloom_motionblur_vign2_f.cg] CG ERROR : The compile returned an error.
Wed Apr 08 11:51:12 (WARN): [racer/3148] (0) : warning C6502: Profile option 'NumInstructionSlots' value (-1) too small; clamped to 0
(0) : warning C6502: Profile option 'NumTexInstructionSlots' value (-1) too small; clamped to 0
(0) : warning C6502: Profile option 'NumMathInstructionSlots' value (-1) too small; clamped to 0
(0) : warning C6503: Profile option 'MaxDrawBuffers' value (8) too large; clamped to 4
(0) : warning C6502: Profile option 'NumInstructionSlots' value (-1) too small; clamped to 0
(0) : warning C6502: Profile option 'NumTexInstructionSlots' value (-1) too small; clamped to 0
(0) : warning C6502: Profile option 'NumMathInstructionSlots' value (-1) too small; clamped to 0
(0) : warning C6503: Profile option 'MaxDrawBuffers' value (8) too large; clamped to 4
data/renderer/fullscreen_shaders/motion_blur.cg(67) : warning C7050: "color-0002" might be used before being initialized
(0) : error C6002: Instruction limit of 0 exceeded; 174 instructions needed to compile program
Wed Apr 08 11:51:13 (INFO): [noqapp/3324] --- application start ---
Wed Apr 08 11:51:13 (INFO): [noqapp/3324] 4 processor(s); setting affinity to 0x1
Wed Apr 08 11:51:13 (INFO): [racer/3324] Racer version: 0.8.0 (Apr 2 2009/14:57:35)
Wed Apr 08 11:51:13 (WARN): [racer/3324] DFBOTexture: hardware only supports 8 samples; reducing requested 16
Wed Apr 08 11:51:13 (WARN): [racer/3324] DGPUShaderManager:MakeObject(data/renderer/fullscreen_shaders/hdr_bloom_motionblur_vign2_f.cg): can't create CG fragment shader program
Wed Apr 08 11:51:13 (WARN): [racer/3324] DGPUShaderManager: [data/renderer/fullscreen_shaders/hdr_bloom_motionblur_vign2_f.cg] CG ERROR : The compile returned an error.
Wed Apr 08 11:51:13 (WARN): [racer/3324] (0) : warning C6502: Profile option 'NumInstructionSlots' value (-1) too small; clamped to 0
(0) : warning C6502: Profile option 'NumTexInstructionSlots' value (-1) too small; clamped to 0
(0) : warning C6502: Profile option 'NumMathInstructionSlots' value (-1) too small; clamped to 0
(0) : warning C6503: Profile option 'MaxDrawBuffers' value (8) too large; clamped to 4
(0) : warning C6502: Profile option 'NumInstructionSlots' value (-1) too small; clamped to 0
(0) : warning C6502: Profile option 'NumTexInstructionSlots' value (-1) too small; clamped to 0
(0) : warning C6502: Profile option 'NumMathInstructionSlots' value (-1) too small; clamped to 0
(0) : warning C6503: Profile option 'MaxDrawBuffers' value (8) too large; clamped to 4
data/renderer/fullscreen_shaders/motion_blur.cg(67) : warning C7050: "color-0002" might be used before being initialized
(0) : error C6002: Instruction limit of 0 exceeded; 174 instructions needed to compile program
Wed Apr 08 11:51:14 (INFO): [noqapp/3600] --- application start ---
Wed Apr 08 11:51:14 (INFO): [noqapp/3600] 4 processor(s); setting affinity to 0x1
Wed Apr 08 11:51:14 (INFO): [racer/3600] Racer version: 0.8.0 (Apr 2 2009/14:57:35)
Wed Apr 08 11:51:15 (WARN): [racer/3600] DFBOTexture: hardware only supports 8 samples; reducing requested 16
Wed Apr 08 11:51:15 (WARN): [racer/3600] DGPUShaderManager:MakeObject(data/renderer/fullscreen_shaders/hdr_bloom_motionblur_vign2_f.cg): can't create CG fragment shader program
Wed Apr 08 11:51:15 (WARN): [racer/3600] DGPUShaderManager: [data/renderer/fullscreen_shaders/hdr_bloom_motionblur_vign2_f.cg] CG ERROR : The compile returned an error.
Wed Apr 08 11:51:15 (WARN): [racer/3600] (0) : warning C6502: Profile option 'NumInstructionSlots' value (-1) too small; clamped to 0
(0) : warning C6502: Profile option 'NumTexInstructionSlots' value (-1) too small; clamped to 0
(0) : warning C6502: Profile option 'NumMathInstructionSlots' value (-1) too small; clamped to 0
(0) : warning C6503: Profile option 'MaxDrawBuffers' value (8) too large; clamped to 4
(0) : warning C6502: Profile option 'NumInstructionSlots' value (-1) too small; clamped to 0
(0) : warning C6502: Profile option 'NumTexInstructionSlots' value (-1) too small; clamped to 0
(0) : warning C6502: Profile option 'NumMathInstructionSlots' value (-1) too small; clamped to 0
(0) : warning C6503: Profile option 'MaxDrawBuffers' value (8) too large; clamped to 4
data/renderer/fullscreen_shaders/motion_blur.cg(67) : warning C7050: "color-0002" might be used before being initialized
(0) : error C6002: Instruction limit of 0 exceeded; 174 instructions needed to compile program
Wed Apr 08 11:55:23 (INFO): [noqapp/2172] --- application start ---
Wed Apr 08 11:55:23 (INFO): [noqapp/2172] 4 processor(s); setting affinity to 0x1
Wed Apr 08 11:55:23 (INFO): [racer/2172] Racer version: 0.8.0 (Apr 2 2009/14:57:35)
Wed Apr 08 11:55:23 (WARN): [racer/2172] DFBOTexture: hardware only supports 8 samples; reducing requested 16
Wed Apr 08 11:55:24 (WARN): [racer/2172] DGPUShaderManager:MakeObject(data/renderer/fullscreen_shaders/hdr_bloom_motionblur_vign2_f.cg): can't create CG fragment shader program
Wed Apr 08 11:55:24 (WARN): [racer/2172] DGPUShaderManager: [data/renderer/fullscreen_shaders/hdr_bloom_motionblur_vign2_f.cg] CG ERROR : The compile returned an error.
Wed Apr 08 11:55:24 (WARN): [racer/2172] (0) : warning C6502: Profile option 'NumInstructionSlots' value (-1) too small; clamped to 0
(0) : warning C6502: Profile option 'NumTexInstructionSlots' value (-1) too small; clamped to 0
(0) : warning C6502: Profile option 'NumMathInstructionSlots' value (-1) too small; clamped to 0
(0) : warning C6503: Profile option 'MaxDrawBuffers' value (8) too large; clamped to 4
(0) : warning C6502: Profile option 'NumInstructionSlots' value (-1) too small; clamped to 0
(0) : warning C6502: Profile option 'NumTexInstructionSlots' value (-1) too small; clamped to 0
(0) : warning C6502: Profile option 'NumMathInstructionSlots' value (-1) too small; clamped to 0
(0) : warning C6503: Profile option 'MaxDrawBuffers' value (8) too large; clamped to 4
data/renderer/fullscreen_shaders/motion_blur.cg(67) : warning C7050: "color-0002" might be used before being initialized
(0) : error C6002: Instruction limit of 0 exceeded; 174 instructions needed to compile program

PC Specs:

Intel Core 2 Quad Q6600 @ 3.0Ghz
4GB RAM
ATI 4850 1GB
Windows XP SP3
 
  • oracle

I have to admit i'm out of my depth here but could the issues described at the following url have some bearing on this issue:

Link
 
oracle, looks like that's your problem.
Just wait a little longer for CG 2.2 and your card will be fine. It's just up to Ruud whether or not he can be bothered/has time to put the work-around in and get a patch out.
 
Ruud.. in fuel consumption:

- RACER shows in L/100km, right? How can i convert to show in Km/l?

in views, "factor" of avg. consumption can't adjust this, 'cause when fuel consumption gets higher in L/100 UNIT, the number showed is always being higher.. and in km/l is the reverse.

Example:

1 l/100 km = 100 km/l - LOW FUEL CONS.

5 l/100 km = 20 km/l

10 l/100 km = 10 km/l

30 l /100 km = 3.33 km/l - HIGH FUEL CONS.



ah, another thing...

- can you do, for next update, a auto-saving odometer? for the car and for the driver.

the car will saving the miles/km @ ini.. and for the driver, will saving on driver ini. and the total odometer could be showed on main menu.. heeh


thx in advance


cool update
 
  • bendy

I can't help but feel the motion blur has been a bit over done, makes it look almost cartoonish in my opinion (is it something to do with if it happens in 1 view it happens in all views type-of-thing that results in motion blur on the car when the camera is static in relation to the car(if that makes sense)?). The blooming does look pretty good though. No more Live Enviroment Map for me, when it's on I seem to be more likely to feel the effects of sub 30fps.

PS: Just playing round and it seems a lot of wheel textures like to "jump out" with the motion blur?
 
Hm, sounds bad. One option would be to try and turn most features off (I should expand Config for once and add some rough detail selection).
Set (in racer.ini):
- mirrors.texture.fbo to 0
- renderer.hdr.enable to 0
- renderer.bloom.enable to 0
- renderer.auto_exposure.enable to 0
- renderer.motion_blur.method to 0
- renderer.motion_blur.velocity_map to 0

That might get it working at least.
 
Ruud.. in fuel consumption:

- RACER shows in L/100km, right? How can i convert to show in Km/l?
in views, "factor" of avg. consumption can't adjust this

- can you do, for next update, a auto-saving odometer? for the car and for the driver.

Excellent idea on the first one; I've added an 'invert' option (set it to 1 in your case) to use 1/value. See http://www.racer.nl/tutorial/newcar.htm#views for the exact explanation (ordering of operations!). Actually, it's in the v0.8.0 patch already (see the first post).

The 2nd odometer idea is not high on my list, sorry.
 
Patch for Cg problems and more

Just notifying that I've updated the 1st post with an updated exe. You may get some warnings on hit wav files not getting loaded, but ignore those for now (or put something there, it's a basic car-track hit sound set).

The patched exe is at http://www.racer.nl/download/racer080a_patch.zip (1Mb) and perhaps fixes the problems for ATI cards. The Cg profile errors are a bug in Cg 2.1 and are fixed in Cg 2.2 (not yet out), but Racer tries to work around them if you have an ATI card.

It also adds some new stuff, of which suspension handling is most important and a new idle_rpm handling method to really get 0% throttle except when the rpm drops below idle_rpm.
 
I can't help but feel the motion blur has been a bit over done, makes it look almost cartoonish in my opinion (is it something to do with if it happens in 1 view it happens in all views type-of-thing that results in motion blur on the car when the camera is static in relation to the car(if that makes sense)?). The blooming does look pretty good though. No more Live Enviroment Map for me, when it's on I seem to be more likely to feel the effects of sub 30fps.

PS: Just playing round and it seems a lot of wheel textures like to "jump out" with the motion blur?

Yes, I should write a small page on motion blur requisites. In short:
- no track model should have the flag 'relative' turned on. If on, this severely motionblurs the sky. Just make a skymodel of around 10km radius that is fixed.
- in car.shd you can define which shaders need to be motion blurred. Mostly used to turn it off though. ;) For wheel shaders, I set for example shader_wheel.motion_blur to 0, and it then won't blur. The reason is that motionblur is a linear blur, but wheels rotate, so it doesn't look good, as you found out.

As for the amount of blur, try opening c:\sims\racer\data\renderer\fullscreen_shaders_hdr\motion_blur_f.cg and look for 'virtualShutterFrequency'. That is currently set to 24, film speed. If you up that to, say, 60, the motion blur is more gentle.

Live envmap will one day (hopefully soon) be moved to FBO rendering so it would become a bit faster (although it will be 16-bit to catch harsh sun reflections).
 
Thanks, I got the game running now. Still had to turn some options off, at least bloom and velocity_map. I'll test it more later.

Edit - The version from the release thread works with those settings on too.
 
Racer v0.80 worked OK for me, thanks Ruud!!

"But this latest patch crashes Racer and closes it............."
.
Yep same here....
The QLog says:

Code:
Thu Apr 09 15:50:56 (WARN): [racer/3148] DGPUShaderManager:MakeObject(data/renderer/fullscreen_shaders_hdr/motion_blur_f.cg): can't create CG fragment shader program
Thu Apr 09 15:50:56 (WARN): [racer/3148] DGPUShaderManager: [data/renderer/fullscreen_shaders_hdr/motion_blur_f.cg] CG ERROR : The compile returned an error.
Thu Apr 09 15:50:56 (WARN): [racer/3148]   data/renderer/fullscreen_shaders_hdr/motion_blur_f.cg(45) : error C0000: syntax error, unexpected reserved word "const", expecting ';' or ',' at token "const"
data/renderer/fullscreen_shaders_hdr/motion_blur_f.cg(45) : error C0501: type name expected at token "const"

Thu Apr 09 15:50:56 (WARN): [racer/3148] QObjMgr: object 'data/renderer/fullscreen_shaders_hdr/hdr_bloom_motionblur_vign2_f.cg' still around with 1 reference(s)
Thu Apr 09 15:50:56 (WARN): [racer/3148] QObjMgr: object 'dyn_standard_reflect_v.cg' still around with 9 reference(s)
Thu Apr 09 15:50:56 (WARN): [racer/3148] QObjMgr: object 'dyn_standard_reflect_f.cg' still around with 9 reference(s)
Thu Apr 09 15:50:56 (WARN): [racer/3148] QObjMgr: object 'data/cars/audi_r8_4.2_fsi_quattro/cg/glass_v.cg' still around with 2 reference(s)
Thu Apr 09 15:50:56 (WARN): [racer/3148] QObjMgr: object 'data/cars/audi_r8_4.2_fsi_quattro/cg/glass_f.cg' still around with 2 reference(s)
Thu Apr 09 15:50:56 (WARN): [racer/3148] QObjMgr: object 'data/cars/audi_r8_4.2_fsi_quattro/cg/chrome_v.cg' still around with 2 reference(s)
Thu Apr 09 15:50:56 (WARN): [racer/3148] QObjMgr: object 'data/cars/audi_r8_4.2_fsi_quattro/cg/chrome_f.cg' still around with 2 reference(s)
Thu Apr 09 15:50:56 (WARN): [racer/3148] QObjMgr: object 'dyn_standard_v.cg' still around with 1 reference(s)
Thu Apr 09 15:50:56 (WARN): [racer/3148] QObjMgr: object 'standard_heat_f.cg' still around with 1 reference(s)
Thu Apr 09 15:50:56 (WARN): [racer/3148] QObjMgr: object 'data/cars/audi_r8_4.2_fsi_quattro/cg/bump_v.cg' still around with 2 reference(s)
Thu Apr 09 15:50:56 (WARN): [racer/3148] QObjMgr: object 'data/cars/audi_r8_4.2_fsi_quattro/cg/bump_f.cg' still around with 2 reference(s)
Thu Apr 09 15:50:56 (WARN): [racer/3148] QObjMgr: object 'data/renderer/shaders_hdr/projected_texture_v.cg' still around with 1 reference(s)
Thu Apr 09 15:50:56 (WARN): [racer/3148] QObjMgr: object 'data/renderer/shaders_hdr/projected_texture_f.cg' still around with 1 reference(s)
Thu Apr 09 15:50:56 (WARN): [racer/3148] QObjMgr: object 'data/renderer/fullscreen_shaders_hdr/motion_blur_v.cg' still around with 1 reference(s)

...Ruud is it possible you renamed the "fullscreen_shaders" folder to "fullscreen_shaders_hdr"....?!
I've renamed him but same....

Alex
 
Indeed, the HDR and LDR paths now take different directories, and I've stripped some of the 'hdr_' prefixes. Get a more thorough download at http://www.racer.nl/download/racer081a.zip (13Mb) which contains all shaders. It has all except:
- data/audio
- data/cars/lambomurcielago
- data/tracks/carlswood_nt

So you'll need to copy those 3 from the v0.8.0 download.
Let me know if that works. I should really post a full v0.8.1 I guess. :)
 
Thanks, I got the game running now. Still had to turn some options off, at least bloom and velocity_map. I'll test it more later.

Edit - The version from the release thread works with those settings on too.

So have I, thanks Ruud! I had to turn of bloom and velocity map too. Game looks much better now even with the defualt car and track! :)

EDIT: Now the game jogs along like a slideshow yet the framerate is 150FPS. I turn the HDR off and it runs fine.
 

Latest News

Online or Offline racing?

  • 100% online racing

    Votes: 97 7.8%
  • 75% online 25% offline

    Votes: 130 10.4%
  • 50% online 50% offline

    Votes: 176 14.1%
  • 25% online 75% offline

    Votes: 352 28.2%
  • 100% offline racing

    Votes: 488 39.1%
  • Something else, explain in comment

    Votes: 5 0.4%
Back
Top