Filled Wireframe Mode Render Order

Hi!

I’d like to use the filled wireframe mode for some of my objects. With almost all other non-wireframe objects the render order works perfectly. Unfortunately, it does not work well when TextNodes are supposed to be displayed in front of the wireframe object (respectively in front of everything). For those TextNodes (respectively its corresponding nodepath) I have set the following properties:

self.nodepath.setBin("fixed", 0)
self.nodepath.setDepthTest(False)
self.nodepath.setDepthWrite(False)

grafik

The wireframe (without the filling) is rendered in front of the TextNode. If I use the (not filled) wireframe mode instead, it works just fine. Is this some bug or can I circumvent this behavior somehow? I tried various different cull bin settings but I couldn’t solve the problem.

Regards
Thomas

The wireframe is also added to the “fixed” bin. Simply increase the number passed as second argument to your setBin call to make the text appear on top of the wireframe.

1 Like