You are not logged in.
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.
Offline
@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)
utrrrongeeb [Art] formerly amateurmodeller

Offline