Hey guys , why you  wouldn't use MilkShape?

On Wed, Sep 15, 2010 at 10:49 AM, Aji Pamungkas <
[email protected]> wrote:

> Hai John,
>
> I just had the same problem like you. :D
> I have 9 MD2 weapons, and one of them causes the same above error
> messages, the last one exported from Blender.
>
> It seems in "Vertex.a"s, in function "setValue",
> "geometry.notifyGeometryUpdate" code is the one that causes this
> error, because geometry is null. I don't know why only one MD2 weapon
> which has this problem. :((
> All of my MD2 weapons were exported using the same script without any
> problem, i even can view them using MD2 Viewer, but only the last one
> that causes error.
>
> My solution is to add "if (geometry)" before
> "geometry.notifyGeometryUpdate" in "setValue" function, in
> "Vertex.as", because in function set x, set y and set z, all of them
> are using "if (geometry)".
>
> On Sep 14, 7:35 am, John Wilson <[email protected]>
> wrote:
> > Thanks,
> >
> > I am using the latest SVN.  The problem may be Blender, but the MD
> > file still performs properly with older versions of Away3D.  Odd.  I
> > will inverstigate further.
> >
> > On Sep 14, 12:32 am, Aji Pamungkas <[email protected]>
> > wrote:
> >
> > > I don't have any problem too when using MD2 in Away3D 3.5. I use
> > > Blender 2.49b and Bob Holcomb's MD2 Exporter.
> > > Maybe you should update your Away3D 3.5 from SVN.
> >
> > > On Sep 13, 8:29 pm, Michael Iv <[email protected]> wrote:
> >
> > > > I have been working with md2 in 3.5 quite a long time and have not
> experienced any problems except of rubbish character in the names when
> exported from milkshape. May be blender is your problem ?
> >
> > > > Sent from my iPhone
> >
> > > > On Sep 13, 2010, at 6:33 PM, John Wilson <
> [email protected]> wrote:
> >
> > > > > I have been trying to parse an embedded MD2 file in Away3d 3.5.  I
> > > > > had no problems with the same MD2 file in earlier versions of
> Away3d
> > > > > (I'm not sure which versions, but they were whatever was current a
> > > > > year or so ago).
> >
> > > > > But now, although the ogre.md2 file parses perfectly, mine give the
> > > > > following runtime errors:
> >
> > > > > TypeError: Error #1009: Cannot access a property or method of a
> null
> > > > > object reference.
> > > > >    at
> away3d.core.base::Vertex/setValue()[C:\Inetpub\wwwroot\bsp_street
> > > > > \src\away3d\core\base\Vertex.as:237]
> > > > >    at away3d.animators::VertexAnimator/updateProgress()[C:\Inetpub
> > > > > \wwwroot\bsp_street\src\away3d\animators\VertexAnimator.as:56]
> > > > >    at away3d.animators::Animator/set progress()[C:\Inetpub\wwwroot
> > > > > \bsp_street\src\away3d\animators\Animator.as:211]
> > > > >    at
> away3d.loaders::Md2/buildAnimations()[C:\Inetpub\wwwroot\bsp_street
> > > > > \src\away3d\loaders\Md2.as:55]
> > > > >    at
> away3d.loaders::Md2/parseNext()[C:\Inetpub\wwwroot\bsp_street\src
> > > > > \away3d\loaders\Md2.as:153]
> > > > >    at
> away3d.loaders::AbstractParser/parseGeometry()[C:\Inetpub\wwwroot
> > > > > \bsp_street\src\away3d\loaders\AbstractParser.as:424]
> > > > >    at
> Main/initAway3D()[C:\Inetpub\wwwroot\bsp_street\src\Main.as:246]
> > > > >    at Main/init()[C:\Inetpub\wwwroot\bsp_street\src\Main.as:181]
> > > > >    at flash.display::DisplayObjectContainer/addChild()
> > > > >    at
> Preloader/startup()[C:\Inetpub\wwwroot\bsp_street\src\Preloader.as:
> > > > > 68]
> > > > >    at Preloader/checkFrame()[C:\Inetpub\wwwroot\bsp_street\src
> > > > > \Preloader.as:41]
> >
> > > > > My file was created in and exported from Blender 2.49b and then
> loaded
> > > > > into Misfit Model 3D 1.3.8 - a process that worked well before.
>  Does
> > > > > anyone have any ideas?
> >
> > > > > Regards,
> >
> > > > > John Wilson- Hide quoted text -
> >
> > > - Show quoted text -
>



-- 
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]

Reply via email to