Cube Mapping Demo

Loading...

Sign in or sign up now!
Alert icon
Upgrade to the latest Flash Player for improved playback performance. Upgrade now or more info.
636 views
Loading...
Alert icon
Sign in or sign up now!
Alert icon

Uploaded by on May 14, 2010

This program generates a cube map, manually, by rendering the scene 6 times with a FOV of 45 as an exercise in efficiency and mathematics.

First, reflection is demonstrated, then refraction, and finally both reflection and refraction, simultaneously.

This was an exercise in generating cube map information and using trigonometry and linear algebra to properly access the appropriate textures as efficiently as possible. This does not take advantage of any hardware accelerated cube map samplers like would be used in a traditional rendering engine.

This was written in C++ with OpenGL 2.0 and GLSL.

This is a demo of some of my work on my portfolio site:
http://sites.google.com/site/zakwhaley/

Category:

Gaming

Tags:

License:

Standard YouTube License

  • likes, 0 dislikes

Link to this comment:

Share to:
see all

All Comments (1)

Sign In or Sign Up now to post a comment!
  • Would I be correct in saying that refraction is simply the cube mapping technique, but with the six textures placed on the opposite sides of the mesh?

Loading...
Alert icon
0 / 00Unsaved Playlist Return to active list
    1. Your queue is empty. Add videos to your queue using this button:
      or sign in to load a different list.
    Loading...Loading...Saving...
    • Clear all videos from this list
    • Learn more