By strict loading, are you trying to embed in an Actionscript class, or are you
still using the Loader class?
When I include models I embed them directly, so it looks like this:
[Embed ...
private var Model:Class;
[Embed ...
private var Texture:Class;
Collada.parse (Model, { material: Texture } );
or you can do
Collada.parse (Model, { material: new BitmapMaterial (Cast.bitmap (Texture), {
smooth: true } ) } );
Embedding 3ds files should look the same or similar, just substituting Collada
for the 3ds loader class. Then if you need to load instead of embedding, you
can use 3ds.load instead of 3ds.parse
On Tue, 16 Feb 2010 02:44:55 -0800, Karwoch <[email protected]> wrote:
Yes, I can export to 3ds, and it would be excellent. I`ve only found
explained direct loader package of 3ds, but I couldn`t find any
examples of strict loading 3ds models to away3d, so I`m still
stuck...
On 12 Lut, 15:36, Peter Kapelyan <[email protected]> wrote:
Can you export a different format with Blender? Such as 3DS or OBJ? Away3D
can import those, and you can also use PRefab to convert those to .AS files,
as well as roll your own .AS exporter from Flash+Away3D yoursefl.
Let me know
-Pete
On Fri, Feb 12, 2010 at 5:18 AM, Karwoch <[email protected]> wrote:
> Hey everyone, for some time I`m trying to create 3D (away3d +
> anaglyph) tetris with head tracking. I`ve got all - besides textures
> and meshes... Never been good at graphic just programming. I`m trying
> to export mesh from blender to away3d, using blender plugin (http://
>www.rozengain.com/blog/2008/01/02/export-your-blender-objects-straigh...
> ).
> I`m using fleshdevelop - and I wasn`t very succesfull at exporting
> *.as using away3d. Exporting from blender is even a good idea? I don`t
> have a clue how meshes in away3d are done - I can use implemented
> primitives, but I can`t make a big one plain - I couldn`t set such big
> size (more than 1000px x 1000px) for walls. To be honest - this forum
> is my last hope for resolving this problem... I`ll be grateful for any
> directions, where to read more about this process (creating wall from
> many primitives or creating it in any program like blender, including
> it in one class - I made cube, wich I can move with Wiimote, just I
> don`t know how to create bigger object).
--
___________________
Actionscript 3.0 Flash 3D Graphics Engine
HTTP://AWAY3D.COM