Moderators: Moderators, OGRE Team





jacmoe wrote:I totally agree.
I believe that Zadeck is Xavier Decorety - so the Billboard Clouds guy is already introduced to Ogre.







... make "user" have the hand on that by some "callback" system, that will give him the current opacity he should set himself on his object.

having to register a callback mechanism to set the opacity per material
There are other possibilities though ...
you may need to enable scene blending on a material that is normally opaque.
UniqueImpostorHandler::notifyOpacity(const float alpha)
tuan kuranes wrote:I'm thinking about making user have to make a virtual methodthat user will have to overwrite if he wants to handle alpha transition depending on it.
- Code: Select all
UniqueImpostorHandler::notifyOpacity(const float alpha)
So user will make a class by its scene node impostored type.
suggestions, thoughts ?
Are you saying the user will need a different class for every object type that uses imposters?

Users browsing this forum: Ask Jeeves [Bot] and 2 guests