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

Moderator: NADEO

Locked
User avatar
m4rcel
Posts: 650
Joined: 15 Jun 2010, 11:12
Contact:

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

Post 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.
ImageImage
Image
User avatar
steeffeen
Translator
Translator
Posts: 2463
Joined: 14 Oct 2012, 16:22
Location: Germany

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

Post by steeffeen »

and even a <quad posn="0 0 -48"/> is in front of them -.-
    Game Mode and Title Pack Creator, Developer, ShootMania-Player & more

    ManiaControl, FancyManiaLinks
    User avatar
    m4rcel
    Posts: 650
    Joined: 15 Jun 2010, 11:12
    Contact:

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

    Post 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.
    ImageImage
    Image
    Locked

    Return to “Maniaplanet Reports”

    Who is online

    Users browsing this forum: No registered users and 1 guest