PyBullet: move TinyRenderer into a plugin, default statically loaded. You can also dynamically load a render plugin, as shown in renderPlugin.py example. premake has a way to compile the tinyRendererPlugin.
This commit is contained in:
9
examples/pybullet/examples/renderPlugin.py
Normal file
9
examples/pybullet/examples/renderPlugin.py
Normal file
@@ -0,0 +1,9 @@
|
||||
|
||||
import pybullet as p
|
||||
p.connect(p.GUI)
|
||||
plugin = p.loadPlugin("e:/develop/bullet3/bin/pybullet_tinyRendererPlugin_vs2010_x64_debug.dll","_tinyRendererPlugin")
|
||||
print("plugin=",plugin)
|
||||
p.loadURDF("r2d2.urdf")
|
||||
|
||||
while (1):
|
||||
p.getCameraImage(320,200)
|
||||
Reference in New Issue
Block a user