未来版本FlashPlayer中新一代的3D API

News No Comments »

qqe688aae59bbee69caae591bde5908d

Flash Player 3D Future

Join Sebastian Marketsmueller, Adobe Flash Player engineer, for a deep dive into the next-generation 3D API coming in a future version of Flash Player. Marketsmueller will unveil exciting new APIs and demos never shown before, including some exclusive content you cannot miss as a Flash Platform developer.

更多:http://max.adobe.com/schedule/by-day/

期待Flash Player 11下的3D表现。

Tags: ,

JS3D引擎 -CopperLicht

3D No Comments »

基于HTML5,采用WebGL加速的JS3D引擎,运行流畅。

地址:http://www.ambiera.com/copperlicht/index.html
文档:http://www.ambiera.com/copperlicht/documentation/index.html

运行环境: chrome,Firefox

Quake 3 Map Demo

Tags: , ,

Blender exporter

Tools No Comments »

1.Blender to WebGL exporter

http://code.google.com/p/blender-webgl-exporter/

2.Blender to ActionScript Exporter

所支持的引擎:
Alternativa3D
Away3D
Flash Player 10
Native 3D
Papervision3D
Sandy

http://code.google.com/p/blender-as-exporter/

Tags: , , ,

Balder: Silverlight 3D Engine

3D, News No Comments »

filedownload

balder是第一个基于Silverlight开发的3D引擎.使用了webGL进行加速。作者的Blog>>>

一段示例代码:

using Balder.Core.Execution;
using Balder.Core.Objects.Geometries;
using System;
using Balder.Core.Lighting;
using Balder.Core;
using Colors=System.Windows.Media.Colors;

namespace Balder.Silverlight4.TestApp
{
    public class MyGame : Game
    {
        public override void OnInitialize()
        {

            Camera.Position.X = 0;
            Camera.Position.Y = 0;
            Camera.Position.Z = -80;

            var light = new OmniLight();
            light.Diffuse = Color.FromSystemColor(Colors.Green);
            light.Ambient = Color.FromSystemColor(Colors.Green);
            light.Specular = Color.FromSystemColor(Colors.White);
            light.Position.X = 0;
            light.Position.Y = 0;
            light.Position.Z = -130;

            Scene.AddNode(light);

            base.OnInitialize();
        }

        public override void OnLoadContent()
        {
            var teapot = ContentManager.Load("teapot.ase");
            Scene.AddNode(teapot);
            base.OnLoadContent();
        }

        private double _sin;

        public override void OnUpdate()
        {

            Camera.Position.X = (float)(Math.Sin(_sin)*80);
            Camera.Position.Y = 0;
            Camera.Position.Z = (float)(Math.Cos(_sin) * 80);

            _sin += 0.05;
            base.OnUpdate();
        }

    }
}
Tags: , , ,

在Chrome中启用WebGL

3D No Comments »

打开chrome的快捷键属性 在 “目标:”后加入  –enable-webgl –no-sandbox

测试>>>

Tags: , ,

WebGL Cheat Sheet

3D No Comments »

WebGL Cheat Sheet PDF

WebGL Cheat Sheet HTML

Tags: ,

WebGL on Nokia’s N900

News, mobile No Comments »

诺基亚N900手机使用移动版Firefox软件演示WebGL标准的视频

Tags: ,

Flash Player 10.1 prerelease 发布

News No Comments »

支持时下热门的多点触摸和手势特性,内置一个全局错误句柄,允许开发者开发单一的句柄来处理运行时错误,此外它们开始全面支持本地麦克风,无需通过服务器来完成。

对于多点触摸的支持相关的事件

flash.ui.Multitouch
[static] inputMode:String
[static] maxTouchPoints:int
[static] supportedGestures:Vector
[static] supportsGestureEvents:Boolean
[static] supportsTouchEvents:Boolean

Touch Input mode

flash.events.MultitouchInputMode
Multitouch.inputMode
MultitouchInputMode.TOUCH_POINT
MultitouchInputMode.NONE
MultitouchInputMode.GESTURE

Mouse

MouseEvent.CLICK
MouseEvent.DOUBLE_CLICK
MouseEvent.MOUSE_DOWN
MouseEvent.MOUSE_UP
MouseEvent.MOUSE_MOVE
MouseEvent.MOUSE_OUT
MouseEvent.MOUSE_OVER
MouseEvent.ROLL_OUT
MouseEvent.ROLL_OVER

Touch

TouchEvent.TOUCH_BEGIN
TouchEvent.TOUCH_MOVE
TouchEvent.TOUCH_END
TouchEvent.TOUCH_TAP
TouchEvent.TOUCH_OUT
TouchEvent.TOUCH_OVER
TouchEvent.TOUCH_ROLL_OUT
TouchEvent.TOUCH_ROLL_OVER
TouchEvent.TOUCH_TAP

Touch management

Many multi-touch developers like to use an Object or Array of points to keep track of touch inputs (aka blobs) as well as an ID, and X/Y coordinatees for each point. It looks like Flash Player 10.1 will help you conform to these conventions, ActionScript-style.

flash.utils.Dictionary /* Used to track Arrays of Points */
flash.geom.Point /* One contact point */
TouchEvent.touchPointID /* Unique ID for each touch contact point */
TouchEvent.stageX
TouchEvent.stageY
TouchEvent.isPrimaryTouchPoint

Gestures

flash.events.GestureEvent;
flash.events.GesturePhase;
flash.events.GesturePhaseEvent;
flash.events.TransformGestureEvent;

/* GestureEvent */
GestureEvent.GESTURE_TWO_FINGER_TAP
GestureEvent.phase: String
GestureEvent.localX:Number
GestureEvent.localY:Number
GestureEvent.stageX:Number
GestureEvent.stageY:Number

/* GesturePhase */
GesturePhase.BEGIN
GesturePhase.END
GesturePhase.UPDATE

/* GesturePhaseEvent */
GesturePhaseEvent.GESTURE_PAN
GesturePhaseEvent.GESTURE_PRESS_AND_TAP
GesturePhaseEvent.GESTURE_ROTATE
GesturePhaseEvent.GESTURE_ZOOM //Is the same thing as 'pinch'
GesturePhaseEvent.offsetX:Number
GesturePhaseEvent.offsetY:Number
GesturePhaseEvent.rotation:Number
GesturePhaseEvent.scaleX:Number
GesturePhaseEvent.scaleY:Number

Orientation recognition

flash.display.StageOrientation;
/* e.g. StageOrientation.DEFAULT */

flash.display.StageDisplayState;
/* e.g. stage.displayState = FULL_SCREEN_INTERACTIVE; */

在内存方面几乎优化50%
flash_player_mem_footprint

全局设置管理器

e69caae591bde5908d

点击这里下载 FP 10.1 beta player.

各种演示

Flash Player的10.1视频和图形硬件加速

Tags: , ,

FB插件PBDT-Pixel Bender语言编辑工具

Tools No Comments »

在线安装地址: http://pbdt.joa-ebert.com/update

此插件基于eclips 开发,所以不管是eclips还是FB都可以使用,带有高亮提示功能,非常方便编写GLSL.

09

Tags: , , , ,

Away3d工具PreFab 3D

3D, Tools No Comments »

qqe688aae59bbee69caae591bde5908d

可以导入模型进行编辑,如更改UV,加灯光等。可以输出模型文件或AS类

项目网址:http://www.closier.nl/prefab/

安装: http://www.closier.nl/downloads/prefab/prefab.air

Tags: , ,
2010 Vibo’s Blog — FLASH3V | Powered by WordPress |京ICP备09027267号