[away3d] Re: Obj mtl not working?

2008-10-13 Thread Fabrice
yes it is! if you get an error in the trace panel, its because your mtl is not located at the right place. look second line of your obj file (open as text file), there is the tag mtl+mtl location. If you get no error, make sure the urls into the mtl are the one reflecting the adress of yo

[away3d] Re: Problems with getting SkyBox6 to use moviematerial

2008-10-13 Thread Actimel
Was thinking the same thing so I tried: var myMat:MovieMaterial = new MovieMaterial( new mcSkyBox(), {lockW: 100,lockH:100}); trace(myMat.width); and the result was TypeError: Error #1009: Cannot access a property or method of a null object reference. at away3d.materials::MovieMaterial/

[away3d] Re: Problems with getting SkyBox6 to use moviematerial

2008-10-13 Thread Actimel
Hi Fabrice, I tried with the following: var myMat:MovieMaterial = new MovieMaterial( new mcSkyBox(), {}); skybox = new Skybox6(myMat); skybox.quarterFaces(); scene.addChild( skybox ); and I got the following error: TypeError: Error #1009: Cannot access a property or method of a null object r

[away3d] Re: Problems with getting SkyBox6 to use moviematerial

2008-10-13 Thread Fabrice
mmm, should work... try pass lockW and lockH to your material (both being holders for with and height of your source mc) depending on your dev tool, sometimes the system needs one extra frame. both vars ensure you get no null. Fabrice On Oct 13, 2008, at 12:47 PM, Actimel wrote: Hi Fabri

[away3d] Re: problem accessing material property of loaded model

2008-10-13 Thread Fabrice
Add a listener to the loader, addOnSuccess(yourfunction) in this function access the event.handle if the handle is an ObjectContainer3D, access the children array and cast as Mesh Fabrice On Oct 13, 2008, at 11:44 AM, Daevid wrote: Hi, i'm loading in a 3ds-model and have some problem wit

[away3d] Problems with getting SkyBox6 to use moviematerial

2008-10-13 Thread Actimel
Hi, I am trying to get a movieclip to be used as the skybox6 material. Anyone managed to do this, I keep getting: 1118: Implicit coercion of a value with static type Object to a possibly unrelated type away3d.materials:ITriangleMaterial.

[away3d] Re: problem accessing material property of loaded model

2008-10-13 Thread Daevid
That's exactly what I am doing, and I'm sure I'm manipulating the correct object, but the material property doesn't seem to change the material. Maybe it's only working when there is only one mesh? /David

[away3d] problem accessing material property of loaded model

2008-10-13 Thread Daevid
Hi, i'm loading in a 3ds-model and have some problem with changing the material after the model is created. The model consists of six different meshes and I would like to use different shaders on one of the meshes. I load the model like this: loader = Max3DS.load("assets/meshes/"+modelName+".3ds

[away3d] Re: Problems with getting SkyBox6 to use moviematerial

2008-10-13 Thread AlinaX
var myMat:MovieMaterial = new MovieMaterial( mc_name, {}); // "mc_name" is the (symbol library) name of that movie clip. regards

[away3d] Re: optimization / max triangles

2008-10-13 Thread bydesign
Well it seems like we've got the optimist (Rob) and the pessimist (Jon). Will FP10 have large performance increases or not? Who knows ... but when someone has some performance numbers with the 3.0.0 branch, please let us know! On Oct 10, 1:43 pm, Jon Bradley <[EMAIL PROTECTED]> wrote: > On Oct 1

[away3d] Re: Problems with getting SkyBox6 to use moviematerial

2008-10-13 Thread Fabrice
mesh.material needs to be a valid material. declare first a material var myMat:MovieMaterial = new MovieMaterial( theSpriteThatYouTryToPass, {}); Fabrice On Oct 13, 2008, at 12:02 PM, Actimel wrote: Hi, I am trying to get a movieclip to be used as the skybox6 material. Anyone managed t

[away3d] animationLibrary problem

2008-10-13 Thread ron
Hi, I am trying out accessing animation sequences. In my collada file, I added the "library_animation_clips" element and a "animation_clip" with id="walk". so in the code I access this sequence thru animationLibrary array: animationData = (model.animationLibrary['walk'] as AnimationData); skinA

[away3d] Re: optimization / max triangles

2008-10-13 Thread Peter Kapelyan
Every f9 SWF I've seen in the latest f10 player (stand alone) have been faster, so the player is faster itself I don't have numbers but I did a few simple tests, like: In the first (1 or 2) f10 players it could only handle about 100 3d planes before it start choking (500 was too much for this

[away3d] Re: optimization / max triangles

2008-10-13 Thread Jon Bradley
On Oct 13, 2008, at 12:26 PM, bydesign wrote: Well it seems like we've got the optimist (Rob) and the pessimist (Jon). Will FP10 have large performance increases or not? Who knows ... but when someone has some performance numbers with the 3.0.0 branch, please let us know! To be fair, I'm opti

[away3d] Duplicate elements

2008-10-13 Thread edlnovo
Hi everyone, is there anyway to duplicate objects en away3d (copy, instance, etc)? more specifically an ObjectContainer3D... thanks for the help :D

[away3d] Re: Obj mtl not working?

2008-10-13 Thread Demon.S
f, thx for your replying , i think im in case "model displayed using color fills", but i dont think it missing mtl tags. i just uploaded mtl here, can u have a look ? http://groups.google.com/group/away3d-dev/web/big_man_edited.mtl thx D:)S On 10月13日, 下午3时39分, Fabrice <[EMAIL PROTECTED]> wrote

[away3d] Re: animationLibrary problem

2008-10-13 Thread katopz
Hi Ronald can you post your dae for testing? also if possible plz keep it simple as you can for faster debugging something like simple cube would be nice thx ;) 2008/10/14 ron <[EMAIL PROTECTED]> > > Hi, > > I am trying out accessing animation sequences. In my collada file, I > added the "libr