|  | 
| 
			 
			#1  
			
			
			
			
			
		 | |||
| 
 | |||
| 
				
				Rendering different objects and fov's
			 
			
			I am creating a virtual forest, and I am wondering if there is any way I can do these two things: 1) First, I would like to switch the field of view after an event occurs. For example, I would like to load the scene,take some screen shots, and after I'm finished with the original fov, I would like to switch to a different field of view with a something like a "yield viztask.waitKeyDown()" event. How can I do this? Can this be done without using multiple scenes? 2) I would also like to initially load the virtual forest with planar-billboards, move the viewpoint through the world, and then substitute the planar billboard object with a 3d object based on some rule relating to my position in the world. For example, if a tree billboard is within 5 meters of the viewpoint, then render the tree as its corresponding 3d object rather than as a billboard. If the billboard is greater than 5 meters, rendering the tree as a billboard is okay. Is is possible to do this? If so, can you please outline the steps I will have to take. Can this be done without using multiple scenes? -Andy | 
| 
			 
			#2  
			
			
			
			
			
		 | |||
| 
 | |||
| 
			
			1) Yes, this is possible: Code: import viz
import viztask
viz.go()
gallery = viz.add('gallery.ive')
def changeFOV():
	yield viztask.waitKeyDown(' ')
	viz.fov(60)
	
viztask.schedule( changeFOV() )If you have access to Vizard 4 this can be accomplished using proximity sensors. | 
| 
			 
			#3  
			
			
			
			
			
		 | |||
| 
 | |||
| 
			
			Those proximity sensors sound like a interesting feature, I can;t find any documentation about it in the vizard 4 help files. Do you have some examples of it's use?
		 | 
| 
			 
			#4  
			
			
			
			
			
		 | |||
| 
 | |||
| 
			
			It's in the latest version. Go to Help -> Check for Updates to download the new version.
		 | 
|  | 
| Tags | 
| fov, objects, rendering | 
| 
 | 
 |