文件名称:19.)-3D-Picking-Pt.-2
- 所属分类:
- 3D图形编程
- 资源属性:
- [Windows] [Visual.Net] [源码]
- 上传时间:
- 2015-06-08
- 文件大小:
- 3.75mb
- 下载次数:
- 0次
- 提 供 者:
- Pen****
- 相关连接:
- 无
- 下载说明:
- 别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容均来自于网络,请自行研究使用
该模型主要是进行3D模型任一点的拾取功能,常用的方法是使用一屏幕上的包围盒去拾取鼠标的点击物体,而我们使用的是光线投射方法。-This tutorial is the continuation of the first tutorial 3D Picking Part1, where we used a bounding box rendered “behind the scenes” to find an object user has clicked on. Problem of this method was that bounding box doesn’t match model very much. So the solution is to either render full model in color mode or use multiple bounding boxes. Either way or another, previous tutorial used color picking for finding what a user has clicked on. This time we will use completely different approach and it’s ray-casting pick.
(系统自动生成,下载前可以参看下载内容)
下载文件列表
19.) 3D Picking Pt. 2
.....................\19.) 3D Picking Pt. 2
.....................\.....................\19.) 3D Picking Pt. 2.vcproj
.....................\.....................\common_header.h
.....................\.....................\dirLight.cpp
.....................\.....................\dirLight.h
.....................\.....................\flyingCamera.cpp
.....................\.....................\flyingCamera.h
.....................\.....................\fog.cpp
.....................\.....................\fog.h
.....................\.....................\framebuffer.cpp
.....................\.....................\framebuffer.h
.....................\.....................\freeTypeFont.cpp
.....................\.....................\freeTypeFont.h
.....................\.....................\objModel.cpp
.....................\.....................\objModel.h
.....................\.....................\openGLControl.cpp
.....................\.....................\openGLControl.h
.....................\.....................\picking.cpp
.....................\.....................\picking.h
.....................\.....................\pointLight.cpp
.....................\.....................\pointLight.h
.....................\.....................\renderScene.cpp
.....................\.....................\shaders.cpp
.....................\.....................\shaders.h
.....................\.....................\skybox.cpp
.....................\.....................\skybox.h
.....................\.....................\spotLight.cpp
.....................\.....................\spotLight.h
.....................\.....................\static_geometry.cpp
.....................\.....................\static_geometry.h
.....................\.....................\texture.cpp
.....................\.....................\texture.h
.....................\.....................\vertexBufferObject.cpp
.....................\.....................\vertexBufferObject.h
.....................\.....................\win_OpenGLApp.cpp
.....................\.....................\win_OpenGLApp.h
.....................\19.) 3D Picking Pt. 2.sln
.....................\19.) 3D Picking Pt. 2.suo
.....................\bin
.....................\...\19.) 3D Picking Pt. 2.exe
.....................\...\FreeImage.dll
.....................\...\data
.....................\...\....\models
.....................\...\....\......\Spongebob
.....................\...\....\......\.........\sb_ball_bind.dff.mtl
.....................\...\....\......\.........\sb_ball_bind.dff.obj
.....................\...\....\......\.........\spongebob.png
.....................\...\....\......\.........\spongebob_bind.mtl
.....................\...\....\......\.........\spongebob_bind.obj
.....................\...\....\......\Thor
.....................\...\....\......\....\Marvel Ultimate Alliance-f456880.dds
.....................\...\....\......\....\Marvel Ultimate Alliance-f457900.dds
.....................\...\....\......\....\Marvel Ultimate Alliance-f458160.dds
.....................\...\....\......\....\thor.mtl
.....................\...\....\......\....\thor.obj
.....................\...\....\......\alien2_obj
.....................\...\....\......\..........\alien2.mtl
.....................\...\....\......\..........\alien2.obj
.....................\...\....\......\..........\alien2Tex1.BMP
.....................\...\....\shaders
.....................\...\....\.......\color.frag
.....................\...\....\.......\color.vert
.....................\...\....\.......\dirLight.frag
.....................\...\....\.......\fog.frag
.....................\...\....\.......\font2D.frag
.....................\...\....\.......\main_shader.frag
.....................\...\....\.......\main_shader.geom
.....................\...\....\.......\main_shader.vert
.....................\...\....\.......\ortho2D.frag
.....................\...\....\.......\ortho2D.vert
.....................\...\....\.......\pointLight.frag
.....................\...\....\.......\spotLight.frag
...................