vedo
vedo copied to clipboard
Problem on alpha test
I wonder if there's a way to do alpha test when i try to render my mesh with alpha less than 1.0 and volume object whthin a same Plotter, the volume simply always be rendered but mesh didn't Is there any solution for it? thanks
dicomScan = load(dicom_path)
face = load(face_path)
tex = load(tex_path)
g = dicomScan.clone().pos(0, 0, 0).alphaGradient(0.8)
f = face.clone().alpha(0.8).pos(250, -150, 280).color('white').rotateX(-90).texture(tex).phong()
plt.show(g, f, viewup="y", bg='white', bg2='black')
plt.interactive().close()
Here is my test code
Have you tried
settings.useDepthPeeling = True
Have you tried
settings.useDepthPeeling = True
Not working tho...
Can you post an screenshot of what you observe? What is your OS?