Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Issue with meshes in panorama mode #274

Open
HHKoppelman opened this issue Oct 3, 2019 · 0 comments
Open

Issue with meshes in panorama mode #274

HHKoppelman opened this issue Oct 3, 2019 · 0 comments

Comments

@HHKoppelman
Copy link

I'm running ipyvolume version 0.5.1 and noticed a problem with the panorama mode when showing a mesh. Both the 180 and 360 degrees projections work fine when the camera is zoomed out, see the first figure below. When zooming in on the object the mesh starts to display errors in the colour or shade - I'm not exactly sure what's going on.
The discolouration starts beyond some square-like distance from the centre of the image, as can be seen in the last figure where the inside of the klein_bottle shows a dark square shape. At this point of zooming in we also start to see the inside of the object so I hope the figures are clear. I don't think the problem is just that the inside of the mesh is being shown, as the example shouldn't have any sharp ridges on the inside.
I've noticed this problem in multiple cases. In all cases sharp edges/colour changes appear when zooming in beyond some level.

The code that produces the example is (the last figure is in 180 format):
import ipyvolume as ipv
fig = ipv.figure(width=500,height=500)
ipv.examples.klein_bottle(show=False)
fig.panorama_mode = '360'
ipv.show()

ipyvolume (3)
ipyvolume (4)
ipyvolume (2)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant