RSAGL, More Features

This planet has a slice taken out of it.

It uses a very simple ray-caster to compute a deformation of the sphere onto three planes. This has a benefit that we can take normal vectors from the planes, saving us the cost of computing normals for the entire deformed surface. It also has the benefit that as the ray-caster gains more geometries, it will be possible to project surfaces onto those geometries as well.

The ray caster will also be used to implement collision detection for projectiles and beams.

ringedplanetcut3.png

About these ads

About Christopher Lane Hinson

A hairy haskell hacker with interests in games, computer science, and social justice.
This entry was posted in Uncategorized. Bookmark the permalink.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s