Friendlyskies AoI Forum

You are not logged in.

Announcement

#16 June 14, 2009, 1:46 pm

green_meklar
Blade of Logic
From: Milky Way
Registered: June 9, 2009,
Posts: 9
Reputation :   
Website

Re: They say there are no stupid questions...

Sounds good to me! I imagine it would be nice being able to put all those in one method seeing as you're almost certainly going to be doing something with them anyway. Makes the code that much more readable.

I am still having problems with the parameters on the layered textures, though. Nothing I try seems to work and I'm kind of out of ideas by now. The crazy thing is, the error I was encountering before changes if I rearrange [LayeredTexture].setMapping(), [Object3D].setTexture() and addcolor() over where I'm calling them from. If the first two come after addcolor(), it encounters an error. If they come before, it results in a strange object that extends sideways off the side of the screen. If they come both before and after, the object is created without any errors and looks normal, but still doesn't reflect how the parameters were supposed to be set. I'm just totally mystified.


[/post]

Offline

 

#17 June 15, 2009, 4:52 am

utrrrongeeb
Sentient Primitive
From: Eastern Canada
Registered: August 27, 2005,
Posts: 402
Reputation :   

Re: They say there are no stupid questions...

@Peter:
Could you add an appendLayer() method to provide the alternate functionality? Or also provide an overload (assuming that's the correct term) of insertLayer() which doesn't take an index argument, assuming 0?

Last edited by utrrrongeeb (June 15, 2009, 4:53 am)


neutral utrrrongeeb [Art] formerly amateurmodeller
Win Win Win Honorable count3

Offline

 

Board footer

Powered by PunBB
© Copyright 2002–2005 Rickard Andersson