Gamestudio Links
Zorro Links
Newest Posts
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
3 registered members (AndrewAMD, degenerate_762, ozgur), 1,311 guests, and 0 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
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: 27,986
Frankfurt
jcl Offline

Chief Engineer
jcl  Offline

Chief Engineer

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

Chief Engineer
jcl  Offline

Chief Engineer

Joined: Jul 2000
Posts: 27,986
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 | 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