CodeBus
www.codebus.net
Search
Sign in
Sign up
Hot Search :
Source
embeded
web
remote control
p2p
game
More...
Location :
Home
Search - vc get
Main Category
SourceCode
Documents
Books
WEB Code
Develop Tools
Other resource
Search - vc get - List
[
3D Graphic
]
ReadCADPic
DL : 2
你不可能有的CAD读写程序,主要用于打开CAD产生的各种文件,如:dwg,dwf等,可以提取图章信息-You can not have program for reading CAD,but you can open all kinds of files made by CAD, such as dwg,dwf etc. you get the information of picture
Date
: 2025-12-31
Size
: 34kb
User
:
肖宇
[
3D Graphic
]
Picking
DL : 0
思路: 场景中的每个mesh关联到一个唯一的COLOR值。 Pick检测时, 将当前场景渲染到纹理, (在PS中各mesh仅用自己的关键COLOR),即刻取回当前鼠标的位置的COLOR, 查找COLOR就可以知道当前被Pick的Mesh。 使用Render To Texture 的快速Picking, 无需锁住Vertex Buffer进行三角面和射线的相交测试, 仅在读取数据的时候锁住纹理的一个相素, 但是显卡要支持Render To Texture,纹理尺寸必须支持非2的n次方,D3DFMT_A8R8G8B8 或 D3DFMT_X8R8G8B8 可以改进的地方: 1。用类封装 2。Pick可以返回指向mesh的指针 需要: DX SDK Aug, 2006以上,VC2005 -Ever mesh in the scene has a unique color value(DWORD). Picking, render the scene to target(texture), just use the unique color( see .fx file ), retrieve the mouse position(screen space ) color at once, check the color and you will get the mesh. Picking with Render to texture, Not need lock vertex buffer to check intersection ray and triangle, within retrieving just lock one pixel. Device must support render to target、D3DFMT_A8R8G8B8 or D3DFMT_X8R8G8B8、not 2^n texture size、support shader of course. Compile Environment: DX SDK above Aug. , 2006 vc 2005 Thinking: 1. Use a class to encapsulate 2. Picking check return the pointer of the mesh( or reference )
Date
: 2025-12-31
Size
: 5.08mb
User
:
Jun Qian
[
3D Graphic
]
iface-complete
DL : 0
三维脸部建模系统,需要用vc++2002编译成功的。-Get different readings including the Tand V of the face also contains complex algorithms like edge detection/grayscale/halftoning/vectorizations/Image Morphing . works on any bmp/jpg images taken from a normal webcam. 3d face recognition
Date
: 2025-12-31
Size
: 15.01mb
User
:
LI
CodeBus
is one of the largest source code repositories on the Internet!
Contact us :
1999-2046
CodeBus
All Rights Reserved.