Page 1 of 1

OGRE - more xxxMaterial() functions

Posted: Fri Jun 15, 2012 3:11 pm
by PMV
I hope there is no reason why it is not implemented like RotateMaterial()
and ScrollMaterial(). Because i miss it right now, i wish to have
ScaleMaterial() in future, too

I still remember that the material script can much more
... so of course it would be neat to have all missing stuff in future, too :lol:


MFG PMV

Re: OGRE - more xxxMaterial() functions

Posted: Fri Jun 15, 2012 4:01 pm
by Comtois
it would be neat to have all missing stuff in future
As everything is not possible by code (too much to do), can you list the functions that you think are really necessary ?

Otherwise the scripts are here for, you have access to all functions via scripts.

Re: OGRE - more xxxMaterial() functions

Posted: Mon Nov 12, 2012 4:13 pm
by PMV
As i need them now ... i remember again what it was :lol:

Get-Functions :wink: ... what do you think of renaming all/
most of the existing set-functions and create the get-functions,
too. Would be really nice to be possible to get the values that
are used in a material, for example change them based on
the original value. :) The list is in the helpfile. :mrgreen:

just kidding:

Code: Select all

MaterialAmbientColor -> Get/SetMaterialAmbientColor
MaterialDiffuseColor -> Get/SetMaterialDiffuseColor
MaterialSelfIlluminationColor -> Get/SetMaterialSelfIlluminationColor
MaterialSpecularColor -> Get/SetMaterialSpecularColor
MaterialShininess -> Get/SetMaterialShininess
RotateMaterial -> +RotateMaterial/GetMaterialAnglel
ScaleMaterial -> ScaleMaterial/MaterialWidth/MaterialHeight
MaterialDepthWrite -> Get/SetMaterialDepthWrite
DisableMaterialLighting -> Get/SetMaterialLighting
MaterialShadingMode -> Get/SetMaterialShadingMode
MaterialFilteringMode -> Get/SetMaterialFilteringMode
MaterialBlendingMode -> Get/SetMaterialBlendingMode
order by importance for me :)


and what i see, too ... the possibility to access not only the full material,
but the individual Techniques, Passes and Texture Units ... but i have
the feeling thats what you meant with "too much to do" :lol:
Can't you just quit your job like fred? :twisted: :mrgreen:

MFG PMV