Monday, December 7, 2009

Experiment: CG Wave

Based on a tutorial from Nehe Gamedev: Building a wave using Cg Toolkit by NVidia. The wave is using sin value, moving through time, but in current version, I haven't apply time difference calculation, so the speed of the wave is quite random according to current idle process.

The object from the main program is a 64x64 flat grid. Using Cg is like using GLSL, only this one is more friendly to programmer, since we treat the Cg itself as an object instead of a file.
I cant capture the program as a movie file, my trial of SnapPro has ended :p and the quicktime capture screen option uses too many performance. Stay tune for a better version of the capture.

No comments: