WorldViz User Forum  

Go Back   WorldViz User Forum > Vizard

 
 
Thread Tools Rate Thread Display Modes
Prev Previous Post   Next Post Next
  #10  
Old 05-24-2005, 12:51 PM
Johannes Johannes is offline
Member
 
Join Date: Jan 2005
Posts: 143
Hi,
isolated a short piece of code that causes Vizard 2.51 on my machine to crash.

Code:
# coding: UTF-8
import viz
import vizmat
import time
import math
import sys



import vizinfo

viz._AddNode(viz.VizNode(-1))
#cull = viz.add('cull.dlm')


tracking=1

secondLight=0
remote=0



if tracking==0:
	viz.go()
	#viz.go(viz.ANAGLYPHIC)
	#viz.go(viz.QUAD_BUFFER)
	view = viz.get(viz.MAIN_VIEWPOINT)
	view.translate(2.5009684562683105, 1.013837456703186, -0.24669347703456879)#1.3269580602645874, 1.013837456703186, -0.55598777532577515)
	#view.translate(0.051076151430606842, 0.89280927181243896, -1.1567113399505615)
	view.spinto(0,1,0,-90,450)
else: 
	view = viz.get(viz.MAIN_VIEWPOINT)
	viz.go(viz.PROMPT)
	headPPT = viz.add('vizppt.dls')
	data = headPPT.get()
	v = viz.add('intersense.dls')
	viz.tracker()	
	
	if (secondLight==1):
		fistPPT = viz.add('vizppt.dls')
		fistPPT.command(6,'',1,1,1)
	
		
		
	
	
	viz.eyeheight(-0.3)
It does it on two different computers. If I use tracking=0 it works fine. Also worked fine in the older Version.

What do I need to change?

Johannes
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


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