"How to avoid Fabrice's prebacker"...
caviar for the pigs :))

I mean, that if you do draw into a tmp bmd the last result from whiteShadingmaterial. you set a tmp material bitmapMaterial until you decide it needs to be updated again using the whiteSM...

Fabrice


On Jun 15, 2009, at 12:37 PM, ben wrote:


"well, why do you think I work on the prebaking at the moment? :) "
HAHA !
I know, I wanted to call that topic "How to avoid Fabrice's pre
backer"...
I was sure you will react !

In fact due to some random parameters on scene init, I couldn't use
the prebacking, so any solutions welcome !
I'm trying to get the renderTriangle of CenterLightingMaterial to be
done one time so that it doesn't cost much at run...
that's not working either way, but that's the kind of thing I need :
this could be by only calculating kar, kag, kab, kdr, kdg, kdb, ksr,
ksg... one time and apply them,
or draw the faces result of shading in a bitmap...

"until you decide to restart the WhiteShadingMaterial with the
unshaded version of the bmd. "
What do you mean ? restart calculating at runTime renderTriangle, not
restart with a simple bitmapMaterial ??


Reply via email to