WorldViz User Forum  

Go Back   WorldViz User Forum > Vizard

 
 
Thread Tools Rate Thread Display Modes
Prev Previous Post   Next Post Next
  #2  
Old 03-07-2016, 01:43 AM
Jeff Jeff is offline
WorldViz Team Member
 
Join Date: Aug 2008
Posts: 2,471
Perhaps the following code will be helpful. It seems to get a bit tricky when other nodes are partially clipped or are in line with the node that is always drawn:

Code:
import viz
viz.go()

viz.MainWindow.clip(10,1000)

ball = viz.addChild('beachball.osgb',pos=[0,1.8,4])
ball.disable(viz.ADJUST_AUTO_CLIP)
ball.disable(viz.DEPTH_TEST)
ball.drawOrder(10)

ball2 = ball.copy(pos=[0.5,1.8,4])
ball3 = ball.copy(pos=[-0.5,1.8,4])
ball4 = ball.copy(pos=[0,1.8,2])
ball5 = ball.copy(pos=[0,1.8,5])

piazza = viz.addChild('piazza.osgb')
Reply With Quote
 


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
frustum versus clip and fov michaelrepucci Vizard 2 08-29-2008 12:50 AM
clip with frustum problem Joran Vizard 1 10-20-2006 11:16 AM


All times are GMT -7. The time now is 05:33 AM.


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