Gamestudio Links
Zorro Links
Newest Posts
Z9 getting Error 058
by k_ivan. 04/20/26 15:57
Stooq now requires an API key
by jcl. 04/13/26 09:42
Strange "Alien" Skull created with >Knubber<
by NeoDumont. 04/10/26 18:58
400 free seamless texture pack downl. here !
by NeoDumont. 04/08/26 19:55
ZorroGPT
by TipmyPip. 04/08/26 17:08
AUM Magazine
Latest Screens
Dorifto samurai
Shadow 2
Rocker`s Revenge
Stug 3 Stormartillery
Who's Online Now
2 registered members (TipmyPip, Quad), 4,536 guests, and 4 spiders.
Key: Admin, Global Mod, Mod
Newest Members
juergenwue, VladMak, Geir, ondrej, mredit
19208 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
Mixed skin? #123552
04/12/07 21:25
04/12/07 21:25
Joined: Mar 2007
Posts: 776
Poor village - Poland ;)
tompo Offline OP
User
tompo  Offline OP
User

Joined: Mar 2007
Posts: 776
Poor village - Poland ;)
It's possible to make a model with couple of skins?
I mean f.e. a car... the body has alpha 100 and has metalic material, but windows (some triangles of this car) has alpha 50 and different mateial?
Or I have to make fiew mdls and then attach by vec_for_vertex function?

And second question... how to connect different materials to the same model at the same time?
f.e.
my. material = difuse_mat; (creates by fx file)
my.material = bump_mat; (creates by script - this one from tutorial)
So the entity is difuse and bump at the same time.

Last edited by tompo; 04/12/07 21:29.

Never say never.
Re: Mixed skin? [Re: tompo] #123553
04/12/07 21:39
04/12/07 21:39
Joined: Jan 2007
Posts: 1,565
innsbruck, austria
achaziel Offline
Serious User
achaziel  Offline
Serious User

Joined: Jan 2007
Posts: 1,565
innsbruck, austria
for example a car's windows... can't that be done with alpha mapping?


Yeah, but... Who is Lu?
Re: Mixed skin? [Re: achaziel] #123554
04/12/07 23:08
04/12/07 23:08
Joined: Mar 2007
Posts: 776
Poor village - Poland ;)
tompo Offline OP
User
tompo  Offline OP
User

Joined: Mar 2007
Posts: 776
Poor village - Poland ;)
it means?


Never say never.
Re: Mixed skin? [Re: achaziel] #123555
04/12/07 23:10
04/12/07 23:10
Joined: Mar 2006
Posts: 2,503
SC, United States
xXxGuitar511 Offline
Expert
xXxGuitar511  Offline
Expert

Joined: Mar 2006
Posts: 2,503
SC, United States
Quote:

my. material = difuse_mat; (creates by fx file)
my.material = bump_mat; (creates by script - this one from tutorial)
So the entity is difuse and bump at the same time.




First, make sure you know what diffuse & bumpmapping are...

You cannot combine materials. But bumpmapping (Normal Mapping) includes diffuse lighting... lol.


xXxGuitar511
- Programmer
Re: Mixed skin? [Re: xXxGuitar511] #123556
04/12/07 23:30
04/12/07 23:30
Joined: Mar 2007
Posts: 776
Poor village - Poland ;)
tompo Offline OP
User
tompo  Offline OP
User

Joined: Mar 2007
Posts: 776
Poor village - Poland ;)
this was only an example
but ok:) It's impossible to combine materials:)
And what about my first question? car windows?
it's possible to attach diferent materials to different triangles (polygon)?
car is metalic with no transparency, and windows... like windows;)


Never say never.
Re: Mixed skin? [Re: tompo] #123557
04/13/07 04:40
04/13/07 04:40
Joined: Mar 2007
Posts: 677
0x00000USA
M
MrCode Offline
User
MrCode  Offline
User
M

Joined: Mar 2007
Posts: 677
0x00000USA
Is your texture a .tga?


Code:
void main()
{
    cout << "I am MrCode,";
    cout << "hear me roar!";
    system("PAUSE");
}
Re: Mixed skin? [Re: MrCode] #123558
04/13/07 05:44
04/13/07 05:44
Joined: Mar 2006
Posts: 2,503
SC, United States
xXxGuitar511 Offline
Expert
xXxGuitar511  Offline
Expert

Joined: Mar 2006
Posts: 2,503
SC, United States
Use a 32 bit TGA texture, and creat an alpha channel for it...

Quote:

it's possible to attach diferent materials to different triangles (polygon)?



Yes, sort of. You can use different materials "per-skin". Therefore you must apply the "glass" triangles to a seperate material skin in MED...


xXxGuitar511
- Programmer

Moderated by  HeelX, rvL_eXile 

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