Opened 10 years ago

Closed 9 years ago

#55 closed defect (fixed)

Fix terrain rendering to not show terrain through itself

Reported by: Olly Betts Owned by: Olly Betts
Priority: major Milestone: 1.2.22
Component: aven Version: 1.2.18
Keywords: Cc:

Description

The terrain is rendered with a Z-prepass, which is supposed to achieve the desired effect.

This actually worked on my netbook running a rather ancient Ubuntu version and with a hand-built wxWidgets 2.9.5 (though the wx version seems less likely to matter), but not since upgrading it, and not on two other Debian machines I have tried.

I modified the glxgears program to use a Z-prepass, and that seems to work, so I just need to determine what's different in aven.

Change History (2)

comment:1 Changed 10 years ago by Olly Betts

The Z-prepass seems to work correctly on a Mac.

comment:2 Changed 9 years ago by Olly Betts

Resolution: fixed
Status: newclosed

We were failing to say the window should have a depth buffer, and the default varies depending on OS and/or graphics card.

Fixed in [cbd9829e1ae2534f33bc4f2ad8f77de07a86f2a3/git].

Note: See TracTickets for help on using tickets.