Gamestudio Links
Zorro Links
Newest Posts
Max Number of Strategies in /Strategy folder
by Martin_HH. 06/16/26 11:13
Z9 getting Error 058
by jcl. 06/16/26 09:51
How to select between IB accounts by script?
by AndrewAMD. 06/13/26 15:44
Zorro tutorial ideas?
by AndrewAMD. 06/13/26 15:01
Zorro 3.01 recoded MMI function issue
by 11honza11. 06/13/26 11:40
Stooq now requires an API key
by AndrewAMD. 06/11/26 17:55
AUM Magazine
Latest Screens
Dorifto samurai
Shadow 2
Rocker`s Revenge
Stug 3 Stormartillery
Who's Online Now
2 registered members (Martin_HH, AndrewAMD), 3,476 guests, and 5 spiders.
Key: Admin, Global Mod, Mod
Newest Members
Student_64151, Koti, curry, DeepxKalsi, Samed
19219 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 | 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