Gamestudio Links
Zorro Links
Newest Posts
Executing Trades on Next Bar Open
by Zheka. 06/20/24 14:26
Lapsa's very own thread
by rki. 06/19/24 11:27
A simple game ...
by VoroneTZ. 06/18/24 10:50
Face player all the time ...
by bbn1982. 06/18/24 10:25
Zorro Beta 2.61: PyTorch
by jcl. 06/10/24 14:42
New FXCM FIX Plugin
by flink. 06/04/24 07:30
AUM Magazine
Latest Screens
The Bible Game
A psychological thriller game
SHADOW (2014)
DEAD TASTE
Who's Online Now
0 registered members (), 1,227 guests, and 2 spiders.
Key: Admin, Global Mod, Mod
Newest Members
Mino, squik, AemStones, LucasJoshua, Baklazhan
19061 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
Page 2 of 2 1 2
Re: A7.50 Texture Lock still not working properly. [Re: Jethro] #226964
09/12/08 05:40
09/12/08 05:40
Joined: Oct 2003
Posts: 130
Wollongong Australia
J
Jethro Offline OP
Member
Jethro  Offline OP
Member
J

Joined: Oct 2003
Posts: 130
Wollongong Australia
While your cleaning up texture lock, heres another inconsistency, not a biggy but strange just the same.
1 - Add cube to new level.
2 - Apply texture to cube.
3 - Turn texture lock On.
4 - Apply same or new texture, texture lock is still on.
5 - Do step 4 again, texture lock now off ??

Jethro.

Re: A7.50 Texture Lock still not working properly. [Re: Jethro] #226974
09/12/08 09:11
09/12/08 09:11
Joined: Jul 2000
Posts: 27,987
Frankfurt
jcl Offline

Chief Engineer
jcl  Offline

Chief Engineer

Joined: Jul 2000
Posts: 27,987
Frankfurt
Thanks for the experiments. I'll look into the first one, but think the second one is normal behavior.

When you lock a texture, its UV coordinates are fixed to the vertices. All information about the original texture angle, scale, and position is lost. When you switch texture lock off, the information is recalculated from the UV values so that the texture normally stays unchanged. But due to mathematical ambiguities the angle, position and scale are normally different to the original values.

This is a principal problem and mathematically not solvable. The alternative were to reset the texture to default position when texture lock is switched off. but I think this is not desired by the user.

Page 2 of 2 1 2

Moderated by  jcl, Nems, Spirit, 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