Gamestudio Links
Zorro Links
Newest Posts
AlpacaZorroPlugin v1.3.0 Released
by kzhao. 05/22/24 13:41
Free Live Data for Zorro with Paper Trading?
by AbrahamR. 05/18/24 13:28
Change chart colours
by 7th_zorro. 05/11/24 09:25
AUM Magazine
Latest Screens
The Bible Game
A psychological thriller game
SHADOW (2014)
DEAD TASTE
Who's Online Now
3 registered members (AndrewAMD, Akow, 1 invisible), 1,417 guests, and 12 spiders.
Key: Admin, Global Mod, Mod
Newest Members
AemStones, LucasJoshua, Baklazhan, Hanky27, firatv
19055 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
Page 1 of 2 1 2
Is it possible to change the skin on a terrain... #44964
04/28/05 09:40
04/28/05 09:40
Joined: May 2002
Posts: 611
Germany => Bavaria => Unterfra...
LordRathan Offline OP
User
LordRathan  Offline OP
User

Joined: May 2002
Posts: 611
Germany => Bavaria => Unterfra...
... during runtime?

Ok, I've got a terrain with a size of 4000 quants, scaled in my project to 8000 quants. My textures had a size of 1024 x 1024. How can I change the textures on the terrain during runtime?

Re: Is it possible to change the skin on a terrain [Re: LordRathan] #44965
04/28/05 10:03
04/28/05 10:03
Joined: Oct 2002
Posts: 8,939
planet.earth
ello Offline
Senior Expert
ello  Offline
Senior Expert

Joined: Oct 2002
Posts: 8,939
planet.earth
ent_morphskin(entity,string filename);

doesnot belong to shader section


www.earthcontrol.de
quoted: We want to maintain a clean, decent, American family suited forum look... which means you may post zombies or chainsaw massacres, but no erotic.
Re: Is it possible to change the skin on a terrain [Re: ello] #44966
04/28/05 11:15
04/28/05 11:15
Joined: May 2002
Posts: 611
Germany => Bavaria => Unterfra...
LordRathan Offline OP
User
LordRathan  Offline OP
User

Joined: May 2002
Posts: 611
Germany => Bavaria => Unterfra...
Ok, thanks. I thought it must be a shader. ^^

EDIT: But isn't it just for A6 professional? So it is noted in the help-file. I've got just A6 C.

Last edited by LordRathan; 04/28/05 11:20.
Re: Is it possible to change the skin on a terrain [Re: LordRathan] #44967
04/28/05 11:42
04/28/05 11:42
Joined: Oct 2002
Posts: 8,939
planet.earth
ello Offline
Senior Expert
ello  Offline
Senior Expert

Joined: Oct 2002
Posts: 8,939
planet.earth
ok, in that case you can use the material skins and later on use:
mtl_name.skin1=newtex; // loads the bmap newtex into skin 1 of the given material


www.earthcontrol.de
quoted: We want to maintain a clean, decent, American family suited forum look... which means you may post zombies or chainsaw massacres, but no erotic.
Re: Is it possible to change the skin on a terrain [Re: ello] #44968
04/28/05 12:59
04/28/05 12:59
Joined: May 2002
Posts: 611
Germany => Bavaria => Unterfra...
LordRathan Offline OP
User
LordRathan  Offline OP
User

Joined: May 2002
Posts: 611
Germany => Bavaria => Unterfra...
Ok, I try it. Many thanks.

Re: Is it possible to change the skin on a terrain [Re: LordRathan] #44969
05/02/05 10:49
05/02/05 10:49
Joined: May 2002
Posts: 611
Germany => Bavaria => Unterfra...
LordRathan Offline OP
User
LordRathan  Offline OP
User

Joined: May 2002
Posts: 611
Germany => Bavaria => Unterfra...
Another question about skin1:

If I right understand, I have to define up to 4 skins for skin1 .. skin4 and than I can change them?
Hm, that's not good. I need up to 900 Skins...

Re: Is it possible to change the skin on a terrain [Re: LordRathan] #44970
05/02/05 13:16
05/02/05 13:16
Joined: Oct 2002
Posts: 8,939
planet.earth
ello Offline
Senior Expert
ello  Offline
Senior Expert

Joined: Oct 2002
Posts: 8,939
planet.earth
well, you should optimize your idea a little. how much will be present at the same time?? maybe you can set up few big textures and shift the texture coordinates using entSkill's .
some more details on what you are trying to achive would be good to offer you solutions.
if you plan on having different colors you can use a blend map and some calculations with entSkills

or buy pro, or use 900 different models

Last edited by ello; 05/02/05 13:18.
Re: Is it possible to change the skin on a terrain [Re: ello] #44971
05/02/05 13:42
05/02/05 13:42
Joined: Oct 2003
Posts: 4,131
M
Matt_Aufderheide Offline
Expert
Matt_Aufderheide  Offline
Expert
M

Joined: Oct 2003
Posts: 4,131
Well this can be done pretty easily.. first use material skins, not entity skins. Then simply make a material event like so:

bmap skin1=<skin1.tga>;
bmap skin2=<skin2.tga>;
etc...
function material_event()
{
mtl.enable_render=on;

if my.SKINTPYE=1
{
mtl.Skin1=skin1;
}

etc...

}

Re: Is it possible to change the skin on a terrain [Re: Matt_Aufderheide] #44972
05/02/05 18:24
05/02/05 18:24
Joined: May 2002
Posts: 611
Germany => Bavaria => Unterfra...
LordRathan Offline OP
User
LordRathan  Offline OP
User

Joined: May 2002
Posts: 611
Germany => Bavaria => Unterfra...
mhm.. I'll try it. Thanx to you two.

Re: Is it possible to change the skin on a terrain [Re: LordRathan] #44973
05/04/05 04:43
05/04/05 04:43
Joined: May 2002
Posts: 611
Germany => Bavaria => Unterfra...
LordRathan Offline OP
User
LordRathan  Offline OP
User

Joined: May 2002
Posts: 611
Germany => Bavaria => Unterfra...
ent_morphskin works with A6 Com. It's just not updated in the manual. And it works fine.

Page 1 of 2 1 2

Moderated by  Blink, Hummel, Superku 

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