DelphiXE2 FireMonkey3D体验
2011-09-14 16:55
260 查看
一、创建一个新的 FireMonkey 3D Application
二、从3D Scene 中拖一个 TLight 控件, 一个 TSphere控件到窗体上
三、设置 Sphere 的材质中 Diffuse 的颜色
设置后效果如下
四、设置 Sphere 的长宽高
效果如图
窗体代码为:
二、从3D Scene 中拖一个 TLight 控件, 一个 TSphere控件到窗体上
三、设置 Sphere 的材质中 Diffuse 的颜色
设置后效果如下
四、设置 Sphere 的长宽高
效果如图
窗体代码为:
object Form1: TForm1 Left = 0 Top = 0 BiDiMode = bdLeftToRight Caption = 'Form1' ClientHeight = 601 ClientWidth = 681 Transparency = False Visible = False object Sphere1: TSphere RotationAngle.Point = '(0,-5.6288743019104,0)' Width = 3.000000000000000000 Height = 3.000000000000000000 Depth = 3.000000000000000000 Opacity = 1.000000000000000000 Material.Diffuse = claGreen Quanternion = '(0,-0.0491016022861004,0,0.998793303966522)' end object Light1: TLight Position.Point = '(1,1,-5)' Width = 1.000000000000000000 Height = 1.000000000000000000 Depth = 1.000000000000000000 Opacity = 1.000000000000000000 LightType = ltDirectional Quanternion = '(0,0,0,1)' end end
相关文章推荐
- Lights:奇妙的WebGL 3D体验
- 【转】体验 Silverlight 5 3D开发之环境搭配篇
- Tensorflow体验: 搭建 3D CNN
- RealSense 3D实感体验:前景广阔目前应用少
- iPhone 6s极致体验:3D-Touch+iOS 9系统
- 体验 Silverlight 5 3D开发之环境搭配篇
- Tensorflow体验: 搭建 3D CNN
- 令人震惊的3d操作体验:LeapMotion
- 3D和IMAX 3D带你体验加勒比的惊涛怪浪
- Sigma Designs SMP8910媒体处理器的3DTV、蓝光和OTT体验
- Tensorflow体验: 搭建 3D CNN
- 提供3D虚拟内容与场景套件 使用SceneKit为您的AR体验添加逼真的三维对象
- 不止生化危机7,世界顶尖3D扫描技术将带来最真实游戏体验
- 红旗Midinux 3.0巅峰预热秀 带您进入3D全方位新体验
- 裸眼 不借助任何设备就可以体验 真3D
- Agent Dash游戏设计之美:如何用2D打造3D体验?
- perspective(3D透视属性)属性体验
- LG 不闪式3D技术风靡韩国 5万用户集体体验3D魅力
- PairProject 1 编程体验之3D 中国象棋
- PairProject 1 编程体验之3D 围棋