expose shadowMapResolution (texture resolution) and shadowMapWorldSize (size in meters in world space)
expose pybullet.ConfigureOpenGLVisualizerRequest(lightPosition=[x,y,z], shadowMapWorldSize=10.5, shadowMapResolution=16384) See examples/pybullet/examples/configureDebugVisualizer.py for an example. This reimplements https://github.com/bulletphysics/bullet3/pull/2295 but without creating a new command/status and explicitly referring to the debug visualizer (since the 'getCameraImage' also has a lightPosition)
This commit is contained in:
@@ -26,7 +26,7 @@ typedef unsigned long long int smUint64a_t;
|
||||
#ifdef __APPLE__
|
||||
#define GRAPHICS_SHARED_MEMORY_MAX_STREAM_CHUNK_SIZE (512 * 1024)
|
||||
#else
|
||||
#define GRAPHICS_SHARED_MEMORY_MAX_STREAM_CHUNK_SIZE (4 * 1024 * 1024)
|
||||
#define GRAPHICS_SHARED_MEMORY_MAX_STREAM_CHUNK_SIZE (4 * 1024 * 1024)
|
||||
#endif
|
||||
|
||||
struct GraphicsCommand0
|
||||
|
||||
Reference in New Issue
Block a user