Gamestudio Links
Zorro Links
Newest Posts
Zorro Trader GPT
by TipmyPip. 12/04/23 11:34
Newbie Questions
by AndrewAMD. 12/04/23 11:14
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
2 registered members (TipmyPip, izorro), 556 guests, and 2 spiders.
Key: Admin, Global Mod, Mod
Newest Members
fairtrader, hus, Vurtis, Harry5, KelvinC
19019 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
Merging Models #92071
09/27/06 16:08
09/27/06 16:08
Joined: Jul 2006
Posts: 783
London, UK
sheefo Offline OP
User
sheefo  Offline OP
User

Joined: Jul 2006
Posts: 783
London, UK
I have a flagpole model, with one skin and I have a flag model with 9 skins. I want to merge them into one model, with the flagpole using it’s one skin, and when I use “my.skin = n;” I want it to only affect the flag part.

Is this possible, if so then how?

Re: Merging Models [Re: sheefo] #92072
09/27/06 17:06
09/27/06 17:06
Joined: Mar 2006
Posts: 752
Portugal
demiGod Offline
User
demiGod  Offline
User

Joined: Mar 2006
Posts: 752
Portugal
I think you have two ways to do it:

1) merge the two models in just one, unwrap, create 9 skins where the pole have the same painting and changing the flag´s part only;

2) attach (vec_for_vertex) the flag to the pole and you have two models, just call the flag´s skins with a pointer like flag.skin = x;

I hope it helps.

Re: Merging Models [Re: demiGod] #92073
09/27/06 18:39
09/27/06 18:39
Joined: Jul 2006
Posts: 783
London, UK
sheefo Offline OP
User
sheefo  Offline OP
User

Joined: Jul 2006
Posts: 783
London, UK
I was hoping that I could do it without creating two entities. The way of merging the skins, the pole with the flag, is risky. I've tried something like that before but I seamed to have messed it up.

I'll see what I can do...

Re: Merging Models [Re: sheefo] #92074
09/27/06 18:47
09/27/06 18:47
Joined: Sep 2003
Posts: 4,959
US
G
Grimber Offline
Expert
Grimber  Offline
Expert
G

Joined: Sep 2003
Posts: 4,959
US
A.Russell did a tutorial on merging 2 models and thier skins, it will show you how to get it working

Re: Merging Models [Re: Grimber] #92075
09/27/06 19:38
09/27/06 19:38
Joined: Jul 2006
Posts: 783
London, UK
sheefo Offline OP
User
sheefo  Offline OP
User

Joined: Jul 2006
Posts: 783
London, UK
Cool, where can I find this?

Re: Merging Models [Re: sheefo] #92076
09/27/06 23:41
09/27/06 23:41
Joined: Sep 2003
Posts: 4,959
US
G
Grimber Offline
Expert
Grimber  Offline
Expert
G

Joined: Sep 2003
Posts: 4,959
US
sorry, it was by Bobocop (I was thinking of the vertex attachment tutorial by A.Russel before )

you can find it in the med tutorial section on my Documents site link in sig.


Moderated by  HeelX, rvL_eXile 

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