We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Scaling shader based actors beyond a point leads to either the actor completely disappearing or a distorted rendering of the actor.
import numpy as np from fury import window, actor dirs = np.random.rand(4, 3) colors = np.random.rand(4, 3) * 255 centers = np.array([[1, 0, 0], [0, 0, 0], [-1, 0, 0], [0, 1, 0]]) * 10 scales = np.array([1, 5, 10, 100]) sdfactor = actor.sdf(centers=centers, directions=dirs, colors=colors, primitives=['torus', 'torus', 'torus', 'torus'], scales=scales) scene = window.Scene() scene.background((1.0, 0.8, 0.8)) scene.add(sdfactor) current_size = (1024, 720) showm = window.ShowManager(scene, size=current_size, title="Visualize SDF Actor") interactive = True if interactive: showm.start()
Relevant images (if any)
Operating system and versions (run python -c "from fury import get_info; print(get_info())") {'fury_version': '0.6.1.post185+g8d8cb76', 'sys_version': '3.8.5 (default, Sep 3 2020, 21:29:08) [MSC v.1916 64 bit (AMD64)]', 'sys_platform': 'win32', 'numpy_version': '1.20.1', 'scipy_version': '1.6.2', 'vtk_version': '9.0.1', 'matplotlib_version': '3.3.4', 'dipy_version': '1.3.0'}
python -c "from fury import get_info; print(get_info())"
The text was updated successfully, but these errors were encountered:
Thank you for the feedback @haran2001
Sorry, something went wrong.
No branches or pull requests
Description
Scaling shader based actors beyond a point leads to either the actor completely disappearing or a distorted rendering of the actor.
Way to reproduce
Relevant images (if any)
Operating system and versions (run
python -c "from fury import get_info; print(get_info())"
){'fury_version': '0.6.1.post185+g8d8cb76',
'sys_version': '3.8.5 (default, Sep 3 2020, 21:29:08) [MSC v.1916 64 bit (AMD64)]',
'sys_platform': 'win32',
'numpy_version': '1.20.1',
'scipy_version': '1.6.2',
'vtk_version': '9.0.1',
'matplotlib_version': '3.3.4',
'dipy_version': '1.3.0'}
The text was updated successfully, but these errors were encountered: