Gamestudio Links
Zorro Links
Newest Posts
Zorro 2.70
by jcl. 09/29/25 09:24
optimize global parameters SOLVED
by dBc. 09/27/25 17:07
ZorroGPT
by TipmyPip. 09/27/25 10:05
assetHistory one candle shift
by jcl. 09/21/25 11:36
Plugins update
by Grant. 09/17/25 16:28
AUM Magazine
Latest Screens
Rocker`s Revenge
Stug 3 Stormartillery
Iljuschin 2
Galactic Strike X
Who's Online Now
3 registered members (AndrewAMD, Ayumi, NewbieZorro), 14,141 guests, and 5 spiders.
Key: Admin, Global Mod, Mod
Newest Members
krishna, DrissB, James168, Ed_Love, xtns
19168 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 | 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