`
sjkgxf7191
  • 浏览: 251243 次
  • 性别: Icon_minigender_1
  • 来自: 上海
社区版块
存档分类
最新评论

Away3D(四):Create the Earth and heavens in less than an hour with Away3D

阅读更多

原文:http://www.flashmagazine.com/Tutorials/detail/create_the_earth_and_heavens_in_less_than_an_hour_with_away3d/

 

译文:http://www.flashas.net/as/20090414/4038.html

 

1. 若出现破面现象,采用以下代码

var view:View3D = new View3D({scene:scene, camera:camera, renderer:Renderer.CORRECT_Z_ORDER});

 

2. 双面渲染 & 翻转材质方向

// 双面渲染
object3D.bothsides = true;
// 翻转材质
object3D.invertFaces();

 

3. 给object3D添加滤镜

var myFilter1:Array = new Array()
myFilter1.push(new GlowFilter(0xFFFFAA, 1, 25, 25, 3, 1, false, false));
// Defines whether the contents of the 3d object are rendered using it's own render session 
sun.ownCanvas=true;
sun.filters=myFilter1;
分享到:
评论

相关推荐

    from_the_heavens

    from_the_heavens

    安全分析模型 HEAVENS

    安全分析模型 HEAVENS。...This deliverable (D2 Security models, Release 2, Version 2.0) presents the results and achievements of work package WP2 (Security models) of the HEAVENS project.

    精美商业PPT模板from_the_heavens007

    精美商业PPT模板from_the_heavens007

    GilbertStrang,KaiBorre-Linearalgebra,geodesy,andGPS(1997).pdf

    You wanted it.The bald very terrified mathematician insisted on it.They told me to.He insisted on it.Nausheen knew it was a good idea....engineer told a not very smart and smart system manager.In the beginning...

    heavens_door:Capybara Rails测试方案记录器

    gem 'heavens_door' , group : :development 用法 开始录音 使用浏览器访问您的开发应用,然后单击 :record_button: 右上角的按钮。 生成方案 只需操纵浏览器,例如填写表格并提交,或单击链接。 您的操作将记录在...

    Heavens-Kitchen:复古游戏果酱2021,通往第二名

    天堂的厨房 :test_tube: IEEE波尔图大学学生分校2021 Retro Jam的第一名参赛作品是“天堂的厨房” ,这是一个由五名软件工程师组成的团队,在中用48小时制作的游戏。 果酱的主题是REACTION 。 在上查看所有卡纸条目...

    Heavens Vault New Tab Game Theme-crx插件

    语言:English (United States) 在每个新选项卡上都包含考古科幻游戏《天堂的穹顶》的高清图像! 在每个新选项卡上都包含考古科幻游戏《天堂的穹顶》的高清图像! 感谢您给予我们5星的评价! ...通过我们的扩展程序,您...

    correlations_vs_field:宇宙学中的相关函数与场级推断

    relateds_vs_field 宇宙学中的相关函数与场级推断:对数正态场的示例文献资料这是Leclercq&Heavens 2021的配套资料库,关于宇宙函数中相关函数的精确度和精度以及场级推断, 。 该代码包含一个用于存储日志常规字段...

    caringcaribou:一个适用于CAN总线的友好的汽车安全探索工具

    这项工作是HEAVENS(增强软件安全性和安全性的HEaling漏洞)研究项目的一部分,但仍作为一个独立项目存在。如何安装提供说明故障排除查看常见错误和解决方案如何使用了解如何使用Caring Caribou的最好方法是查看...

    激光与物质的相互作用会议

    Heavens)提出的第一篇论文题为“激光相互作用的基础概述”。激光辐射与物质的相互作用可以在各种能量水平下发生,此文主要谈高功率脉冲。在这种情况下,控制所发生的现象的参数是辐射通量密度、辐射频率、脉冲持续...

Global site tag (gtag.js) - Google Analytics