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
2 registered members (Grant, AndrewAMD), 911 guests, and 9 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
Page 3 of 3 1 2 3
Re: Change the origin of the model [Re: Aku_Aku] #327623
06/07/10 16:35
06/07/10 16:35
Joined: Apr 2010
Posts: 265
V
Vinous_Beret Offline
Member
Vinous_Beret  Offline
Member
V

Joined: Apr 2010
Posts: 265
Quote:
newbies

newbies?????????? confused

Re: Change the origin of the model [Re: Vinous_Beret] #327626
06/07/10 16:49
06/07/10 16:49
Joined: Sep 2009
Posts: 987
Budapest
Aku_Aku Offline OP
User
Aku_Aku  Offline OP
User

Joined: Sep 2009
Posts: 987
Budapest
Since i am totally new to MED (as i wrote).

Re: Change the origin of the model [Re: Lukas] #332509
07/10/10 08:54
07/10/10 08:54
Joined: Sep 2009
Posts: 987
Budapest
Aku_Aku Offline OP
User
Aku_Aku  Offline OP
User

Joined: Sep 2009
Posts: 987
Budapest
That is a really interesting answer.
Quote:
You mean in MED or in script? If you mean in MED, just move the whole model up.

The lite-c is able to change the origin of an entitiy?
How?

Last edited by Aku_Aku; 07/10/10 08:54.
Re: Change the origin of the model [Re: Aku_Aku] #332513
07/10/10 10:40
07/10/10 10:40
Joined: Sep 2003
Posts: 6,861
Kiel (Germany)
Superku Offline
Senior Expert
Superku  Offline
Senior Expert

Joined: Sep 2003
Posts: 6,861
Kiel (Germany)
Did you manage to change the origin in MED?
Normally you don't want to change it with a script, because that would require mesh deformation (or a shader) and is quite slow.


"Falls das Resultat nicht einfach nur dermassen gut aussieht, sollten Sie nochmal von vorn anfangen..." - Manual

Check out my new game: Pogostuck: Rage With Your Friends
Re: Change the origin of the model [Re: Superku] #332516
07/10/10 10:55
07/10/10 10:55
Joined: Sep 2009
Posts: 987
Budapest
Aku_Aku Offline OP
User
Aku_Aku  Offline OP
User

Joined: Sep 2009
Posts: 987
Budapest
Yes i did in MED.
Now i would to know how to change that in script, if possible.
Why would that require mesh deformation? In MED it seems quite simple and smooth and very fast...

Re: Change the origin of the model [Re: Aku_Aku] #332522
07/10/10 11:54
07/10/10 11:54
Joined: Sep 2003
Posts: 6,861
Kiel (Germany)
Superku Offline
Senior Expert
Superku  Offline
Senior Expert

Joined: Sep 2003
Posts: 6,861
Kiel (Germany)
Why would you want to do that?
You know that the origin is no special object or part of the model floating around, but simply the spot where x=y=z=0, right?
That means if you want to change the "origin" by script, you will need to move every vertex of the model.


"Falls das Resultat nicht einfach nur dermassen gut aussieht, sollten Sie nochmal von vorn anfangen..." - Manual

Check out my new game: Pogostuck: Rage With Your Friends
Re: Change the origin of the model [Re: Superku] #332523
07/10/10 12:01
07/10/10 12:01
Joined: Sep 2009
Posts: 987
Budapest
Aku_Aku Offline OP
User
Aku_Aku  Offline OP
User

Joined: Sep 2009
Posts: 987
Budapest
Hmmm...
I didn't think it is so complicate.
In this case it isn't interesting to me anymore.
Just wondering why seems it so simple in MED...

Is there a process or method or something else in MED that puts
the orginin right in the center of an object?
Because by hand and mouse i can do it so imprecise...

Last edited by Aku_Aku; 07/10/10 12:06.
Re: Change the origin of the model [Re: Aku_Aku] #332529
07/10/10 14:14
07/10/10 14:14
Joined: Aug 2009
Posts: 1,438
Spain
painkiller Offline
Serious User
painkiller  Offline
Serious User

Joined: Aug 2009
Posts: 1,438
Spain
in med: edit->Transform model Global->Center Model


3D Gamestudio A8 Pro
AMD FX 8350 4.00 Ghz
16GB RAM
Gigabyte GeForce GTX 960 4GB
Re: Change the origin of the model [Re: painkiller] #332532
07/10/10 15:16
07/10/10 15:16
Joined: Sep 2009
Posts: 987
Budapest
Aku_Aku Offline OP
User
Aku_Aku  Offline OP
User

Joined: Sep 2009
Posts: 987
Budapest
Thanks, today night i'll try that.

Page 3 of 3 1 2 3

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