Gamestudio Links
Zorro Links
Newest Posts
New FXCM FIX Plugin
by flink. 06/04/24 07:30
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
0 registered members (), 1,549 guests, and 14 spiders.
Key: Admin, Global Mod, Mod
Newest Members
AemStones, LucasJoshua, Baklazhan, Hanky27, firatv
19058 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
MED Skin Manager -- first skin #179422
01/23/08 03:18
01/23/08 03:18
Joined: Sep 2003
Posts: 208
Michael_McCrickard Offline OP
Member
Michael_McCrickard  Offline OP
Member

Joined: Sep 2003
Posts: 208
From the manual (the numbers are mine):
"1) When rendering, the first skin can be changed through the entities' skin parameter.
2) This way certain model faces, for instance the clothing, can be drawn with different skins.
3) Faces not assigned to the first skin are always drawn with their assigned skin, regardless of the skin parameter."

As best I can tell, statements 2 and 3 are true, but statement 1 is not. I think it should read "the displayed skin can be changed through the entities' skin parameter."

I have been trying to change the skin only on my model's mouth, so that the mouth can be open when she's supposed to be talking. I can do this if I make the first skin (the first skin listed in Skin Manager) be a skin with the mouth open and I use "Set skin" to assign it to the faces that make up the mouth area. The rest of the skin is just a solid color. The second skin is just a normal skin (the whole body and clothes) with the mouth closed (and I use "Set Skin" to assign it to all the other faces on the model.)

When the skin on this model equals 1, I see the open mouth and the rest of the body/clothes are normal. So the body/clothes are coming from the second skin. When skin = 2 on this model, I see the seocnd skin in its entirety (mouth closed.) If statement 2 was true, and I was actually setting the "first skin" to skin 2, then those faces around the mouth that are not assigned to any portion of that skin would revert to the skin (skin 1) where they ARE assigned. In other words, the mouth would still be open and I would see no change.

The whole thing is a little difficult to explain and I think you don't really get it until you work with it some. I think the explanation should emphasize that there is something special about the model's first skin, mainly that it is the skin where unassigned faces can "peek" through from the skins where they are assigned. This does not seem to be possible with any other skin in the model, no matter what the entity.skin value is.

Re: MED Skin Manager -- first skin [Re: Michael_McCrickard] #179423
01/24/08 08:38
01/24/08 08:38
Joined: Jul 2000
Posts: 27,986
Frankfurt
jcl Offline

Chief Engineer
jcl  Offline

Chief Engineer

Joined: Jul 2000
Posts: 27,986
Frankfurt
"the displayed skin can be changed through the entities' skin parameter."

Yes, that's correct. What was meant is: The entSkin1 is changed through the skin parameter. I'll make this more clear in the manual.


Moderated by  aztec, Inestical, Matt_Coles, Tobias 

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