Sorry my german, is not that good...
but looking at your code, I suggest you make a quick search in this group for
Loader3D
Whats happening is probably that you try to access the mesh object while not
loaded yet.
The sphere, is a primitive, so its there when you do something...
Fabrice
On Mar 30, 2010, at 3:11 PM, martinillo wrote:
> Hi Fabrice!
>
> That is cool - and as you may guess there some more questions ;-)
>
> now i tried to load a image as a material on my roof/the entire model
> and both didn't work, saying:
>
> "TypeError: Error #1009: Der Zugriff auf eine Eigenschaft oder eine
> Methode eines null-Objektverweises ist nicht möglich.
> at away3d.core.render::AbstractRenderSession/renderTriangleBitmap()"
>
> I tried:
> private var pic:BitmapFileMaterial = new BitmapFileMaterial("a.jpg",
> {smooth:true, precision:2});
> ...
> var loader:LoaderCube = Collada.load("element2.dae", {bothsides:true,
> material:pic}) as LoaderCube;
>
> when I try this with e.g. a Sphere it works perfectl :-(
> So there is a difference in how i can access the elements?!
>
> Glad for any hint!
> Thank you
> Martin
>
> On 30 Mrz., 10:16, Fabrice3D <[email protected]> wrote:
>> Probably, but this forum is the place for tips/tricks so everyone can learn
>> them :)
>> So your are not spamming at all!
>>
>> Welcome to Away!
>>
>> Fabrice
>>
>> On Mar 30, 2010, at 10:10 AM, martinillo wrote:
>>
>>> Wow! That is easy. Thank you very much for you quick answer!!!!
>>> Is there maybe any "tips n tricks" area where i can find this do's and
>>> don'ts instead of spamming the forum?
>>> Cool! Thank you!
>>> Martin
>>
>>> 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.
>
> 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.
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.