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
1 registered members (AndrewAMD), 1,454 guests, and 9 spiders.
Key: Admin, Global Mod, Mod
Newest Members
AemStones, LucasJoshua, Baklazhan, Hanky27, firatv
19058 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
Page 2 of 2 1 2
Re: i don't understand matrices [Re: Julius] #26042
04/15/04 10:14
04/15/04 10:14
Joined: Nov 2003
Posts: 677
There
Julius Offline OP
Developer
Julius  Offline OP
Developer

Joined: Nov 2003
Posts: 677
There
One more question. I am right now learning about matrices (thanks for the links, Alexander Esslinger), and I'd like to know beforehand if I can use them with entity positions. I know they can be used with skins, but can 3DGS also use matrices for manual scaling/rotating/transformation of entities as well? It's just something I'd like to experiment on.

Julian


flabadabadab.
Re: i don't understand matrices [Re: Julius] #26043
04/15/04 11:13
04/15/04 11:13
Joined: Oct 2000
Posts: 1,543
Germany
A
Alexander Esslinger Offline
Senior Developer
Alexander Esslinger  Offline
Senior Developer
A

Joined: Oct 2000
Posts: 1,543
Germany
No. Internally it does that when you use x/y/z, scale_x/y/z or pan/tilt/roll, but you cannot change the matrix directly by script.

GameStudio does implement some matrices functions though, like multipling two matrices or creating the identity matrix, but that's it. The only thing they are imported for now is when using the new material effects. Transforming the model's UVs is also done in effects only.

Re: i don't understand matrices [Re: Alexander Esslinger] #26044
04/15/04 20:03
04/15/04 20:03
Joined: Dec 2000
Posts: 4,608
mk_1 Offline

Expert
mk_1  Offline

Expert

Joined: Dec 2000
Posts: 4,608
So is it possible to transform angels of a matrix to another one (object matrix to world matrix so I can rotate a turret on my spaceship)? How can I do that?


Follow me on twitter
Re: i don't understand matrices [Re: Alexander Esslinger] #26045
04/15/04 20:03
04/15/04 20:03
Joined: Dec 2000
Posts: 4,608
mk_1 Offline

Expert
mk_1  Offline

Expert

Joined: Dec 2000
Posts: 4,608
So is it possible to transform angels of a matrix to another one (object matrix to world matrix so I can rotate a turret on my spaceship)? How can I do that?


Follow me on twitter
Re: i don't understand matrices [Re: Alexander Esslinger] #26046
04/15/04 20:03
04/15/04 20:03
Joined: Dec 2000
Posts: 4,608
mk_1 Offline

Expert
mk_1  Offline

Expert

Joined: Dec 2000
Posts: 4,608
So is it possible to transform angels of a matrix to another one (object matrix to world matrix so I can rotate a turret on my spaceship)? How can I do that?


Follow me on twitter
Re: i don't understand matrices [Re: mk_1] #26047
04/15/04 21:58
04/15/04 21:58
Joined: Oct 2000
Posts: 1,543
Germany
A
Alexander Esslinger Offline
Senior Developer
Alexander Esslinger  Offline
Senior Developer
A

Joined: Oct 2000
Posts: 1,543
Germany
What do you mean by rotating the angles of a matrix?

Re: i don't understand matrices [Re: mk_1] #26048
04/16/04 09:08
04/16/04 09:08
Joined: Nov 2003
Posts: 677
There
Julius Offline OP
Developer
Julius  Offline OP
Developer

Joined: Nov 2003
Posts: 677
There
@ MK.1:

Do you mean using matrices to rotate an entity relative to its world pan, tilt, and roll? This is something I've really wanted to do!

Julian


flabadabadab.
Re: i don't understand matrices [Re: Julius] #26049
04/17/04 04:12
04/17/04 04:12
Joined: Mar 2004
Posts: 13
J
jerryH Offline
Newbie
jerryH  Offline
Newbie
J

Joined: Mar 2004
Posts: 13
A very good reference:
Meyer, Carl. (2000). Matrix analysis and applied linear algebra. Published by the Society for Industrial and Applied Maths (SIAM). Meyer is pretty definitive for matrices. If you peruse any of the standard computer graphics textbooks (e.g. Foley, Watt, etc.) you'll notice that a few topics recur (1) Homogenous coordinate systems, (2) matrices including inversion-rotation-transformation, and (3) vectors. You can throw in a big bundle of partial differential equation theory as well (continuous functions and friends)- cf. Calculus and Analytical Geometry. Unfortunately, I know of no book entitled 'Matrices without tears'.

Re: i don't understand matrices [Re: jerryH] #26050
04/21/04 03:34
04/21/04 03:34
Joined: Sep 2002
Posts: 8,177
Netherlands
PHeMoX Offline
Senior Expert
PHeMoX  Offline
Senior Expert

Joined: Sep 2002
Posts: 8,177
Netherlands
It depends on what you mean concerning your animations question(s).... You can actually use a matrix to deform your terrain or model! But to use it for animation would cost some time, and then again bones-animation is way easier... You should be able to adjust these animations (quasi-)realtime with c-script, so.........


PHeMoX, Innervision Software (c) 1995-2008

For more info visit: Innervision Software
Page 2 of 2 1 2

Moderated by  Blink, Hummel, Superku 

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