N-racer Blog


atomicthumbs said:
How's things on this front lately?
Sorry, I got temporarily distracted by the "new console" talk which led me to start reading about and experimenting with OpenGL ES. I have the attention span of a kitten.

I'll get back to it soon. The next thing I have to do is build a "track generator" that takes as input a 3-D spline curve and generates both the polygons for a track and a path for the camera. That's an interesting bit of code. The part I don't quite have figured out is how to attach different "up" directions to the track spline.

I guess the best idea is to just draw "up" vectors at various points on the track spline and then interpolate between them, though drawing those vectors is a bit of a chore in a CAD program. I'll need to write some code to parse the output of a CAD program to gather the track and "up" vectors, and some more code to output the computed track fragments so I can view them. That will be pretty cool when it works.

The gp2x doesn't have the 3d firepower to do the detailed tracks and environments of something like the PSP game "Wipeout Pure", but I think it has enough to make a fun game.
 
Last edited by a moderator:
Dzz said:
atomicthumbs said:
How's things on this front lately?
Sorry, I got temporarily distracted by the "new console" talk which led me to start reading about and experimenting with OpenGL ES. I have the attention span of a kitten.

I'll get back to it soon. The next thing I have to do is build a "track generator" that takes as input a 3-D spline curve and generates both the polygons for a track and a path for the camera. That's an interesting bit of code. The part I don't quite have figured out is how to attach different "up" directions to the track spline.

I guess the best idea is to just draw "up" vectors at various points on the track spline and then interpolate between them, though drawing those vectors is a bit of a chore in a CAD program. I'll need to write some code to parse the output of a CAD program to gather the track and "up" vectors, and some more code to output the computed track fragments so I can view them. That will be pretty cool when it works.

The gp2x doesn't have the 3d firepower to do the detailed tracks and environments of something like the PSP game "Wipeout Pure", but I think it has enough to make a fun game.


Just out of curiousity, how are you going to interpolate your points into splines? Btw, I've got some automatical "handle" (aka control point) placing algorithm if it helps.
 
Last edited by a moderator:
A_SN said:
Just out of curiousity, how are you going to interpolate your points into splines? Btw, I've got some automatical "handle" (aka control point) placing algorithm if it helps.
I have some spline code that can do the job.
 
Last edited by a moderator:
Back
Top