Thread: Scaling
View Single Post
  #3  
Old 07-17-2007, 01:55 PM
mjabon mjabon is offline
Member
 
Join Date: Jul 2007
Posts: 63
Great, that fixed the text. I'm having problems with scaling the text though. I use text.setFont. I have tried values ranging anywhere from .3 to 36 and in all cases the text is gone...any ideas?

Code:
for x in range (-10, 10):
	for y in range (-10,10):
		       text = viz.addText('(' +str(x) + ', ' + str(y) + ', -1)')
			text.alignment(viz.TEXT_CENTER_CENTER)
			text.translate(x,y,-1)
			text.fontSize(6)
Also, I followed all the directions in the 3dmax tutorial about scaling and my 1m square box is still spanning from -5 to +5 in my world. Ideas?
Reply With Quote