Page 1 of 1

[B3.1][ML] 3D-Styles do not care about z-position

Posted: 15 Mar 2013, 18:43
by m4rcel
I noticed that the 3D-Styles seems to not care about any z-value specified in pos/posn: They always seem to be on the same z-level, which results in having them conflicting with each other.


Test Manialink:

Code: Select all

<?xml version="1.0" encoding="utf-8" standalone="yes" ?>
<manialink version="1" background="title" navigable3d="0">
	<frame3d style3d="NavButton" posn="-10 -10 -10" sizen="100 30" />
	<frame3d style3d="NavButton" posn="10 10 10" sizen="100 30" />
</manialink>
Result:
Image
As of the z-values, the lower left button should be behind the top right one. Yet they both seem to have the same z-value, resulting in the conflict when drawn.

Re: [B3.1][ML] 3D-Styles do not care about z-position

Posted: 15 Mar 2013, 20:29
by steeffeen
and even a <quad posn="0 0 -48"/> is in front of them -.-

Re: [B3.1][ML] 3D-Styles do not care about z-position

Posted: 15 Mar 2013, 21:31
by m4rcel
Yes, this is a point, which I forgot to add: All elements outside of <frame3d> are in front of them, also ignoring any z-values.

With this, it is impossible to e.g. create popup dialogs asking the user for some action, which need to be at top to get the user's attention.