I do plan add primitives in the app, but for now, there are not in there yet.

but you can easylly make a cube in away and pass it to prefab via the connector 
(a local connection between your swf and the app)
in prefab you can save the connector class in away3d package.

so basically
save the class (only once, next time you'll have it)

in your project
import connectorclass
make your cube --> using property map6:true (in order to have mapping unique 
per faces)

start prefab connection

new connectorclass(mycube)

2 sec later you have your cube in prefab.
(if its inverted, scale-1, thats one of my todos)
then prebake
export  as as3 lite or away regular, or awd

you can also in your swf just export the cube as awd or obj 
and drop it in prefab

or model your cube in your app and drop it in prefab, prebake and export

but again, primitives are on my todo, its just I keep getting distracted at 
other stuffs I find more funcky :))

Fabrice



On Feb 5, 2010, at 2:46 PM, franto wrote:

> Woow Fabrice, it looks great :) I didnt test it, just install, but it
> look great :)
> 1 question, is there any possiblity to open default away3D primitves like 
> cube?
> 
> I would like to prebake cube texture with light and im curious if I
> need to model cube in 3d max or so, or if there is some basic
> primitives ready :)
> 
> Thanks for your great tool and engine ;)
> 
> 
> -- 
> Franto Kormanak ([email protected])
> Owner & Senior RIA Developer
> at Flexets (http://www.flexets.com)
> 
> profile: http://www.linkedin.com/in/franto
> skype: franto.kormanak
> 
> 
> 
> On 5 February 2010 14:30, Fabrice3D <[email protected]> wrote:
>> Hi Franto,
>> Prefab3D is a little AIR app, I've first started dev to ease my own work, 
>> and decided to share with my fellows Away users.
>> 
>> Its a sort of a missing link between regular 3D apps, designers, flashdevs 
>> and the Away3D engine. Its not an app that tries to be a remake of other 3d 
>> apps around
>> or pretend to be a replacement. I just do try push in there all the stuff we 
>> as away3ddevs miss from other apps.
>> Now in its version 1.207, it's already pretty robust but far from being when 
>> I want it to be in terms of functionalities and interface.
>> But since it looks like many find it handy, I have no choice but continue 
>> dev it :))
>> 
>> I do try to release updates as I go instead of waiting till the full monster 
>> is done,
>> so each update brings enhancements and possibly new stuff.
>> 
>> your can find it here:
>> http://www.closier.nl/prefab
>> 
>> Fabrice
>> 
>> On Feb 5, 2010, at 1:53 PM, franto wrote:
>> 
>>> Hi,
>>> 
>>> maybe stupid question, but is Prefab :) I'm really new in away3d :)
>>> --
>>> Franto Kormanak ([email protected])
>>> Owner & Senior RIA Developer
>>> at Flexets (http://www.flexets.com)
>>> 
>>> profile: http://www.linkedin.com/in/franto
>>> skype: franto.kormanak
>>> 
>>> 
>>> 
>>> On 5 February 2010 13:50, Fabrice3D <[email protected]> wrote:
>>>> Please, send me your 3ds offline so I can test.
>>>> 
>>>> in meanwhile
>>>> if indeed something goes wrong
>>>> you can do the following as well
>>>> 
>>>> var holder: Test2 = new Test2();
>>>> for(var i:int=0;i<holder.meshes.length;++i){
>>>>        view.scene.addChild(holder.meshes[i]);
>>>> }
>>>> 
>>>> the reason you can do this, is because in case of avatars for instance, 
>>>> you can store what ever you want in the as3, and display/remove elements as
>>>> you please...  in fact something similar should be in every parsers...
>>>> 
>>>> Fabrice
>>>> 
>>>> On Feb 5, 2010, at 12:46 PM, [email protected] wrote:
>>>> 
>>>>> Meaning, if the exported Prefab AS3 class contains more than one mesh.
>>>>> How can I bring on stage just one of the meshes or all ? Can you give
>>>>> some code examples please.
>>>> 
>>>> 
>> 
>> 

Reply via email to