-
Notifications
You must be signed in to change notification settings - Fork 102
Open
Description
Klampt version: 0.10.1 (installed from pip today)
Python version: 3.8.20
When trying to set a link on the LEAP hand to be partially transparent, it becomes fully transparent.
URDF/meshes: leap.zip
Example code:
import time
import klampt
from klampt import vis
world_model = klampt.WorldModel()
robot_model = world_model.loadRobot("leap/robot.urdf")
robot_model.link("palm_lower").appearance().setColor(0.5, 0.5, 0.5, 0.5)
vis.add("world", world_model)
vis.show()
while vis.shown():
time.sleep(0.05)Expected result: The palm link should be translucent not transparent.
If appearance is not modified, the visualization gives:

Using robot_model.link("palm_lower").appearance().setColor(0.5, 0.5, 0.5, 1.0) gives:

Metadata
Metadata
Assignees
Labels
No labels
