文件名称:problem2
-
所属分类:
- 标签属性:
- 上传时间:2014-01-14
-
文件大小:132.91kb
-
已下载:0次
-
提 供 者:
-
相关连接:无下载说明:别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容来自于网络,使用问题请自行百度
生成3个六面体 长短不一 现实在屏幕中央
用户点击任何一个 会弹出新的窗口 对用户点击的立方体进行仔细观察 可以通过上下左右键进行各个方向的旋转
通过‘s’键 就会退出仔细观察模式 ‘space’键 三个立方体会回到初始的样子 ‘Esc’键 程序关闭-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
用户点击任何一个 会弹出新的窗口 对用户点击的立方体进行仔细观察 可以通过上下左右键进行各个方向的旋转
通过‘s’键 就会退出仔细观察模式 ‘space’键 三个立方体会回到初始的样子 ‘Esc’键 程序关闭-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
(系统自动生成,下载前可以参看下载内容)
下载文件列表
problem2/Angel.h
problem2/code.cpp
problem2/freeglut.dll
problem2/fshader30_TwoCubes.glsl
problem2/fshader83.glsl
problem2/fshaderStock.glsl
problem2/glew32.dll
problem2/shader.cpp
problem2/vshader30_TwoCubes_FullPipe.glsl
problem2/vshader83.glsl
problem2/vshaderUnifColor.glsl
problem2
problem2/code.cpp
problem2/freeglut.dll
problem2/fshader30_TwoCubes.glsl
problem2/fshader83.glsl
problem2/fshaderStock.glsl
problem2/glew32.dll
problem2/shader.cpp
problem2/vshader30_TwoCubes_FullPipe.glsl
problem2/vshader83.glsl
problem2/vshaderUnifColor.glsl
problem2
本网站为编程资源及源代码搜集、介绍的搜索网站,版权归原作者所有! 粤ICP备11031372号
1999-2046 搜珍网 All Rights Reserved.