游戏开发论坛

 找回密码
 立即注册
搜索
查看: 1849|回复: 4

Queried Virtual Shadow Maps and Adaptive Shadow Maps complete source code d

[复制链接]

414

主题

611

帖子

621

积分

高级会员

Rank: 4

积分
621
发表于 2009-7-3 23:15:00 | 显示全部楼层 |阅读模式
Queried Virtual Shadow Maps and Adaptive Shadow Maps complete source code
Share with everyone

http://tw.myblog.yahoo.com/akira32-akira32/article?mid=164&prev=165&next=163

Thank Michal Augustýn! Give me the key point of shader code.

39

主题

170

帖子

170

积分

注册会员

Rank: 2

积分
170
发表于 2009-7-4 17:49:00 | 显示全部楼层

Re: Queried Virtual Shadow Maps and Adaptive Shadow Maps complete source co

In any case, give us good things will certainly support  [em1]
But can not open

414

主题

611

帖子

621

积分

高级会员

Rank: 4

积分
621
 楼主| 发表于 2009-7-4 20:49:00 | 显示全部楼层

Re:Queried Virtual Shadow Maps and Adaptive Shadow Maps complete source cod

click the skydrive link and download the rar file in skydrive web

34

主题

443

帖子

478

积分

中级会员

Rank: 3Rank: 3

积分
478
发表于 2009-7-6 10:39:00 | 显示全部楼层

Re: Queried Virtual Shadow Maps and Adaptive Shadow Maps complete source co

http://tw.myblog.yahoo.com/akira32-akira32/article?mid=164&prev=165&next=163

台湾雅虎博客在大陆是无法访问的。。。

414

主题

611

帖子

621

积分

高级会员

Rank: 4

积分
621
 楼主| 发表于 2009-8-7 21:13:00 | 显示全部楼层

Re:Queried Virtual Shadow Maps and Adaptive Shadow Maps complete source cod

Download website:

http://cid-fbeb6373d9321a7f.skydrive.live.com/self.aspx/BlogYahoo/DirectX9/ShadowMap%7C5Final%7C6V1ForLatex.rar

enjoy it!!!



Operation Manual

====Shadow Map Start===========================================

//ALLL

DIK_F WireFrame not for qvsm,else ok

DIK_Z NoShadowMap Mode
DIK_X CSM
DIK_C QVSM
DIK_V ASM

DIK_L linear depth distribution

DIK_SYSRQ print screen , save back buffer to png file depend mode name (in Picture directory)

//QVSM

DIK_B ASM debug mode ,show two level with green and red color

DIK_R change QVSM mode formal and teacher
DIK_Y star mode switch

DIK_N bChangeToTeach2(not use for qvsm)
DIK_M bChangeToTeach3(not use for qvsm)

DIK_U qvsm 2x2
DIK_I qvsm 4x4
DIK_O qvsm 8x8

//CSM

DIK_J AutoFindCenterPoint for CSM
DIK_H switch CSM colorful sm mode
DIK_G calculate the rect of sm (colorful sm mode)

DIK_G CalculateEffectiveSmRegion in CSM
DIK_H bColorSM in CSM(red for tree, blue for chess board)

//ASM

DIK_P ASM SaveQuadtreeTexture

DIK_F11 bChangeQuadtreeLevel for ASM

====Shadow Map End===========================================


====Shadow Volume Start========================================

VK_P SnapScreenShot, save back buffer to png

========Shadow Volume End========================================================================


=========SM and SV Both==== Start =========================================

F1=Hide UI

ENUM_CMAERA g_nModeCamera=ENUM_CAMERA_SDK;
DIK_W=front
DIK_S=back
DIK_A=left
DIK_D=right
DIK_Q=up
DIK_E=down
HOME=camera reset

Mouse Left: camera control
Mouse Middle: light control
Mouse Right: model control (only shadow volume)

V_F1:If true, it renders the UI control text


=========SM and SV Both== End ===========================================

=====Dialog Common====Start======================================

Use FlowerArray
Yes==>
      Star Mode=Yes   a number of flowerarray
      Star Mode=No    only a flowerarray   
No==>single model

=====Dialog Common====End=====================================
您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

作品发布|文章投稿|广告合作|关于本站|游戏开发论坛 ( 闽ICP备17032699号-3 )

GMT+8, 2025-6-21 16:28

Powered by Discuz! X3.4

Copyright © 2001-2021, Tencent Cloud.

快速回复 返回顶部 返回列表