WorldViz User Forum  

Go Back   WorldViz User Forum > Vizard

Reply
 
Thread Tools Rate Thread Display Modes
  #1  
Old 04-16-2008, 08:49 AM
aznan aznan is offline
Member
 
Join Date: Apr 2008
Posts: 11
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!
Reply With Quote
  #2  
Old 04-16-2008, 11:00 AM
farshizzo farshizzo is offline
WorldViz Team Member
 
Join Date: Mar 2003
Posts: 2,849
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)
Reply With Quote
  #3  
Old 04-16-2008, 11:29 AM
aznan aznan is offline
Member
 
Join Date: Apr 2008
Posts: 11
Oh, OK. I was expecting some GUI stuff, rather than making a box block the view. Still, it works like a charm. Thanks!
Reply With Quote
Reply

Thread Tools
Display Modes Rate This Thread
Rate This Thread:

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
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


All times are GMT -7. The time now is 12:07 PM.


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