Task: Using image for the Y shape
Date: 0609-0616
1. Study the code for image process in the SB and RW projects
Very helpful!
2. Study JOgl and OpenGL
The difficult things are:
2.1 to rotate the Y, I did it in the same way as Eddie did for rotating the SkateBoarder.
2.2 to make the overlap of the Y shapes look normal
Using the methonds provided by JOgl: glAlphaFunc and glBlendFunc
You can google for more about them.
Reference for JOGL:
JOGL: A Beginner's Guide and Tutorial
Jumping into JOGL
JOGL Userguide
----------------------------------------------------
Reference for OpenGL:
The Red Book
NeHe Productions: OpenGL Lessons
----------------------------------------------------
Working in RGBA Mode
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment