Gamestudio Links
Zorro Links
Newest Posts
Help!
by VoroneTZ. 10/14/25 05:04
Zorro 2.70
by jcl. 10/13/25 09:01
ZorroGPT
by TipmyPip. 10/12/25 13:58
Sam Foster Sound | Experienced Game Composer for Hire
by titanicpiano14. 10/11/25 18:45
Reality Check results on my strategy
by dBc. 10/11/25 06:15
optimize global parameters SOLVED
by dBc. 09/27/25 17:07
AUM Magazine
Latest Screens
Rocker`s Revenge
Stug 3 Stormartillery
Iljuschin 2
Galactic Strike X
Who's Online Now
3 registered members (Quad, VoroneTZ, Nymphodora), 8,449 guests, and 2 spiders.
Key: Admin, Global Mod, Mod
Newest Members
joenxxx, Jota, krishna, DrissB, James168
19170 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
ent_setvertex and vec_to_uv within the same frame screws up #430663
09/30/13 17:07
09/30/13 17:07
Joined: Dec 2008
Posts: 1,218
Germany
Rackscha Offline OP
Serious User
Rackscha  Offline OP
Serious User

Joined: Dec 2008
Posts: 1,218
Germany
Hi,
i just discovered, when i use

vec_to_uv
with
ent_setvertex & ent_setvertex

on the same mesh but different vertexes to modify the UV-Sets within the same frame, the result is screwed up.

Maybe GS is buffering something internally?

Anyway it must be stated in the manual that you can not mixup these 2 methods^^.

(if this is a desired behaviour)


MY Website with news of my projects:
(for example my current
Muliplayer Bomberman,
GenesisPrecompiler for LiteC
and TileMaster, an easy to use Tile editor)
Sparetime-Development

Re: ent_setvertex and vec_to_uv within the same frame screws up [Re: Rackscha] #430735
10/01/13 10:51
10/01/13 10:51
Joined: Jul 2000
Posts: 28,028
Frankfurt
jcl Offline

Chief Engineer
jcl  Offline

Chief Engineer

Joined: Jul 2000
Posts: 28,028
Frankfurt
Rule of thumb: if it's not listed in the manual, don't use it. If you do, don't complain. wink

For setting UV coordinates, Gamestudio has the function "ent_setvertex". The uv sets are contained in the D3DVERTEX struct.

Re: ent_setvertex and vec_to_uv within the same frame screws up [Re: jcl] #430739
10/01/13 11:28
10/01/13 11:28
Joined: Dec 2008
Posts: 1,218
Germany
Rackscha Offline OP
Serious User
Rackscha  Offline OP
Serious User

Joined: Dec 2008
Posts: 1,218
Germany
@JCL: well, using functions without any special notes does not imply that they have sideeffects. That's usually not expected wink

edit: vec_to_uv is listed in the offline manual wink

Last edited by Rackscha; 10/01/13 11:32.

MY Website with news of my projects:
(for example my current
Muliplayer Bomberman,
GenesisPrecompiler for LiteC
and TileMaster, an easy to use Tile editor)
Sparetime-Development

Re: ent_setvertex and vec_to_uv within the same frame screws up [Re: Rackscha] #430742
10/01/13 11:48
10/01/13 11:48
Joined: Mar 2006
Posts: 1,993
Karlsruhe
PadMalcom Offline
Serious User
PadMalcom  Offline
Serious User

Joined: Mar 2006
Posts: 1,993
Karlsruhe
We had the same discussion with "ent_vertices" which is also not marked as deprecated in the manual.

Re: ent_setvertex and vec_to_uv within the same frame screws up [Re: PadMalcom] #430786
10/02/13 07:05
10/02/13 07:05
Joined: Jul 2000
Posts: 28,028
Frankfurt
jcl Offline

Chief Engineer
jcl  Offline

Chief Engineer

Joined: Jul 2000
Posts: 28,028
Frankfurt
In your manual on the "obsolete functions" page you can see a list of all functions that had been abandoned long ago with the introduction of lite-C. Although some of them still work in a limited way for compatibility with old wdl projects, it is really not a good idea to still use them today.

Functions that are not listed on that page, but in the normal manual directory, can be used without problem.

Re: ent_setvertex and vec_to_uv within the same frame screws up [Re: jcl] #430788
10/02/13 08:04
10/02/13 08:04
Joined: Dec 2008
Posts: 1,218
Germany
Rackscha Offline OP
Serious User
Rackscha  Offline OP
Serious User

Joined: Dec 2008
Posts: 1,218
Germany
@JCL maybe it is possible to add a "(Deprecated)" to the title in the Manual?
It is good to have a deprecated list, but when searching through the help someone might miss or forget this :|

Last edited by Rackscha; 10/02/13 08:05.

MY Website with news of my projects:
(for example my current
Muliplayer Bomberman,
GenesisPrecompiler for LiteC
and TileMaster, an easy to use Tile editor)
Sparetime-Development


Moderated by  aztec, Inestical, Matt_Coles, Tobias 

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