godot_rl_agents_plugin icon indicating copy to clipboard operation
godot_rl_agents_plugin copied to clipboard

Adds downscaling to RGBCameraSensor3D.gd

Open Ivan-267 opened this issue 2 years ago • 0 comments

Adds the ability to resize the image before sending it to the Python server.

image

Briefly tried on the VirtualCamera example.

Setting a high image render resolution will have a performance impact, and using some interpolation options can have an impact (although I did not measure the impact), so it is currently using just nearest-neighbor.

Ivan-267 avatar Feb 20 '24 08:02 Ivan-267