Articles Tagged: collada

use of 3D standard format collada, workflow, loading, parsing news, samples, references

Flash Summer Camp Berlin – Think In 3D Workshop – Follow-up

July 13th, 2009 | By Cedric Madelaine

037 FlashCampBerlinFollowup Flash Summer Camp Berlin   Think In 3D Workshop    Follow up image

analogd’s workshop at the Flash Summer Camp Berlin 2009

Few weeks ago I gave a workshop about Real Time 3d in Flash in Berlin during the Flash Summer Camp Berlin. To start with, I would like to thank the organisers flex-lab.de, Bettina and Mathias you did a great job the venue was amazing and the organisation worked like a Swiss watch icon wink Flash Summer Camp Berlin   Think In 3D Workshop    Follow up image
I would like to thank also everybody who attended this workshop, especially because it was on Sunday.
Thank you for your positive feedback, I really enjoyed talking with you about Flash 3D. It was also nice to see that they were experimented 3D people in the audience. The audience was varied which brought me to build a workshop not focused very much on code but more on concepts. I know that could have been frustrating for some people and I will try to address this by posts targeted on code in upcoming weeks.

Workshop Think in 3D: follow-up

To start with I would like to tell people, because somebody asked, .ch is for Switzerland (Confoederatio Helvetica), I think I should switch for a .com now icon wink Flash Summer Camp Berlin   Think In 3D Workshop    Follow up image Happy to see that Duanne Nickull knews about it icon wink Flash Summer Camp Berlin   Think In 3D Workshop    Follow up image Cheers from Switzerland.

You will find below the first part of the workshop’s follow-up, it gives you further insight by theme about subjects discussed during my Workshop at the Flash Summer Camp Berlin, checkout also the pdf of the full workshop below, it includes plenty of links which were not presented in Berlin.
Workshop’s PDF here.

Good to know

They are often situations where you need to match 3D to 2D and the reverse, especially if you use 3d as a transition effect or as Wow effect within a 2D interactive design. Please find below a helpful link to achieve this:
Pixel Precision in 3D match 2D and 3D.

During the workshop I told you about using Unwrap and baked textures, here is for reference a simple explanation of it. UVW Unwrap allows you to unfold a 3D object on a flat plane. This technic is often used to add “baked textures” to your 3d objects. Baked textures are textures with lightening and shadows prerendered, leveraging your scene from the computer intensive real time lightening. This technic has been used a lot within the gaming industry and fits perfectly the context of Flash Real Time 3D. For example take a cube, unwrap it. Now you have a flat representation of each face of your cube, then you can export it as an image file and edit it in Photoshop. Once done with your modifications (adding for example shadows and lightening or swapping Flat texture with more realistic ones), you apply your modified image in your 3D software, and now you have your model with prerendered lightening and shadows ready to be exported to Collada and to be used within Papervision3D or Away3d or Alternativa3D or …
The previous example was
only given for the sake of explanation about UVW Unwrap. Most of the time 3D software allow you to directly bake the lightening and shadows as you set it up in your 3D environment to your texture (look at: Render to texture).
Checkout this tutorial by Blitz Lab about Unwrap, Baking a texture and Collada exports.
Checkout Texture Baking is your friend.
Checkout this tutorial about AS3exporter and Unwrap.

Collada

As mentioned during the workshop you should use the DAE.as class instead of the Collada.as class (Collada can be used for quick tests). The former is more advanced, loading is well managed and plenty of features are supported.
Regarding Collada you should look also at loading zipped Collada models using fzip or using the new Papervision3D KMZ Parser. KMZ files are Google Sketchup files, a zip file including an XML Collada and its related textures. Both technics can reveal handy if you have plenty of models to load. Check this blog post about loading zipped collada models within Papervision3D.
I was asked about how to deform a Collada model, here is links to resources: Using Collada Bend Modifier which uses as3dmod (see below for further explanations).

MD2

There is a great Getting Started video tutorial serie about steps to create ID Software MD2 models for Flash Real Time APIS, check this out if you are interested in MD2 animated models: Step by Step Tutorial creating MD2 Models by Michael Lively

An Away3D feature allows you to make smooth transition between MD2 keyed transitions. It is extremely useful to people working on 3d games: smooth transition of MD2 Keyed animation.

3D API tools

AS3geom exporter: a 3ds Maxscript which allows you to export your 3ds Max models as .as class files (for Paperversion3D, Away3D and Sandy3D). Can be useful if you need to embed a model, but should be used with care if you need to embed a lot of various 3D models. Loading of external Collada files should be preferred, (or you could export multiple models then embed them within a swf or numerous swfs and then load it using modules)

Flash 3D Modifier API: Any regular 3D Software has its own Modifiers Library. To be short, it provides you a way to modify various aspects of your 3d object or/and add further edit options. It is usually based on the Decorator Design pattern, hence it is non-destructive. Now Flash 3D APIS has its own: as3dmod.

Spring Camera: a camera with natural movement useful, for example, for FPS or games: Spring Camera by Agit8

Jiglib 3D Real Time Physics Engine ported from c++, is an engine which adds physic qualities to your scene, the same as Havok works for 3ds Max.
There is also WOW Physic engine based on APE, but recently Jiglibs brought a lot of excitement within the Flash 3D community. The question is: has Flash Player power enough to manage Real Time 3D rendering AND Real Time Physic simulation?
Here is a game demo using this engine: 3D Ball Adventure.

If you are interested doing Augmented Reality within Flash checkout the following: FLAR Toolkit and Lee brimelow Getting Started tutorial. I have started a blog post serie about Augmented Reality following a conference I did some time ago, check it out if you are interested in this.

Flash 3D API Editors

There is currently a “trend” starting for Flash 3D APIS to propose users “live editors/builders” to allows them quickly setup their 3d scene. This is a good opportunity also for non 3d people to getting started.

This is a promising initiative by Juxt Interactive to be used with Papervision3D: VizualPV3D by Gary Stasiuk, the task is huge and a 3D software is something very hard to build especially regarding user interface, I wish Gary a lot of success in his work!

John Grden is also working on a PV3D CS4 integration which is not available yet.

Alternativa3D Team is currently working on this kind of tool for their registered clients.

End of part 0

This is it, for the first part of this follow-up to my Flash Summer Camp Berlin workshop. I would like to thank Carlos Ulloa (Papervision3D), Rob Bateman (Away3d) and Alex Karpovich (Alternativa3D) for having so kindly answered to my short “Interview” which was amazingly helpful to build this workshop and tell people about the latest news within Flash Real Time 3D APIs.

analogd Giving a Workshop on Real Time 3d at Flash Summer Camp Berlin

June 8th, 2009 | By Cedric Madelaine

postImage 01short analogd Giving a Workshop on Real Time 3d at Flash Summer Camp Berlin image

analogd’s workshop at the Flash Summer Camp Berlin

Next week-end I am giving a workshop in english on Real Time 3d in Flash in Berlin during the Flash Summer Camp Berlin. I am very excited about it and I am looking forward to meeting a lot of interesting people and following exciting presentations. It is an event targeting developers and designers, which is already full booked.

spacer analogd Giving a Workshop on Real Time 3d at Flash Summer Camp Berlin image

The Flash Summer Camp Berlin is organised by flex-lab.de and Adobe, it is part of the Official Adobe Flash Platform Tour 2009, which promotes Flash Builder 4 and Flash Catalyst.

With recent publishing of official Beta of Flash Builder 4 and Flash Catalyst, it is an interesting time to discover from Adobe’s people the latest improvements and strategic choices. Duanne Nickull, Adobe Senior Technical Evangelist, will present two Adobe Official Sessions at Flash Summer Camp Berlin.
I will be particularily interested to ask how will Flash Platform fits in Adobe Suite Scheme… Would they be a Flash Platform suite? Would it be part of other suites? Would it be part of CS4 Master Collection?
I am also looking forward to attending to Andre Michelle’s presentation and several others. Meet you there…

Workshop’s teaser:Think in 3D: opening a new world of creative interactions

Flash and 3D has always been something that innovative people tried to gather. Unfortunately it has been complex to achieve because of past performances.

From fake 23d with 2d objects, to pre-rendered Vector 3d animations, from pre-rendered 3d videos to Real Time 3d, from Real Time 3d to 3d physic, fps games and Augmented Reality. 3d and Flash has been coming a long way. Real Time 3D APIs are around the corner for some time now and it is quite impressive what people behind these have achieved and how far it goes.

This workshop targets a wide range of people from Designers to Developers. The objective is to introduce people to the 3d world. Its well established concepts will be presented to help people have a better idea of the big picture. Then it will be used as a starting point to explore Flash Real Time 3d. This workshop will go through following themes:

Flash and 3d short history

3d world concepts

Presentation of the most popular 3d APIS including current state and future expectations

Comparison of these APIS

How Flash CS4 and Flash Player 10 intervene in this game

Definition and usage of the various source formats handled by these APIS

Presentation of the tools gravitating around these APIS

Getting started examples and hands’ on code presentation

Conceptual introduction to advanced features

Piece of advice and References

Meet you there…

spacer analogd Giving a Workshop on Real Time 3d at Flash Summer Camp Berlin image