Page 1 of 1

How to add Textures to Noesis?

Posted: Thu Jun 26, 2014 4:24 pm
by Ahri
How can i add dds Textures to a Model via Noesis? Can anyone tell me?

Re: How to add Textures to Noesis?

Posted: Sat Jun 28, 2014 4:17 am
by CriticalError
Ahri wrote:How can i add dds Textures to a Model via Noesis? Can anyone tell me?
Hello what mean add textures to noesis? if you mean to load automatic when you load model this depend if script have it, if not sure you don't got it, annd in any case remember always put in same folder textures and models, this sometimes work, but as told you before this is always when script support it.

Re: How to add Textures to Noesis?

Posted: Sat Jun 28, 2014 4:17 am
by CriticalError
Ahri wrote:How can i add dds Textures to a Model via Noesis? Can anyone tell me?
Hello what mean add textures to noesis? if you mean to load automatic when you load model this depend if script have it, if not sure you don't got it, annd in any case remember always put in same folder textures and models, this sometimes work, but as told you before this is always when script support it.

Re: How to add Textures to Noesis?

Posted: Sat Jun 28, 2014 8:38 pm
by Demonsangel
Create material
Add texture to material
put material in global material list (, texture in texturelist)
Assign material to CommitTriangle call

Code: Select all

material = NoeMaterial(name, "")
material.setTexture(texName)
matList.append(material)
texList.append(texName) # or loaded texture // path to texfile etc whichever works
rapi.rpgSetMaterial(material)
rapi.rpgCommitTriangles(*args)
mdl = rapi.rpgConstructModel()
mdl.setModelMaterials(NoeModelMaterials(texList, matList))
Something like that

You need to set a material for each rpgCommitTriangles call