View Single Post
  #5  
Old 06-17-2012, 04:39 AM
rlh001 rlh001 is offline
Member
 
Join Date: Mar 2011
Posts: 18
Thanks for the tip. I changed the image to ortho and it looks good. However, since clusterQuad.setPosition is now specified in pixels if I set it up to be in the center of the screen and then run it on a different size display it is no longer in the center. I need to be able to specify position in fraction of widow size.


clusterTex = viz.addTexture('resources\ClusterGraphics.png')
clusterQuad = viz.addTexQuad(parent=viz.ORTHO, size = .5)
clusterQuad.texture(clusterTex)
clusterQuad.setScale(clusterTex.getSize())
clusterQuad.setPosition(640,84)
Reply With Quote