WorldViz User Forum  

Go Back   WorldViz User Forum > Vizard

Reply
 
Thread Tools Rate Thread Display Modes
  #1  
Old 06-02-2015, 07:34 AM
gerardo697 gerardo697 is offline
Member
 
Join Date: May 2015
Posts: 10
Bird Eye View of Multi-Story Building

Does anyone know how to get a bird-eye view of a multi-story building? Specifically, is there a way to get a bird-eye view of each floor, and have that view change once I have gone from one story to another one?
Reply With Quote
  #2  
Old 06-02-2015, 02:53 PM
Jeff Jeff is offline
WorldViz Team Member
 
Join Date: Aug 2008
Posts: 2,335
Take a look at the windows and views tutorial.
Reply With Quote
  #3  
Old 06-03-2015, 06:32 AM
gerardo697 gerardo697 is offline
Member
 
Join Date: May 2015
Posts: 10
Thanks Jeff
Reply With Quote
  #4  
Old 06-03-2015, 08:58 AM
gerardo697 gerardo697 is offline
Member
 
Join Date: May 2015
Posts: 10
That tutorial works, but it can only see the roof top of a building. Would I have to use a while loop so that the bird-eye view that is being displayed will modify to show each different floor plan based on the "z" value that is returned by .getPosition()?
Reply With Quote
  #5  
Old 06-03-2015, 12:33 PM
Jeff Jeff is offline
WorldViz Team Member
 
Join Date: Aug 2008
Posts: 2,335
You'll need to change the viewpoint height each time you want to show a different floor. I don't understand the question about the while loop.
Reply With Quote
  #6  
Old 06-03-2015, 01:03 PM
gerardo697 gerardo697 is offline
Member
 
Join Date: May 2015
Posts: 10
I have created a 3 story building on Vizard. When I am on the first floor I would like the bird view window to display the floor plan for that floor. However, if I were to move to the second floor I would want the bird view window to change and show the floor plan for that floor. Is this something that I can do by using a while loop within "UpdateViews()"? Is there a better way to approach this problem?
Reply With Quote
  #7  
Old 06-04-2015, 07:24 AM
gerardo697 gerardo697 is offline
Member
 
Join Date: May 2015
Posts: 10
I was able to get the Bird view to change based on the z-value.

UpperRightWindow = viz.addWindow(pos = (0.8,1.0), size = (0.2,0.25))
UpperRightWindow.visible(0, viz.SCREEN)
BirdView = viz.addView()

UpperRightWindow.setView(BirdView)

def UpdateBirdView():
x,z,y = viz.MainView.getPosition()
if (z >= 0 and z < ceiling):
BirdView.setPosition([x,ceiling,y])
elif ( z >= ceiling and z < ceiling2):
BirdView.setPosition([x,ceiling2,y])
else:
BirdView.setPosition([x,ceiling3,y])
BirdView.setEuler([0,90,0])
UpperRightWindow.fov(120)
vizact.ontimer(0,UpdateBirdView)

The problem I have encountered is that I only see a small part of the building since the x and y values correspond to the center of the building. What can I do in order to show the entire floor of the building?
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
Create my own view alberto_redo Vizard 1 10-19-2010 11:16 AM
View nlfrnassimi Vizard 4 03-12-2009 05:25 AM
problem with stereo mode shivanangel Vizard 3 10-17-2006 09:58 AM


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


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