Gamestudio Links
Zorro Links
Newest Posts
ZorroGPT
by mistery. 12/05/26 12:48
contractUpdate() is filtering if >2 rows
by mistery. 12/04/26 19:03
Removing outliers from files
by AndrewAMD. 12/02/26 15:26
SGT_FW
by Aku_Aku. 11/30/26 08:19
Experiences with cTrader
by JeyKey II. 11/27/26 09:04
make a complaint
by EW_bytes. 11/26/26 23:00
FXCM => AVA Trade Plugin???
by Martin_HH. 11/25/26 21:59
No connection to MT4
by Martin_HH. 11/23/26 06:38
AUM Magazine
Latest Screens
Dorifto samurai
Shadow 2
Rocker`s Revenge
Stug 3 Stormartillery
Who's Online Now
1 registered members (Grant), 2,494 guests, and 0 spiders.
Key: Admin, Global Mod, Mod
Newest Members
EvanTJ, rht, MaliceTheMaker, Haitao_Ren, JimSimons
19250 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,150
Frankfurt
jcl Offline

Chief Engineer
jcl  Offline

Chief Engineer

Joined: Jul 2000
Posts: 28,150
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,150
Frankfurt
jcl Offline

Chief Engineer
jcl  Offline

Chief Engineer

Joined: Jul 2000
Posts: 28,150
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