OGRE - more xxxMaterial() functions

Got an idea for enhancing PureBasic? New command(s) you'd like to see?
PMV
Enthusiast
Enthusiast
Posts: 727
Joined: Sat Feb 24, 2007 3:15 pm
Location: Germany

OGRE - more xxxMaterial() functions

Post 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
User avatar
Comtois
Addict
Addict
Posts: 1431
Joined: Tue Aug 19, 2003 11:36 am
Location: Doubs - France

Re: OGRE - more xxxMaterial() functions

Post 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.
Please correct my english
http://purebasic.developpez.com/
PMV
Enthusiast
Enthusiast
Posts: 727
Joined: Sat Feb 24, 2007 3:15 pm
Location: Germany

Re: OGRE - more xxxMaterial() functions

Post 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
Post Reply