Added a demo of using ViewPorts with Lemur:
…it didn’t require any Lemur changes to make it work… though I will perhaps create some convenience classes in the future.
This one eschews the normal (and I think pretty broken) Gui bucket and uses the Transparent bucket in ortho projection instead. It otherwise behaves the same as the guiNode… there should be no difference.
…well, there is one slight difference in that this node also doesn’t have its z squashed to 0 like the regular guiNode does. So if you put 3D models in then they should render correctly as ortho projected 3D. You won’t get the weird mesh sorting issues that you get in the Gui bucket.
(Frankly, I’m inclined to believe that the Gui bucket should be deprecated. The guiNode already gets its own ViewPort, etc. and could just as easily be setup as an ortho view of the Transparent bucket like this is… but whatever.)