|
From: Frank C <li...@si...> - 2004-06-04 15:52:29
|
On 4-Jun-04, at 3:50 AM, Jose' Cruanyes wrote: > On Jun 4, 2004, at 9:25 AM, Frank C wrote: > >> Personally I'd like to see colours modulated _all_ the time - QD3D be >> damned! ;) > > In our application we calculate the mean color for a given texture and > submit it as diffuse color of the object. so blending it will broke us > (and every 3DMF we saved in the past years) I'm fine simply matching QD3D 1.6's behaviour - but I am very surprised yourself and Joe still used this method after QD3D 1.6 was released! > so it's just another use for the brand new Get/SetProperty API I can live with that, but I'm a little unfamiliar with the procedure; where would the best place be to declare a new property type? Would this make more sense as an extension to geometries or to texture shaders? Should there be two flags: "kQ3TextureShaderPropertyModulateDiffuseColor" & "kQ3TextureShaderPropertyModulateTransparency" since the rest of the API makes distinctions between the two? Sorry for all the questions, I'm just not very familiar with the source or the conventions used. Frank. |