Gamestudio Links
Zorro Links
Newest Posts
Free Live Data for Zorro with Paper Trading?
by dr_panther. 05/18/24 11:01
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
2 registered members (7th_zorro, dr_panther), 724 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
Does vec_for_vertex affect performance? #10374
09/15/02 00:06
09/15/02 00:06

A
Anonymous OP
Unregistered
Anonymous OP
Unregistered
A



If I want to attach models to my characters with vec_for_vertex(), a lot say 30 attachments to each character, and a lot of characters, would it heavily affect performance?

Re: Does vec_for_vertex affect performance? #10375
01/17/03 01:25
01/17/03 01:25
Joined: Jul 2000
Posts: 1,570
Windsor, CT 06095
W
WildCat Offline
Expert
WildCat  Offline
Expert
W

Joined: Jul 2000
Posts: 1,570
Windsor, CT 06095
I use vec_for_vertex a lot and never had a any problems with it on speed... I don't think I've ever hammered it as hard as you plan to... I think your best bet is to simply give it a shot.

If worse comes to worse, you can always do it the old fashoned way and create each model in the correct relative position to the base model, like we did before we had vec_for_vertex.

Each base model would create all of it's sub-parts and each of them would position themselves with vec_set(my.pos,your.pos); my.frame = your.frame.

Good luck... let me know how you make out.

- WildCat


Visit us at [url=http://www.vertexgames.com]Vertex Games[/url]!
Re: Does vec_for_vertex affect performance? #10376
01/17/03 02:32
01/17/03 02:32

A
Anonymous OP
Unregistered
Anonymous OP
Unregistered
A



What you are planning will not affect the framerate at all, I'm currently using vec_for_vertex to get each and every vertex position on my character-models (for an ego-shooter, multiplayer) and converting them to relative values, calculate frame positions angles... (simulated bones [Smile] ) and then using vec_to_mesh to aplly these calculated vertices onto my models, this worked fine with 6 characters (a 1200 vertices), no performance lost


Moderated by  HeelX, 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