Gamestudio Links
Zorro Links
Newest Posts
loading historical data 1st time
by AndrewAMD. 04/14/23 12:54
Trade at bar open
by juanex. 04/13/23 19:43
Bug in Highpass2 filter
by rki. 04/13/23 09:54
Adding Limit Orders For IB
by scatters. 04/11/23 16:16
FisherN
by rki. 04/11/23 08:38
AUM Magazine
Latest Screens
SHADOW (2014)
DEAD TASTE
Tactics of World War I
Hecknex World
Who's Online Now
4 registered members (fogman, Grant, AndrewAMD, juanex), 989 guests, and 8 spiders.
Key: Admin, Global Mod, Mod
Newest Members
rki, FranzIII, indonesiae, The_Judge, storrealba
18919 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
Changing Models Color #140287
07/10/07 07:16
07/10/07 07:16
Joined: Jun 2007
Posts: 8
H
hammeraxe Offline OP
Newbie
hammeraxe  Offline OP
Newbie
H

Joined: Jun 2007
Posts: 8
HI!
I am wondering: is there a way how you can change color of a model with script?E.g. change car body color to any other RGB color by script without changing the color of its wheels. I want to get any color so using skins would be silly...

Re: Changing Models Color *DELETED* [Re: hammeraxe] #140288
07/10/07 07:44
07/10/07 07:44

A
Anonymous
Unregistered
Anonymous
Unregistered
A



Post deleted by mercuryus

Re: Changing Models Color [Re: ] #140289
07/10/07 07:50
07/10/07 07:50
Joined: Mar 2007
Posts: 776
Poor village - Poland ;)
tompo Offline
User
tompo  Offline
User

Joined: Mar 2007
Posts: 776
Poor village - Poland ;)
my.material = some_material;
some_material.ambient_blue = 255;

the same with others like:
diffuse, ambient, specular, emissive, power, albedo

so You may use f.e. sliders to changing (mixing) colors

Cheers

Last edited by tompo; 07/10/07 07:54.

Never say never.
Re: Changing Models Color [Re: tompo] #140290
07/10/07 17:44
07/10/07 17:44
Joined: Jun 2007
Posts: 8
H
hammeraxe Offline OP
Newbie
hammeraxe  Offline OP
Newbie
H

Joined: Jun 2007
Posts: 8
Ok...But how do I apply the material to only a part of a model not all of it?

Re: Changing Models Color [Re: hammeraxe] #140291
07/10/07 22:17
07/10/07 22:17
Joined: Mar 2007
Posts: 776
Poor village - Poland ;)
tompo Offline
User
tompo  Offline
User

Joined: Mar 2007
Posts: 776
Poor village - Poland ;)
Try to attach differents .fx files to differents skins in MED's skin settings.


Never say never.

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