User Tools

Site Tools


racer_media

This is an old revision of the document!


1. Graphics

Motivation

Produce good looking graphics, target being SM2-hardware with 128MB of video memory. If possible implement a fallback without usage of shaders (just loading different materials should do it), so the game can run on notebooks with very low end graphic cards. The amount of content we need is still relativly limited, so the task seems realistic.

As far as learning goes the effect should be a basic understanding of how shader programming and lighting techniques work. Way more important: it forces me to do a lot of concept drawing because it is an absolute must for car and track design. Further some techniques will be applyable in future projects (lighting and shading e.g. for a “Z-like” game should work very similar).

1.2 Technical aspects
1.2.1 GFX elements
1.2.1.1 Tracks

Made up of one big mesh (25000-40000 polys), represents the actual race track and all surrounding terrain that can be visible. Uses basically two materials; one for terrain and one for the race track (diffuse map + gi-lightmap + bump map + specular map).

1.2.1.2 Static objects

Techniques used should be the same as for the track. I'd calculate a total of 10000-20000 polys per level for these.

1.2.1.3 Cars

The approach is one mesh for the car plus each tire as a seperate mesh (2000-2500 polys total). In contrast to all static geometry dynamic lighting is used here. Getting this right will cost some effort though. We'll be facing the problems described in this thread: http://www.ogre3d.org/phpBB2/viewtopic.php?t=27165

1.2.1.4 Other gameplay relevant objects

Items, maybe objects for physical interaction or whatever. Techniques same as for cars here. What falls into this category depends heavily on what gameplay decisions we come up with.

1.2.1.5 Particle effects

Smoke, explosions, pick-up effects e.g. might be necessary. Also depends mainly on our plan for gameplay. A combination of using Ogre particle systems and Blender might do the trick.

1.2.1.6 GUI elements

Self explanatory :) However, I'd like to display the drivers somewhere in the menu. Decent art for those is a must.

1.2.1.7 Marker objects

Depends on gameplay and technical needs that come up. E.g. markers for placing cars at the start of a race, indicating the track to the ai and which direction to drive.

1.2.2 Shader programming

Using CG with the NVidia FX Composer looks best. It is the only solution capable of producing shaders for DirectX and OpenGL at the same time.

1.2.3 GI-Lightmapping

At this time I see 3 possible solutions:

  • Use Blender. Blender can calculate maps for static gi lighting. Requires some setup and experimentation but looks quite efficient because I build the levels in Blender as well. My preference so far.
  • A lightmapping tool for Ogre is being developed at the moment. Maybe easier to use than Blender but it is unknown when the thing will be released.
  • Use gile[s]. This is a cheap (40$) commercial solution that does produce good results out of the box and functions as a level editor as well. However, the level editor capabilities are probably insufficient for most future projects. It would not be of much use beyond “Racer”.
1.3.1 Implementation road map
racer_media.1170866666.txt.gz · Last modified: 2015/08/23 14:03 (external edit)