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
3 registered members (TedMar, AndrewAMD, fairtrader), 578 guests, and 0 spiders.
Key: Admin, Global Mod, Mod
Newest Members
fairtrader, hus, Vurtis, Harry5, KelvinC
19019 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