![]() |
|
#5
|
|||
|
|||
|
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) |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Scaling Portions of a CAL3D Model | shivanangel | Vizard | 2 | 07-26-2012 01:17 AM |
| Scaling movement through the virtual environment | miles | Vizard | 9 | 03-24-2011 01:26 PM |
| Scaling Avatars and Setting Bone Positions | awstorer | Vizard | 0 | 11-17-2010 08:51 AM |
| collission and scaling of objects | Johannes | Vizard | 28 | 02-08-2005 11:08 AM |
| texture scaling | Johannes | Vizard | 3 | 01-25-2005 11:28 AM |