Important information: this site is currently scheduled to go offline indefinitely by end of the year.
How to add Textures to Noesis?
How to add Textures to Noesis?
How can i add dds Textures to a Model via Noesis? Can anyone tell me?
- CriticalError
- double-veteran
- Posts: 678
- Joined: Sun Jul 05, 2009 2:03 am
- Has thanked: 104 times
- Been thanked: 41 times
Re: How to add Textures to Noesis?
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.Ahri wrote:How can i add dds Textures to a Model via Noesis? Can anyone tell me?
- CriticalError
- double-veteran
- Posts: 678
- Joined: Sun Jul 05, 2009 2:03 am
- Has thanked: 104 times
- Been thanked: 41 times
Re: How to add Textures to Noesis?
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.Ahri wrote:How can i add dds Textures to a Model via Noesis? Can anyone tell me?
-
- mega-veteran
- Posts: 241
- Joined: Fri Aug 05, 2011 9:31 pm
- Location: Antwerp
- Has thanked: 13 times
- Been thanked: 41 times
Re: How to add Textures to Noesis?
Create material
Add texture to material
put material in global material list (, texture in texturelist)
Assign material to CommitTriangle call
Something like that
You need to set a material for each rpgCommitTriangles call
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))
You need to set a material for each rpgCommitTriangles call