|
From: Frank C. <dev...@ch...> - 2004-09-14 21:56:41
|
On 14-Sep-04, at 5:39 PM, Dair Grant wrote: > James W. Walker wrote: > >> In the near term, would anyone object if I added a global option for >> blending function, such as an object property on the renderer? > > Should it go on the renderer, on as a new style? I guess if it's a > short > term thing the renderer would be simpler, but on the other hand if this > is something you would want preserved forevermore then we should > introduce it in a way we can keep working. I have to agree - It would be much more useful if it could be applied per-object. On a similar note, would it be reasonable to modify the Get/SetProperty API to work per object? That would be _much_ more useful than how it currently works, but I'm not sure how difficult the implementation would be. On the other hand, replacing that API with new style objects may be a better way to go about it. There are very few things that should have a strictly global effect IMHO. The global texture filtering settings are a constant annoyance for example, and although the depth buffer manipulation via the Get/SetProperty API is welcomed, it would be much easier to work with if the settings could be applied per-object. Frank. |