Game Development Community

dev|Pro Game Development Curriculum

Plan for Brett Fattori

by Brett Fattori · 04/14/2005 (6:49 pm) · 24 comments

NOTE: Please try to envision really cool graphics amongst all the placeholder artwork! ...gracias

www.renderengine.com/stuff/plans/skids.jpg

It's been a little while since I last posted a .plan so I thought it was about time. This will be a quick journey through my latest additions to dRacer, with some nice pictures to boot! I spent a lot of time building a decal system that can apply decals to oddly shaped surfaces. The built in decaler would only create planar decals, so I had to try something different. The shadow code was my starting point, and from that spawned a very nice system. The decals come in two flavors: Spot decals show up as a single instance of a decal. They are meant for things like arrows on the road, grafitti, impact marks, and more. Linked decals are specifically designed for the skidmarks. The decaler will automatically attach decals together to form one larger decal.

The track, being a custom object, was inserted into the lighting system but wasn't affected by point or spot lights. The only light that contributed to the lighting on the road was the "sun". Recently I got an itch to add additional light processing to the track, so I implemented a really simple vertex lighting scheme. Using this method, I was able to add pretty colored lights to the track. I'm also able to attach lights to objects (lamp posts, buildings, etc) and have that add to the track, blending it into the scene better.

www.renderengine.com/stuff/plans/colored_lights.jpg
www.renderengine.com/stuff/plans/new_map.jpg

After seeing some imagery from another racing game I decided that the racing map needed some positional indicators. The colored dots were nice, but they didn't give that feedback necessary to know what position am I in?? So I added numbered and colored dots... I know, not very cool but hey -- little things excite me... I'm an excitable person.

This next image displays a couple of things. I added brakelights (not breaklights - Joe chastised me for this one www.renderengine.com/stuff/plans/wink.jpg) and back-up lamps. This is just a nifty little immersion effect. The engine has all sorts of these things. Stuff that just makes it feel more like you're there. The second thing you'll see in the image is position flags. These billboards float over the cars and let you know that you suck... err, I mean... let you know what position you're in.

www.renderengine.com/stuff/plans/brakes.jpg
Finally, because this is being done in TGE we don't have those nifty, cool, all-the-rage shaders to give our cars that glossy look. Well, after some prodding and pulling I was able to wrench this back into the engine. We now have glossy cars... Now, you might say to yourself, "but TGE supports environment mapping out of the box you idiot!" To which I would respond, "To make this engine perform at top speeds and be as light as possible, Clark Fagot trimmed a lot of things from the rendering pipeline. He eliminated a lot of the excess things to speed up the display. All of this makes the engine lightweight, and also reduces state switching (I just found out about this today -- not state switching.. that the engine has been modified to minimize it!) So, without further adieu... a glossy placeholder.. err, car by Joe Maruschak.

www.renderengine.com/stuff/plans/car_emap.jpg
So, that's what I've been doing with my time. Hope y'all enjoyed this little trip.. And if you didn't see it in Joe's last .plan, there is a new video (also in MPEG2 high-res for those who are tech weenies like me)

- Brett
Page «Previous 1 2
#1
04/14/2005 (6:59 pm)
Wow your really working on some awesome stuff there. Grats!
#2
04/14/2005 (7:06 pm)
Big wow from me! Great to see progress on this - was wondering about it a couple days ago in fact.

Well done! Keep it up!
#3
04/14/2005 (7:29 pm)
Schwing! I hope you guys plan to add big crashes too!
#4
04/14/2005 (7:50 pm)
:) Dracer is looking cool, I like your editors and stuff, and the GG car... (I found the root folder of an image posted elsewhere and had a peak at the videos and pics) Good work, cant wait to test it out
#5
04/14/2005 (8:48 pm)
Hi Brett, looks great
#6
04/14/2005 (9:47 pm)
Great work Brett, I've been following your work with dRacer since day one, it's some very cool stuff. How do you create the walls in the track btw? Also dynamically with your road object?
#7
04/14/2005 (11:38 pm)
Drooooool.....
#8
04/15/2005 (12:00 am)
Sweeeet!
#9
04/15/2005 (1:52 am)
looks great fun! i work on hardcore racing simulation games (GTR) and every now and them I like to take a break and play really FUN racers like burnout3 and ridge racer. this looks like it could be another of my 'escapes' :)
#10
04/15/2005 (3:29 am)
Brett, one thing that I saw in a racer recently that I kinda liked..

At high speed, when youre making a continual high-speed run (like a straight), have a play with just narrowing the FOV ever so slightly over time. It adds a nice little visual cue to the speed.

Most of the PS2 games also add some motion blur at that stage too, but we can forego that :)

Lovely stuff, youre absolutely 100% right about the little things being important. It shows the love that goes into the game right?? :)
#11
04/15/2005 (4:56 am)
Very nice !
#12
04/15/2005 (6:33 am)
Whoa! That looks very very cool.
#13
04/15/2005 (6:49 am)
The thing that Jim Evans was probably referring to is my Secret Development Cave. Now be nice and don't use up all my bandwidth... This area has everything that I've thought was noteworthy since we started this project. There's a few things in there that might be kinda mundane, but it's been one hell of a ride. You can get a good sense of the evolution of a game with this.

- Brett
#14
04/15/2005 (7:50 am)
It's so awesome to watch this game progress.

I was one of the first people that got to say "awesome" to Brett's road tech. What I said was this. "Awesome".
#15
04/15/2005 (8:14 am)
Brett, you rock :)
(and the whole BT Gang, of course ;))
#16
04/15/2005 (8:41 am)
Im so pumped to play this game... Its definitely looking better and better. Nice work!
#17
04/15/2005 (8:49 am)
Awesome work as always Brett. Its very refreshing to see the progress updates that you are posting with regards to dRacer and watch with glee as it grows and becomes bigger and better with every week.
#18
04/15/2005 (9:27 am)
Very nice, Brett. Keep up the good work. =)
#19
04/15/2005 (9:32 am)
Cool !
#20
04/15/2005 (10:05 am)
Uber...
Page «Previous 1 2