5ulife
享受生活,享受编程-
适合编程的字体
Posted on 四月 12th, 2009 No commentsConsolas雅黑混合版,使用此字体须打开ClearType支持。


-
ASWing的布局管理器
Posted on 四月 11th, 2009 No commentsASWing的布局管理器
BorderLayout
FlowLayout
BoxLayout
SoftBoxLayout
-
开源引擎Sandy 3D官方课程翻译(二)
Posted on 三月 15th, 2009 1 comment三行代码的课程
在这节课中,我将首先用三行代码来展示如何创建Sandy 3D的应用程序。
下面先给代码:1 2 3 4 5 6 7 8 9 10
import sandy.core.Scene3D; import sandy.core.scenegraph.*; import sandy.primitive.*; //创建场景。你要首先提供一个容器,一个摄像机和一个用以放置对象的root组(5ulife:camera和root group是3D程序的一些基本名词,如果读者对此有疑惑的话,可以去了解一些3D方面的基本知识) var scene:Scene3D = new Scene3D( "myScene", this, new Camera3D( 550, 400 ), new Group("root") ); // -- 添加一个模型对象到你刚刚创建的场景中 scene.root.addChild(new Sphere( "mySphere" ) ); // -- 场景渲染 scene.render();
-
如何去掉flex chart中的阴影?
Posted on 三月 11th, 2009 No comments这个问题困扰我很久,搜索后发现网上大多提出的方案是
To improve performance, do not use drop-shadows on your series items unless they are necessary. The default styles for BarSeries, ColumnSeries, and LineSeries classes use the ShadowBoxItemRenderer and ShadowLineRenderer classes. Shadow renderers draw drop-shadows beneath the data elements. If drop-shadows are not necessary, switch to the simpler renderers (BoxItemRenderer for ColumnSeries and BarSeries, and LineRenderer for LineSeries); this can improve the rendering speed of your charts.
我按照这个方法试了,却没有成功。 Read the rest of this entry » -
(转贴)基于反向动力学的机械手臂
Posted on 三月 10th, 2009 No comments很久以前收藏的一篇文章,偶然间翻了出来,看看效果还不错,就贴出来了。程序代码基于as2.0。
Read the rest of this entry » -
开源引擎Sandy 3D官方课程翻译(一)
Posted on 三月 3rd, 2009 1 comment这是我初次的翻译作品,水平有限,望大家见谅。平时看这些教程,觉得很好理解,真要翻译成文字,还真不是一个容易的事情。呵呵,不说废话了,进入正题.
原文作者: Max Pellizzaro
翻译:5ulife
-
学习Sandy 3D
Posted on 三月 2nd, 2009 1 comment最近正在学习Sandy 3D (http://www.flashsandy.org/),感觉官方网站做的例子真不错,等有时间翻译下,搞个教程出来。



最近评论