Posted By: Nidhogg
Quick question about my.material = - 09/14/08 06:17
Is it ok to assign a material in a while loop..
eg:
while(1)
blah blah
my.material = test_mat;
wait(1);
Posted By: ACKNEX007
Re: Quick question about my.material = - 09/15/08 19:39
it may eat more memory ? i am not sure.
Posted By: Slin
Re: Quick question about my.material = - 09/15/08 19:40
It shouldn´t be worse than my.skill1 = 10; in a while loop
.
Posted By: Nidhogg
Re: Quick question about my.material = - 09/15/08 20:51
Thanks ppl, I gave it a go didn't see any lose in framerate or any other
problems but that was with only two models. I'll add the material
to more models and keep an eye on things..
Thanks again..
Posted By: mpdeveloper_B
Re: Quick question about my.material = - 09/16/08 00:34
all it does is tells the model to enable a material, so it's not much more than changing variables and skills in a loop, considering material really is a skill. (it's more or less what Slin said)
Posted By: Nidhogg
Re: Quick question about my.material = - 09/16/08 05:28
Thanks mp and Slin that answers it more clearly..