Posts Tagged ‘export’

Thursday, December 22nd, 2011

Unity is fast.  Unity 3.5 preview is available with exporting to Flash 3D/Stage3D available to test.

Unity has been very quick to add this to their editor and platform.  I wasn’t sure how much Flash 3D would get traction if not for UDK and Unity support, as they also work so well on mobile devices. As everyone knows there is an immense mobile disruption and Adobe recently pulled mobile Flash player support. It is possible this will be resurrected as just the Flash Player when/if mobile ever really supports plugins in browsers well, current hardware and technology may be too early – the plugin may have also gone the way of the app on mobile.  There is always a need for advancement to standards though, html5 is largely influenced by Flash and others. I think there will always be a need for technologies that are innovating ahead of standards, which leads to better standards later. Plugins are yet to exist on mobile in a useful way in favor of native apps, due to mobile device hardware limitations in the current generation. There will probably always be a need of some plugins for web games and interactives. And here Unity and Flash have been strong in that area, coming together to tackle 3D and hardware rendering is a great match.

Unity exporting to Flash Stage3D will provide a spark for the Flash Player 11 over WebGL as there is still some benefits to a proprietary solution to plugins currently.  Internet Explorer is still holding out on WebGL and Flash 11 will be able to enter the IE moat.   This export option allows another way to get your game on the web in a browser in addition to the Unity Player when exporting from the Unity tools.  Game companies like Zynga, Playfish/EA, etc will probably be more apt to use the Flash 3D exported version rather than Unity Player only due to market saturation/penetration. I hope Unity Player support continues or possibly Unity gets bought by Flash and Unity becomes Flash.   The integration could be good, but also bad for Unity if they don’t keep their player going so they don’t have to wait for the Flash Player standard from Adobe.

There is an immense market waiting for hardware accelerated games in the browser even for 2D games from core to social games, all of them need to move lots of sprites, logic and game renders around that require performance. Unity to Flash 3D has a slight edge over WebGL in that is is a single player and compiled assets, and supported by the best 3D/2D/game/interactive editor out there in terms of production pipeline. Flash Player is still compiled and a bit faster than WebGL scripted but there is still limitations on what you can do without a compiled app to run; interpreted code still adds heavy weight and delays to the 33ms needed on each frame for 30fps. An example of performance using Box2D across native to scripted rendering.

Unity has given us all a present to play with for the holidays, I am sure it will take some time to get right.  But having this tool to iterate on and seeing what Flash 11 Stage3D can do as an export target will be fun.

There is even a contest that you can enter over the holidays to win some prizes and the entries are judged by none other than UnitZeroOne aka Ralph Hauwert, as well as Lucas Meijer and Unity’s CEO David David Helgason.

Unity 3.5 Preview

Thursday, September 1st, 2011

It’s aliveUnity Technologies has a preview of their Unity export to Flash 3D (Molehill now called Stage3D) posted.  Unity and Flash exporting was announced earlier this year. This is great as it provides huge benefits for Unity developers and Flash developers for games.

Over the last few months here at Unity, we have been hard at work on, amongst many other cool things, the ability to publish from Unity to the Flash Player. This means that next to the already existing build targets of a Unity project, one will be able to target Flash with Stage3D, announced for Flash Player 11.

A sneak preview

This video preview shows the Shadowgun game demo by Madfinger Games, a highly anticipated iOS & Android Unity built game. Except now, it is exported for and running in the Flash Player !

Unity provides the 3d + editor pipeline tools that are arguably the best for web/mobile/desktop/console games.  Flash it ubiquitous across all browsers and Unity content will be seen more often if users already have Flash and don’t need to download the Unity WebPlayer plugin. I do hope the Unity WebPlayer stays strong but if Flash 3D Stage3D low level player can integrate 3d with user interfaces kind of like how games use scaleform for killer interfaces layers on and into high quality hardware accelerated games, then we are all in for a treat, both developers, designers and consumers.

Unity is smart to provide more and more platform exports that are solid but I’d also like to see exporting to html5/WebGL. But for controlling the experience entirely in a plugin today, Unity and Flash are the top two interactive and gaming plugins that provide tremendous content and opportunity for the web. Unity also provides for better low level export to Android and iOS (in addition to desktop mac and pc, consoles). Seems like Adobe should buy Unity soon but hope that they don’t sometimes as the competition is nice.

How are the new Stage3D APIs different from the 3D functionality introduced in Flash Player 10?

In Flash Player 10, we introduced APIs that allowed ActionScript developers and designers to apply 3D effects to 2D content. Those 3D effects allow developers to add perspective and projection to content – which could also be described as 2.5D or “postcards in space.” Additionally, these 3D effects are software rendered and cannot be used for highly complex scenes with a lot of content to render.

The new low-level APIs will provide advanced 3D and 3D engine developers the flexibility to leverage GPU hardware acceleration for significant performance gains. Today, Flash Player, renders thousands of non z-buffered triangles at approximately 30 Hz. With the new Stage3D APIs, developers can expect hundreds of thousands of z-buffered triangles to be rendered at HD resolution in full screen at around 60 Hz. Using the new 3D APIs in Flash Player and AIR will make it possible to deliver sophisticated 3D experiences across almost every computer and device connected to the Internet.

Why is Adobe adding 3D functionality to Flash Player?

3D has been one of the most popular requests from our customers. Enabling true 3D experiences in Flash Player aligns with Adobe’s commitment to innovation and delivering a more complete Flash Platform.

Adobe evolved the web with video and now we are going to evolve the web again with 3D. From interactive websites, e-commerce, and marketing to gaming, 3D will be available to everyone, everywhere.

Does this mean the 3D APIs introduced in Flash Player 10 will be deprecated?

No, the initial 3D APIs introduced in Flash Player 10 continue to provide designers, interactive designers and developers a simple way to apply 3D effects to 2D content. The new low-level 3D APIs are targeted to advanced developers for building complex 3D experiences leveraging GPU hardware acceleration. Choosing one API over another one will depend on the use case and type of content created.

What are the requirements for 3D to work in Flash Player?

We are working to ensure 3D content always works with the best performance, regardless of context and hardware configuration. The 3D APIs will rely on DirectX 9 on Windows and OpenGL 1.3 on MacOS and Linux. For mobile platforms, Flash Player will rely on OpenGL ES 2.0. For those graphics cards that aren’t supported, Flash Player will elegantly fallback to a fast software rasterizer called SwiftShader, a technology licensed from TransGaming.

How do the Stage3D APIs compare to WebGL’s proposal to have the capability be available through browsers and HTML5?

In terms of design, our approach is very similar to the WebGL design. However, we offer a consistent, browser-agnostic solution that will enable advanced 3D experiences on almost every computer and device connected to the Internet. Additionally, GPU-accelerated 3D in Flash Player will build on all the expressiveness features that exist today in Adobe Flash Player.