Historique des modifications - Message

Message #10557

Sujet: Soucis de Scale sur texture Terrain


TypeDateAuteurContenu
Dernière modification27-06-2012 17:54:04johnplayer
Quelles valeurs as-tu utilisé pour makeplanar? Peux-tu montrer ta texture?

Edit : J'avais pas vu mais tu utilises scale texture! Utilise-la avec scale = 1.0f puis scale = 2.0f et compare le nombre de fois que ta texture est répétée. Et scale2 mets-la à 0.

virtual void scaleTexture (f32 scale=1.0f, f32 scale2=0.0f)=0
Scales the base texture, similar to makePlanarTextureMapping.
scale : The scaling amount. Values above 1.0 increase the number of time the texture is drawn on the terrain. Values below 0 will decrease the number of times the texture is drawn on the terrain. Using negative values will flip
the texture, as well as still scaling it.
scale2 : If set to 0 (default value), this will set the second texture coordinate set to the same values as in the first set. If this is another value than zero, it will scale the second texture coordinate set by this value.
Création du message27-06-2012 17:40:18johnplayer
Quelles valeurs as-tu utilisé pour makeplanar? Peux-tu montrer ta texture?

Edit : J'avais pas vu mais tu utilises scale texture! Utilise-la avec scale = 1.0f puis scale = 2.0f et compare le nombre de fois que ta texture est répétée. Et scale2 mets-la à 0.

virtual void scaleTexture (f32 scale=1.0f, f32 scale2=0.0f)=0
Scales the base texture, similar to makePlanarTextureMapping.
scale : The scaling amount. Values above 1.0 increase the number of time the texture is drawn on the terrain. Values below 0 will decrease the number of times the texture is drawn on the terrain. Using negative values will flip
the texture, as well as still scaling it.
scale2 : If set to 0 (default value), this will set the second texture coordinate set to the same values as in the first set. If this is another value than zero, it will scale the second texture coordinate set by this value.

Retour

OptionsLiens officielsCaractéristiquesStatistiquesCommunauté
Préférences cookies
Corrections
irrlicht
irrklang
irredit
irrxml
Propulsé par Django
xhtml 1.0
css 2.1
884 membres
1441 sujets
11339 messages
Dernier membre inscrit: Saidov17
76 invités en ligne
membre en ligne: -
RSS Feed