Here is the project I had to do for my graphics class. I think it ended up coming out pretty cool. What we started with was a program that showed 3d models in all white written in OpenGL in C++. our job was to add shaders to the program using nvidia's Cg language, which is programming that is done on the GPU. We had to add different types of shading and texture mapping in this way and set everything up the right way to pass to the GPU. The coolest one I think is the environment mapping, which I did as basically making the object be a mirror and reflect what's around it. I didn't show the actual environment though, just mapped data from it onto the object. I think it came out pretty cool
Commands for the program:
N or n = next 3d shape
P or p= previous shape
q or esc= quit
right click = menu to change between different shading types
left click = can rotate the object
link: http://users.wpi.edu/~jck15243/program.zip
some pictures of the results are attached, 2 environment mapping, 2 texture mapping. the shading ones aren't that interesting, just different highlights and stuff, so no need for pictures of those
Commands for the program:
N or n = next 3d shape
P or p= previous shape
q or esc= quit
right click = menu to change between different shading types
left click = can rotate the object
link: http://users.wpi.edu/~jck15243/program.zip
some pictures of the results are attached, 2 environment mapping, 2 texture mapping. the shading ones aren't that interesting, just different highlights and stuff, so no need for pictures of those
Attachments
Last edited: