r/oculusdev • • Mar 19 '16

Best lightweight engine/framework for minimalist interface? (Low poly, zero lighting)

I'm in the early planning stages for a new VR app that would mostly be 2D, but the planes on which the 2D graphics are drawn would be placed in a 3D space. There would be a limited number of low-poly 3D objects, but apart from shading these objects themselves I would want zero lighting effects: no projected shadows, no environmental shaders. Apart from the appropriate perspective distortions, each 2D plane's individual pixels would be sent to the headset unmolested (i.e. same RGB).

Can you suggest a 3D framework that would be suitable for this? I want something that has as little an impact on framerate as possible, without being hopelessly esoteric.

Thanks!

6 Upvotes

4 comments sorted by

1

u/SvenViking Mar 20 '16

You could consider the Oculus World demo source code. Not too hard to rip out features you don't want.

You may have some issues with the Oculus Runtime regarding "individual pixels would be sent to the headset unmolested", regardless of engine. Only guessing though.

1

u/0x4e2 Mar 20 '16

Virtual Desktop does it, doesn't it?

1

u/SvenViking Mar 20 '16

It depends on what you count as "unmolested". As far as I know Virtual Desktop still takes advantage of pixel overdrive to reduce black smearing, chromatic aberration correction, TimeWarp etc.

1

u/jherico Mar 21 '16

If you're wanting to combine a bunch of 2D layers, you can just use the Oculus compositor, sending each as an individual layer, which the runtime will combine.