Important information: this site is currently scheduled to go offline indefinitely by end of the year.

How to add Textures to Noesis?

Post questions about game models here, or help out others!
Post Reply
Ahri
beginner
Posts: 25
Joined: Wed Apr 11, 2012 4:23 pm
Has thanked: 1 time

How to add Textures to Noesis?

Post by Ahri »

How can i add dds Textures to a Model via Noesis? Can anyone tell me?
User avatar
CriticalError
double-veteran
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?

Post 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.
User avatar
CriticalError
double-veteran
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?

Post 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.
Demonsangel
mega-veteran
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?

Post 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
Post Reply