Texture problem with software renderer

Started by nuvolanotturna, December 20, 2010, 05:09:26 PM

Previous topic - Next topic

nuvolanotturna

Hi I'm trying to use software renderer but I have some problem with textures.

Here is the result with with hardware renderer:


While this is the result with software renderer:


I've read that multi-texturing isn't supported with software renderer and I don't know if my problem has something to do with that. Actually I'm adding just one texture but I'm not sure of the meaning of "multi texturing".

Here is the code I use to add the texture:
Quote
      o = loadModel("/Developer/ProgettiEL/VITA/modelli/kosciol/kosciol.3DS", 1);
      Texture skinTex = new Texture("/Developer/ProgettiEL/VITA/modelli/kosciol/kosciol.jpg");
      TextureManager.getInstance().addTexture("kosciol", skinTex);
      o.setTexture("kosciol");

Thanks for any help

EgonOlsen

The software renderer might, other than the hardware one, need a call to recreateTextureCoords() ...or similar, i can't remember the exact name, after assigning the new texture.

nuvolanotturna

Yes! It works! :)

Really thank you for being so helpful! :)

EgonOlsen

BTW: Multi-texturing means multiple texture layers per polygon.