Gamestudio Links
Zorro Links
Newest Posts
Newbie Questions
by fairtrader. 12/05/23 14:22
Zorro Trader GPT
by TipmyPip. 12/04/23 11:34
Square root rule
by Smallz. 12/02/23 09:15
RTest not found error
by TipmyPip. 12/01/23 21:43
neural function for Python to [Train]
by TipmyPip. 12/01/23 14:47
Xor Memory Problem.
by TipmyPip. 11/28/23 14:23
Training with command line parameters
by TipmyPip. 11/26/23 08:42
Combine USD & BTC Pairs In Asset Loop
by TipmyPip. 11/26/23 08:30
AUM Magazine
Latest Screens
A psychological thriller game
SHADOW (2014)
DEAD TASTE
Tactics of World War I
Who's Online Now
6 registered members (Quad, miwok, Martin_HH, AndrewAMD, alibaba, dpn), 584 guests, and 1 spider.
Key: Admin, Global Mod, Mod
Newest Members
fairtrader, hus, Vurtis, Harry5, KelvinC
19019 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
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 Offline OP
Newbie
ChriZ  Offline 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 Offline
Expert
Kartoffel  Offline
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 Offline
Expert
Error014  Offline
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 Offline OP
Newbie
ChriZ  Offline 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:.

Moderated by  HeelX, Lukas, rayp, Rei_Ayanami, Superku, Tobias, TWO, VeT 

Gamestudio download | chip programmers | Zorro platform | shop | Data Protection Policy

oP group Germany GmbH | Birkenstr. 25-27 | 63549 Ronneburg / Germany | info (at) opgroup.de

Powered by UBB.threads™ PHP Forum Software 7.7.1