Message 1 of 2
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hey there,
I'm working on a plugin that should keep the camera height at a specified level when enabled. This works fine and I use the following code to do this:
class RenderAction(vrInteraction):
def __init__(self):
vrInteraction.__init__(self)
self.addRender()
def preRender(self):
cameraTransform = vrCameraService.getActiveCamera().getOrCreateTransformNode()
cameraTranslation = cameraTransform.getWorldTranslation()
cameraTranslation.setZ(2000)
cameraTransform.setWorldTranslation(cameraTranslation)
renderaction = RenderAction()
Unfortunatelly my client is forced to work with older versions (< 15.0) of VRED on some machines. In this versions there is a bug, which results in Anti Aliasing not working when using the approach above. Anti-Aliasing is working fine in the latest release (15.3).
Is there a workaround or another approach how I can achive this?
Thanks,
Christopher
Solved! Go to Solution.