API access to Clipping Plane for Cameras

Requests or suggestions for new features
Post Reply
Logxen
Posts: 2
Joined: 01 Feb 2020, 19:04

API access to Clipping Plane for Cameras

Post by Logxen »

I am working on making mixed reality videos using coppeliasim. To do this well I need to be able to separate my video stream coming from coppeliasim into a background and a foreground. I have my system working using vision sensors but this is of course very slow when I then ask it for a couple of 1080p views. :)

If I could use Cameras instead of Vision sensors it should take care of my performance problem. So, I would appreciate it if the near and far clipping planes were added to the API object parameters for Cameras. Then I could get a high resolution video stream without the massive performance hit.

Thanks a lot! :)

coppelia
Site Admin
Posts: 7935
Joined: 14 Dec 2012, 00:25

Re: API access to Clipping Plane for Cameras

Post by coppelia »

Hello,

sure! In next release those will be available via sim.camerafloatparam_near_clipping and sim.camerafloatparam_far_clipping and sim.setObjectFloatParameter.

Cheers

Post Reply