Nice :)

Cheers Rob.




On 8 November 2010 13:25, Rob Bateman <[email protected]> wrote:

> Hey Darcey
>
> this will be rectified soon - the plan is to merge as3dmod features with
> Away3D as it is no longer being regularly maintained by its creator Bartek
>
> cheers
>
> Rob
>
>
> On Sun, Nov 7, 2010 at 3:52 AM, Darcey Lloyd <[email protected]>wrote:
>
>> Anyone got a port of AS3Dmod/plugins/away3d/Away3dMesh.as yet?
>>
>> I get no errors from the script below but it ends up blank.
>>
>>
>> package com.as3dmod.plugins.away3d {
>>  import away3d.core.base.Face;
>> import away3d.core.base.Mesh;
>> import away3d.core.base.Vertex;
>>  import com.as3dmod.core.FaceProxy;
>> import com.as3dmod.core.MeshProxy;
>>  import com.as3dmod.core.Vector3;
>>  import flash.utils.Dictionary;
>>
>> public class Away3dMesh extends MeshProxy {
>>  private var awm:Mesh;
>>  override public function setMesh(mesh:*):void {
>> awm = mesh as Mesh;
>>
>> var lookUp : Dictionary = new Dictionary(true);
>> var vs:Vector.<Vertex> = awm.vertices;
>>  var vc:int = vs.length;
>> var ts:Vector.<Face> = awm.faces;
>> var tc:int = ts.length;
>>  for (var i:int = 0; i < vc; i++) {
>> var nv:Away3dVertex = new Away3dVertex();
>>  nv.setVertex(vs[i] as Vertex);
>> vertices.push(nv);
>> lookUp[vs[i]] = nv;
>>  }
>>  for (i = 0; i < tc; i++) {
>>  var nt:FaceProxy = new FaceProxy();
>> trace("Face(ts[i]).vertices[0]] = " + Face(ts[i]).vertices[0]   );
>>  nt.addVertex(lookUp[Face(ts[i]).vertices[0]])
>> nt.addVertex(lookUp[Face(ts[i]).vertices[1]])
>>  nt.addVertex(lookUp[Face(ts[i]).vertices[2]])
>> faces.push(nt);
>> }
>>  }
>>  override public function updateMeshPosition(p:Vector3):void {
>>  awm.x += p.x;
>> awm.y += p.y;
>> awm.z += p.z;
>>  }
>> }
>> }
>>
>>
>>
>>
>>
>>
>>
>> On 11 October 2010 19:55, Michael Iv <[email protected]> wrote:
>>
>>> Seems like Bend modifier causes unexpected results too
>>>
>>>
>>> On Mon, Oct 4, 2010 at 5:48 PM, Zlatko Sofić <[email protected]>wrote:
>>>
>>>> Don't have a live demo, here are some screenshots
>>>> http://img178.imageshack.us/gal.php?g=scr1x.jpg
>>>> The plane breaks while bending, the perlin modifier also not working
>>>> correctly I guess I'll have to stick with 3.5 for now... Thanks for
>>>> the help
>>>>
>>>> On Mon, Oct 4, 2010 at 4:03 PM, Guitouxx <[email protected]> wrote:
>>>> > On my portfolio I have different bend movements If you switch the
>>>> > language ort he section (test with firefox and chrome for example).
>>>> >
>>>> > On Oct 4, 9:59 am, Guitouxx <[email protected]> wrote:
>>>> >> @makc Oops, I delete the file from my server. I can reupload the file
>>>> >> tonight (and if we resolve the sofke bug, I think we can commit the
>>>> >> new version)
>>>> >>
>>>> >> @sofke : strange because I used it for my portfolio (
>>>> www.guitouxx.com)
>>>> >> and I seems to be ok with away 3.6 and this updated file.
>>>> >> Do you have an URL where we can see the result??
>>>> >>
>>>> >> On Oct 4, 8:14 am, makc <[email protected]> wrote:
>>>> >>
>>>> >> > well, I dont really want to do any research, but I do have commit
>>>> >> > rights to as3dmod. so if you guys confirm that as file above fixes
>>>> the
>>>> >> > bug with latest away, I will commit it on your behalf.
>>>>
>>>
>>>
>>>
>>> --
>>> Michael Ivanov ,Programmer
>>> Neurotech Solutions Ltd.
>>> Flex|Air |3D|Unity|
>>> www.neurotechresearch.com
>>> http://blog.alladvanced.net
>>> http://www.meetup.com/GO3D-Games-Opensource-3D/
>>> Tel:054-4962254
>>> [email protected]
>>> [email protected]
>>>
>>>
>>
>
>
> --
> Rob Bateman
> Flash Development & Consultancy
>
> [email protected]
> www.infiniteturtles.co.uk
> www.away3d.com
>

Reply via email to