积极答复者
WPF4的光晕效果

问题
答案
-
注意这个项目下面的一句话:
This requires .NET framework 3.5 SP1 and requires Direct X SDK at compile time.. (to build the PS files).
我们在编译这个项目的时候需要 DirectX SDK ,这个 SDK 是为了编译 PS 文件的。 这个项目还是For 3.5的。4.0只能希望作者能够做下升级。
我还给你推荐一个工具和项目:
你可以看看
Sincerely,
Bob Bao [MSFT]
MSDN Community Support | Feedback to us
Get or Request Code Sample from Microsoft
Please remember to mark the replies as answers if they help and unmark them if they provide no help.
- 已标记为答案 Behindmoon 2011年6月7日 15:21
全部回复
-
4.0 推荐使用的是Poxel Shader , 这个能够更灵活的实现各种特效。 产品组不一定是因为性能,而是考虑了性能和灵活扩展性,去掉了这个特性,而在4.0中增加了对Pixel Shader 3.0的支持,一方面能够之久通过显卡硬件加速特效,另一方面除了本来的那些已经定好的特效外,我们又可以自己来设计特效了。 一位牛人开发了一个工具, Shazzam 可以帮我们很快捷地来实现特效。
下面的这个项目也提供了很多特效,包括光晕:http://wpffx.codeplex.com/
Sincerely,
Bob Bao [MSFT]
MSDN Community Support | Feedback to us
Get or Request Code Sample from Microsoft
Please remember to mark the replies as answers if they help and unmark them if they provide no help.
- 已建议为答案 Jie BaoModerator 2011年6月6日 3:21
-
发现了,4.0中可以这样简单设置光晕
http://wpffx.codeplex.com/ 这个我下了,不过编译不了,要报错。我把里面的源码拷出来,用VS2010新建了一个解决方案,生成成功,一运行wpfDemo出错。将类库改成3.5,运行成功,能看到窗体,但一点左边的按钮出错,玩不了。╮(╯_╰)╭<Button.Effect> <DropShadowEffect ShadowDepth="0" Color="#FF3AA8FF" /> </Button.Effect>
- 已建议为答案 Jie BaoModerator 2011年6月7日 3:22
-
注意这个项目下面的一句话:
This requires .NET framework 3.5 SP1 and requires Direct X SDK at compile time.. (to build the PS files).
我们在编译这个项目的时候需要 DirectX SDK ,这个 SDK 是为了编译 PS 文件的。 这个项目还是For 3.5的。4.0只能希望作者能够做下升级。
我还给你推荐一个工具和项目:
你可以看看
Sincerely,
Bob Bao [MSFT]
MSDN Community Support | Feedback to us
Get or Request Code Sample from Microsoft
Please remember to mark the replies as answers if they help and unmark them if they provide no help.
- 已标记为答案 Behindmoon 2011年6月7日 15:21