Well, he helped me fix the problem, apparently Away3D Lite needs you
to have texture coordinates... So he added a couple of dummy
coordinates like this:
public function f2(vertexIndex1:int, vertexIndex2:int,
vertexIndex3:int):void {
_indices.push(vertexIndex1,vertexIndex2,vertexIndex3);
_uvtData.push(0,0,1,0,0,1,0,0,1); <---------------- The added line
}
So the error doesn't pop up anymore. But now, the model doesn't
appear. I can't find it on the scene or anything.
Anyone has any idea?
And how do I add indices to that array you were talking about Fabrice?
On Mar 23, 11:23 am, Novora <[email protected]> wrote:
> Thanks for the suggestion!
>
> Just sent an email to him.
>
> And... yeah.. just realized i forgot to download it... Sorry about
> that!
>
> But how do I add indices to the array?
>
> On Mar 23, 7:44 am, Makc <[email protected]> wrote:
>
>
>
> > On Fri, Mar 19, 2010 at 6:29 AM, Novora <[email protected]> wrote:
> > > Can someone please lend a hand?
>
> > > The source is apparently the AS3 files that I get from using
> > > blender... Which was missing an array to push the _facesLengths into,
> > > so I added the extra line of code to initialize the array... And that
> > > happened for all the blender files i try to export again... Both the
> > > Away3DLite 1.0 and Away3DLite 1.02 (i think, there were two version of
> > > Away3DLite, both had that problem)
>
> > apparently you need to call Dennis Ippel to help you with blender export
To unsubscribe from this group, send email to
away3d-dev+unsubscribegooglegroups.com or reply to this email with the words
"REMOVE ME" as the subject.