![]() |
|
#1
|
|||
|
|||
|
How to make an image cover the view?
Hi!
I just recently got my hands on Vizard, and it seems to be a very easy program to work with. I'm sure this really simple, but I can't find an easy way to cover an entire view with a 2D image. Have I overlooked something? Thanks! |
|
#2
|
|||
|
|||
|
Here is some sample code that will fill the entire screen with a texture:
Code:
tex = viz.add('ball.jpg')
quad = viz.addTexQuad(parent=viz.SCREEN,scale=[12.8,10.4,0],pos=(0.5,0.5,0))
quad.texture(tex)
|
|
#3
|
|||
|
|||
|
Oh, OK. I was expecting some GUI stuff, rather than making a box block the view. Still, it works like a charm. Thanks!
|
![]() |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Manipulating Tracker View | Micha | Vizard | 3 | 02-25-2008 10:05 AM |
| problem with stereo mode | shivanangel | Vizard | 3 | 10-17-2006 09:58 AM |
| Only part of tiled image | vizmaster | Vizard | 5 | 09-11-2006 12:11 PM |
| Moving view with object | Xliben | Vizard | 2 | 07-25-2005 05:36 PM |
| keeping a 3d object in front of the view | tavaksai | Vizard | 1 | 07-07-2004 09:33 AM |