WorldViz User Forum  

Go Back   WorldViz User Forum > Vizard

Reply
 
Thread Tools Rate Thread Display Modes
  #1  
Old 07-01-2009, 07:51 PM
jaylocco jaylocco is offline
Member
 
Join Date: Jun 2009
Posts: 19
Arrow Plane faces main View

Hi, I am making a landscape full of trees.In order to minimizes the program, I intend to add a vertical plane with a tree image and later clone it to several trees and scatter them.The thing is, how to make every each of them to always rotate on its position and face our view. so that they will seem like 3d trees. Or are there any better ways to do it?
Thanks in advance..
Reply With Quote
  #2  
Old 07-02-2009, 12:42 PM
Jeff Jeff is offline
WorldViz Team Member
 
Join Date: Aug 2008
Posts: 2,471
You can use billboarding for this.

Code:
tree = viz.add('tree.jpg')

quad = viz.addTexQuad()
quad.texture(tree)
quad.billboard(viz.BILLBOARD_YAXIS)
Reply With Quote
  #3  
Old 07-05-2009, 08:21 PM
jaylocco jaylocco is offline
Member
 
Join Date: Jun 2009
Posts: 19
Waa..it works perfectly..thank you so much..
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
Wide-angle view Brett Lindberg Vizard 8 09-04-2009 04:57 PM
View nlfrnassimi Vizard 0 03-17-2009 02:01 AM
View nlfrnassimi Vizard 4 03-12-2009 05:25 AM
I need help with the Far Clip Plane... k_iwan Vizard 3 03-13-2007 04:54 AM
problem with stereo mode shivanangel Vizard 3 10-17-2006 09:58 AM


All times are GMT -7. The time now is 02:22 PM.


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