Description: In this problem,some function is already inluded in the problem 1.
In the second problem,I also used the function provided by Angel.But I meet some problems in this project,I will talk about later.
What I did:
I generate three cuboids by hierarchical modeling and perspective projecting.
And I used picking Ray Casting function which already provided by teacher in my program.So,when you click the cube by your mouse,the cube which you clicked on will generate in another new windows.
You can see the box around by use the keyboard “up”,”down”,”left”,”right”.
When you press the “up”and “down”key,the cube will rotate around the X-axis.
When you press the “left”and “right”key,the cube will rotate around the Y-axis.
And when you press “s”key,the one-cube exploration type will close,and the original window will come out again.
And under the exploration condition, when you press”space”bar,the one which you picked will update to the original lo
To Search:
File list (Check if you may need any files):
problem2\Angel.h
........\code.cpp
........\freeglut.dll
........\fshader30_TwoCubes.glsl
........\fshader83.glsl
........\fshaderStock.glsl
........\glew32.dll
........\shader.cpp
........\vshader30_TwoCubes_FullPipe.glsl
........\vshader83.glsl
........\vshaderUnifColor.glsl
problem2