MeshHelper.recenter(mesh); properties such as scaling, recenter, custom url etc will be added later on to loading system.
Fabrice On Mar 2, 2011, at 11:37 AM, iiley Chen wrote: > Yes, that is the problem, after i changed my picture to 1024x1024, > then it works. > Thanks very much! > > Another question, i see the centerMeshs is a TODO in the parser, is it > will be implemented or i should use another way? > > On 3月2日, 下午5时00分, Fabrice3D <[email protected]> wrote: >> is your bitmapdata using power of 2 size? >> 3ds supports materials, so you can define the material inside 3dmax or the >> original 3d editor. >> >> Fabrice >> >> On Mar 2, 2011, at 4:41 AM, iiley Chen wrote: >> >> >> >> >> >> >> >>> Hi, thanks very much for the update, i can load the 3ds and show it on >>> the screen now. >>> But if i set a new material to the Mesh, then the model will not view. >>> I do something like this: >> >>> when the model loaded: >>> var mesh:Mesh = ObjectContainer3D(event.resource).getChild(0); >>> mesh.material = new BitmapMaterial(the bitmap data); >> >>> On 3月1日, 下午8时08分, Fabrice3D <[email protected]> wrote: >>>> I have added a demo code in examples >>>> and updated the parser >> >>>> Fabrice >> >>>> On Mar 1, 2011, at 11:29 AM, originaltomato wrote: >> >>>>> hey does this far/near plane problem exist in away 4.0 because i can't >>>>> see anything in my copies of examples but awaystats shows xxxx/0 polygons >>>>> and i can see that i am moving the camera around with debug (using >>>>> hovercam from the examples)
