Hot Search : Source embeded web remote control p2p game More...
Location : Home Downloads SourceCode Graph program 3D Graphic
  • Category : 3D Graphic
  • Tags :
  • Update : 2012-11-26
  • Size : 5.08mb
  • Downloaded :0次
  • Author :Jun ****
  • About : Nobody
  • PS : If download it fails, try it again. Download again for free!
Download1 Download2
Don't use download software fo downloading.
If download fail,Try it again for free.
Introduction - If you have any usage issues, please Google them yourself
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 )
Packet file list
(Preview for download)
Picking
.......\Common

.......\......\dxstdafx.cpp
.......\......\dxstdafx.h
.......\......\DXUT.cpp
.......\......\DXUT.h
.......\......\DXUTenum.cpp
.......\......\DXUTenum.h
.......\......\DXUTgui.cpp
.......\......\DXUTgui.h
.......\......\DXUTMesh.cpp
.......\......\DXUTMesh.h
.......\......\DXUTmisc.cpp
.......\......\DXUTmisc.h
.......\......\DXUTRes.cpp
.......\......\DXUTRes.h
.......\......\DXUTSettingsDlg.cpp
.......\......\DXUTSettingsDlg.h
.......\......\DXUTsound.cpp
.......\......\DXUTsound.h
.......\......\DXUT_2003.sln
.......\......\DXUT_2003.vcproj
.......\......\DXUT_2005.sln
.......\......\DXUT_2005.vcproj
.......\Media
.......\.....\Airplane
.......\.....\........\airplane 2.x


.......\.....\Misc

.......\.....\....\car.x

.......\.....\....\floor.bmp


.......\.....\....\sphere.x
.......\.....\UI
.......\.....\..\arrow.x
.......\.....\..\dxutcontrols.dds
.......\.....\..\DXUTShared.fx
.......\Picking.cpp
.......\Picking.manifest
.......\Picking.rc
.......\Picking_2003.sln
.......\Picking_2003.vcproj
.......\Picking_2005.ncb
.......\Picking_2005.sln
.......\Picking_2005.vcproj
.......\Picking_2005.vcproj.5E141221D0B64B8.yao.user
.......\Picking_2005.vcproj.RAINBOWKNIGHT.jqian.user
.......\resource.h
.......\ring.x
.......\room.x
.......\save.bmp

.......\Shader
.......\......\00.fx
.......\......\ObjectPickPS.psh
.......\......\ObjectPickVS.vsh
.......\......\RenderToTarget.fx
.......\......\RenderToTex.fx
.......\......\ShadowMap.fx

.......\spotlight.x
Related instructions
  • We are an exchange download platform that only provides communication channels. The downloaded content comes from the internet. Except for download issues, please Google on your own.
  • The downloaded content is provided for members to upload. If it unintentionally infringes on your copyright, please contact us.
  • Please use Winrar for decompression tools
  • If download fail, Try it againg or Feedback to us.
  • If downloaded content did not match the introduction, Feedback to us,Confirm and will be refund.
  • Before downloading, you can inquire through the uploaded person information

Nothing.

Post Comment
*Quick comment Recommend Not bad Password Unclear description Not source
Lost files Unable to decompress Bad
*Content :
*Captcha :
CodeBus is one of the largest source code repositories on the Internet!
Contact us :
1999-2046 CodeBus All Rights Reserved.