View Single Post
  #2  
Old 01-02-2014, 04:06 AM
Frank Verberne Frank Verberne is offline
Member
 
Join Date: Mar 2008
Location: Netherlands
Posts: 148
And here some code showing the 'problem':
Code:
import viz

viz.go()
viz.eyeheight(0)

box = viz.add('box.wrl')
box.setScale(1.5,1,0.001)
box.setPosition(0,0,1.5)
box.color(1,1,1)
tex = viz.addTexture('worldviz-logo-white.jpg')
box.texture(tex)
So my question is whether & how I can prevent Vizard from scaling the image worldvizlogo-white.jpg from (1280, 1024) to (1024, 1024).
Reply With Quote