Gamestudio Links
Zorro Links
Newest Posts
AlpacaZorroPlugin v1.3.0 Released
by kzhao. 05/20/24 01:28
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
Data from CSV not parsed correctly
by dr_panther. 05/06/24 18:50
AUM Magazine
Latest Screens
The Bible Game
A psychological thriller game
SHADOW (2014)
DEAD TASTE
Who's Online Now
1 registered members (AndrewAMD), 609 guests, and 3 spiders.
Key: Admin, Global Mod, Mod
Newest Members
Hanky27, firatv, wandaluciaia, Mega_Rod, EternallyCurious
19051 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
vec_for_min/vec_for_max #219784
08/04/08 15:27
08/04/08 15:27
Joined: Jan 2007
Posts: 651
Germany
R
RedPhoenix Offline OP
User
RedPhoenix  Offline OP
User
R

Joined: Jan 2007
Posts: 651
Germany
Hi conitec,

in my experience vec_for_min and vec_for_max don't give back changed min and max values, eg. when you have deformed an entities and therefore changed it's dimensions. They always return the original min and max values of the entity. Could you implement that the functions always return the actual dimensions of the entity?

Greetings
redphoenix

Re: vec_for_min/vec_for_max [Re: RedPhoenix] #219786
08/04/08 15:28
08/04/08 15:28
Joined: Sep 2002
Posts: 1,604
Deutschland
ChrisB Offline
Serious User
ChrisB  Offline
Serious User

Joined: Sep 2002
Posts: 1,604
Deutschland
c_setminmax?


www.Swollen-Eyeballs.org
ICQ:169213431
#3dgs@quakenet
Re: vec_for_min/vec_for_max [Re: ChrisB] #219787
08/04/08 15:31
08/04/08 15:31
Joined: Jan 2007
Posts: 651
Germany
R
RedPhoenix Offline OP
User
RedPhoenix  Offline OP
User
R

Joined: Jan 2007
Posts: 651
Germany
This modifies the entitys .min and .max vectors what I don't want to do in this case.

Re: vec_for_min/vec_for_max [Re: RedPhoenix] #220960
08/11/08 06:08
08/11/08 06:08
Joined: Jul 2000
Posts: 27,986
Frankfurt
jcl Offline

Chief Engineer
jcl  Offline

Chief Engineer

Joined: Jul 2000
Posts: 27,986
Frankfurt
We'll implement a function for this in a future version. At the moment, you can do it with some DirectX commands. Open the mesh, retrieve the vertex buffer, and then calculate the maximum and minimum of the vertex positions. Y and Z must be swapped.


Moderated by  aztec, Spirit 

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