K3D-tools / K3D-jupyter

K3D lets you create 3D plots backed by WebGL with high-level API (surfaces, isosurfaces, voxels, mesh, cloud points, vtk objects, volume renderer, colormaps, etc). The primary aim of K3D-jupyter is to be easy for use as stand alone package like matplotlib, but also to allow interoperation with existing libraries as VTK.
MIT License
941 stars 123 forks source link

Is it possible to use isometric projection instead of perspective one? #181

Open Mehanik opened 5 years ago

Mehanik commented 5 years ago

Hi,

in scientific visualization it is sometimes needed to use isometric projection. Is it possible to use such a camera model?

Mehanik commented 5 years ago

Sorry, I rather mean Axonometric/Orthographic projection instead of "isometric".

artur-trzesiok commented 4 years ago

At this moment we don't support Orthographic projection. @marcinofulus please set a priority for that feature. Please notice that we have access to plot.camera_fov parameter. That can be used to "emulate" an "almost ortogrphic" projection.

HumHongeKamyaab commented 3 years ago

Any update on this issue. If not can anyone suggest any other 3d jupyter package which supports ortho projections interactively (through widgets).

fekad commented 3 years ago

+1

mlviz commented 1 year ago

Although it is not Orthographic, you can approximate an orthographic projection by moving the camera away and having a really low FOV. I gradually lowered the FOV and pulled back the camera and was able to go down to a FOV of 2 degrees, to my human eye it look pretty much the same as orthographic so might be good enough for certain usages.

CallumJHays commented 1 year ago

+1 on this. I'll see if I can prototype a solution sometime soon.