WorldViz User Forum  

Go Back   WorldViz User Forum > Vizard

Reply
 
Thread Tools Rate Thread Display Modes
  #1  
Old 10-20-2006, 07:00 AM
Joran Joran is offline
Member
 
Join Date: Jun 2006
Posts: 38
Send a message via Yahoo to Joran
Post clip with frustum problem

Hello,

I have a problem when using the Window.clip command in combination with Window.frustum. When I call the clip command after I have set the frustum, it will change the frustum settings. I think this is not the correct behavior. I think it should only update the near and far clipping plane and keep the other frustum values (update them so that they have the same effect).

Example script:

Code:
import viz
viz.go()

viz.add('tankmaze.wrl')

viz.MainWindow.frustum(0.0, 0.52632, -1.0, 0.39474, 1, 3000)

def onKeyDown(key):
	if key==' ':
		viz.MainWindow.clip(0.1,10000)

viz.callback(viz.KEYDOWN_EVENT,onKeyDown)
Greetings, Joran.
Reply With Quote
  #2  
Old 10-20-2006, 10:16 AM
farshizzo farshizzo is offline
WorldViz Team Member
 
Join Date: Mar 2003
Posts: 2,849
Hi,

Thanks for the bug report. This will be fixed in the next beta release.
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


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


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