I’ve been trying to use this code which I found on the forum:
[i]""" This function splits the main display region into two separate
left-and-right regions, which represent the left and right eye of
the camera. “”"
First, disable the default DisplayRegion, which covers the whole
screen.
dr = base.camNode.getDisplayRegion(0)
dr.setActive(0)
Now, make a new pair of side-by-side DisplayRegions.
Sorry to have confused you.
Both scripts are working.
I was just trying to use the second script, to try to get two different cameras into the first script. The first script (which I want to use) uses the same camera in both displayRegions. I want to have a different camera for each.
Can you help me create seperate cameras for each window? Thanks
You can setCamera(NodePath()) to remove the camera. This will stop the DisplayRegion from rendering at all. You can also just disable the DisplayRegion via dr.setActive(0), which amounts to the same thing.