-
Hi I'm using jscad for a pure 2D project. I would like to render the projects from top view only. I've followed the demo.html in https://github.com/jscad/OpenJSCAD.org/blob/master/packages/utils/regl-renderer and I can disable rotating by removing the rotateDelta part, but I'm not sure how to configure the camera so that it initially is rotated to top-down perspective. Thanks |
Beta Was this translation helpful? Give feedback.
Answered by
RuneSP
Mar 26, 2024
Replies: 1 comment
-
Figured it out, using toPresetView after camera initialization:
|
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
RuneSP
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Figured it out, using toPresetView after camera initialization: