openscad-raspberrypi icon indicating copy to clipboard operation
openscad-raspberrypi copied to clipboard

Render side by side stereo?

Open meta-meta opened this issue 2 years ago • 1 comments

Hello, I've been looking for a way to view OpenSCAD in VR while working on a model and stumbled upon this project. I am wondering if it can be easily adapted to render side by side instead of anaglyph. My thinking is that in Unity Editor, I could then use a window sharing plugin to get the texture from OpenSCAD's 3d view and crop it so that half of the image is rendered to each eye.

meta-meta avatar Jan 07 '23 19:01 meta-meta

On Sat, 07 Jan 2023 11:41:16 -0800 "Paul M. Christian" @.***> wrote:

I am wondering if it can be easily adapted to render side by side instead of anaglyph.

OK.

FreeCAD renders 3D in OpenGL. The easiest way to obtain what you ask would be to add OpenGL code from FreeCAD to OpenSCAD.

best,

koen

koendv avatar Jan 08 '23 07:01 koendv