MCPcopy Create free account
hub / github.com/danieljfarrell/pvtrace / render

Method render

pvtrace/scene/renderer.py:49–56  ·  view source on GitHub ↗

(self, scene, show_root=False)

Source from the content-addressed store, hash-verified

47 self.reflectivity = reflectivity
48
49 def render(self, scene, show_root=False):
50 """
51 """
52 vis = self.vis
53 for node in LevelOrderIter(scene.root):
54 if node == scene.root:
55 continue
56 self.add_node(node)
57
58 def add_node(self, node):
59 # Using a dot here as a quick fix to _avoid_ Meshcat automatically

Callers 6

test_basic_sceneMethod · 0.95
showMethod · 0.80
hello_world.pyFile · 0.80
move_rayFunction · 0.80
cylinder.pyFile · 0.80

Calls 1

add_nodeMethod · 0.95

Tested by 1

test_basic_sceneMethod · 0.76