WorldViz User Forum  

Go Back   WorldViz User Forum > Vizard

 
 
Thread Tools Rate Thread Display Modes
Prev Previous Post   Next Post Next
  #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
 


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Scaling Portions of a CAL3D Model shivanangel Vizard 2 07-26-2012 12:17 AM
Scaling movement through the virtual environment miles Vizard 9 03-24-2011 12:26 PM
Scaling Avatars and Setting Bone Positions awstorer Vizard 0 11-17-2010 07:51 AM
collission and scaling of objects Johannes Vizard 28 02-08-2005 10:08 AM
texture scaling Johannes Vizard 3 01-25-2005 10:28 AM


All times are GMT -7. The time now is 12:01 AM.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2025, vBulletin Solutions, Inc.
Copyright 2002-2023 WorldViz LLC