ambiera logo

Ambiera Forum

Discussions, Help and Support.

folder icon Ambiera Forum > CopperLicht
forum topic indicator change a texture in runtime
person icon
cosmo
Registered User
Quote
2014-05-02 11:38:56

How to smoothly change a texture of a model from one to another?
Simple approach:

b1.getMaterial(0).Tex1 = engine.getTextureManager().getTexture("newtexture.jpg", true);
in runtime makes my model blink even when "newtexture.jpg" is already loaded.

EDIT: my error. The texture was not loaded. When it is loaded there in no blink.

Mariusz


Create reply:










 

  

Possible Codes


Feature Code
Link [url] www.example.com [/url]
Bold [b]bold text[/b]
Image [img]http://www.example.com/image.jpg[/img]
Quote [quote]quoted text[/quote]
Code [code]source code[/code]

Emoticons


icon_holyicon_cryicon_devilicon_lookicon_grinicon_kissicon_monkeyicon_hmpf
icon_sadicon_happyicon_smileicon_uhicon_blink   






Copyright© Ambiera e.U. all rights reserved.
Contact | Imprint | Products | Privacy Policy | Terms and Conditions |