Tonight I wrote the Near and Far Clipping Plane stuff for my 3D forward projection pipeline assignment.
At the beginning it didn't work (check out these crazy pics) but after working through the equations a bit and talking to Matt, I got it figured out. Now I just have to add side clipping and then I am done and onto the next assignment which is a 3D Hierarchical Model "Puppet" in OpenGL. Sweet eh?!
Normal perspective cube before clipping
Moving in near clipping plane??!
Lines going crazy
Haha, and yeah, this is definitely not right
Clipping fixed!! Near plane clipping only
Far plane clipping only
Near and far clipping at the same time
No comments:
Post a Comment