Surface with opacity < 1 not showing
See original GitHub issue@marcomusy nice package! Thanks.
I have just started to play with vedo, and would like to visualise some terrain with water over the top. I need to make the water transparent, so tried to use opacity = 0.5. But on my system this seems to completely make the layer disappear.
I tried one of your examples, examples/advanced/geological_model.py and have a screen dump below. I hope you can see that some of the data sets are missing (the ones which have an opacity set).
My system is from vedo --info
is
_________________________________________________________________
vedo version : 2022.2.3 https://vedo.embl.es
vtk version : 9.1.0
python version : 3.9.12 | packaged by conda-forge | (main, Mar 24 2022, 23:25:59) [GCC 10.3.0]
python interpreter: /home/anuga/miniforge3/envs/anuga39/bin/python
vedo installation : /home/anuga/miniforge3/envs/anuga39/lib/python3.9/site-packages/vedo
system : Linux 5.4.72-microsoft-standard-WSL2 posix x86_64
monitor (primary) : default, resolution=(1368, 912), x=0, y=0
I use MobaXrerm as my XServer.
By the way I am also getting this warning/error
File "/home/anuga/miniforge3/envs/anuga39/lib/python3.9/site-packages/vedo/plotter.py", line 3720, in _keypress
elif "KP_" in key: # change axes style
TypeError: argument of type 'NoneType' is not iterable
Issue Analytics
- State:
- Created a year ago
- Comments:8 (4 by maintainers)
Top Results From Across the Web
Plotly 3d-surface plot opacity error in python always giving ...
In this case, I set the opacity as 0.9. If you look at the image above, only trace 0 is shown. trace 1...
Read more >Surface Shader Out Matte Opacity not working : r/Maya - Reddit
- Go to the shape node of the object in the attribute editor and in the Arnold section check "Matte" under the "Opaque"...
Read more >Artifacts in 3D rendering of transparent surfaces - SourceForge
I am new to Asymptote, and I am trying to produce simple 3D graphics with transparent surfaces. I experience problems with the rendering...
Read more >Apply transparency to a shape - Microsoft Support
Select the shape or shapes that you want to make transparent. Right-click, and on the context menu, select Format Shape. In the Format...
Read more >Transparency, not opacity, is needed as fading for plotting a ...
I want to put the 3d-surface over the inserted node object where one of the colors in the colormap should be transparent, while...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Yes I can definitely live without it!
Thanks for helping so much in tracking down the problem.
i was suspecting that! this is what it does: https://en.wikipedia.org/wiki/Depth_peeling
It’s probably a graphics card issue, but i’m not sure, I guess you can live without it?