addText problems with 3 windows
Hi
I have some problems with sowing text via viz.addTest() in a Setup with three windows. The text isn't displayed. creating the Windows: Code:
# Create a new window on the left side Code:
self.anweisung = viz.addText("",viz.SCREEN,self.CenterWindow) Unfortunately there is no text displayed, since we changed to the 3 window setup. With one it is working poperly. Any idea why this isn't working? |
If you specify a window object as the scene of a text, then you need to specify viz.ORTHO as the parent, not viz.SCREEN. Also, when adding object to the viz.ORTHO layer, the position units are in pixels, not normalized coordinates. Here is sample code:
Code:
self.anweisung = viz.addText("hello",viz.ORTHO,self.CenterWindow,fontSize=32) |
All times are GMT -7. The time now is 02:15 AM. |
Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Copyright 2002-2023 WorldViz LLC