|
|
Applying a texture to a model while executing the program
#414092
12/22/12 20:31
12/22/12 20:31
|
Joined: Jan 2011
Posts: 40
ChriZ
OP
Newbie
|
OP
Newbie
Joined: Jan 2011
Posts: 40
|
Hey, I would like to now, how I can apply a specific texture (skin) to a model (while running the game) without already having assigned a skin to the model ( http://www.conitec.net/beta/aentity-skin.htm). So if you now hot to do this, please let me know :-) Greetings, Chris
.:Mit freundlichen Grüßen, Chris:.
|
|
|
Re: Applying a texture to a model while executing the program
[Re: ChriZ]
#414097
12/22/12 21:30
12/22/12 21:30
|
Joined: Jun 2009
Posts: 2,210 Bavaria, Germany
Kartoffel
Expert
|
Expert
Joined: Jun 2009
Posts: 2,210
Bavaria, Germany
|
I know it can be done by using a shader but this requires at least 3DGS com...
POTATO-MAN saves the day! - Random
|
|
|
Re: Applying a texture to a model while executing the program
[Re: Kartoffel]
#414100
12/23/12 00:17
12/23/12 00:17
|
Joined: Jul 2002
Posts: 3,208 Germany
Error014
Expert
|
Expert
Joined: Jul 2002
Posts: 3,208
Germany
|
I guess I'm a little lost what exactly as to what exactly your situation is.
So I'll just leave the names of a few functions here that may be of help to you. Or not! I don't know!
ent_morphskin(ENTITY*,STRING* filename); bmap_for_entity (ENTITY*, var frame) ent_cloneskin(ENTITY*) ent_getskin(ENTITY*,var num): BMAP* ent_setskin(ENTITY*,BMAP*,var num): BMAP*
All of the above, however, won't help you if there's no skin mapping (UV coordinates, you know) already done, available and ready to rock. So keep that in mind.
Perhaps this post will get me points for originality at least.
Check out Dungeon Deities! It's amazing and will make you happy, successful and almost certainly more attractive! It might be true!
|
|
|
Re: Applying a texture to a model while executing the program
[Re: Error014]
#414111
12/23/12 11:43
12/23/12 11:43
|
Joined: Jan 2011
Posts: 40
ChriZ
OP
Newbie
|
OP
Newbie
Joined: Jan 2011
Posts: 40
|
Well, sounds interesting, I think that I require something like this. Thank you two.
Chris
.:Mit freundlichen Grüßen, Chris:.
|
|
|
|