View Single Post
  #14  
Old 02-01-2005, 04:33 PM
Johannes Johannes is offline
Member
 
Join Date: Jan 2005
Posts: 143
hi,
it prints out this:

************************************************** ****************************
* VIZARD 2.50b *
* *
************************************************** ****************************

vizppt.dls WorldViz PPT v1.1
** NOTIFTY: Connected to PPT on COM1
2.50373530388
2.50373530388
2.50373530388
2.50373530388
2.50373530388
2.50373530388
2.50373530388
2.50373530388
2.50404047966
2.50373530388
2.50373530388
2.50373530388
2.50373530388
2.50373530388
2.50373530388
2.50373530388
2.50373530388
2.5034301281
2.50373530388
2.5034301281
2.50373530388
2.50373530388
2.50373530388
2.50373530388
2.5034301281
2.50373530388
2.50373530388
2.50373530388
2.50373530388
2.50373530388
2.50373530388
2.50373530388
2.50373530388
2.50373530388
2.50373530388
2.50373530388
2.50404047966
2.50373530388
2.50373530388
2.5034301281
2.5034301281
2.50373530388
2.50373530388
2.5034301281
2.50373530388
2.50373530388
2.50373530388
2.50373530388
2.50373530388
2.50373530388
2.50373530388
2.50373530388
2.5034301281
2.50373530388
2.50373530388
2.50373530388
2.50373530388
2.50373530388
2.50373530388
2.50373530388
2.50373530388
2.50373530388
2.50373530388
2.50373530388
2.50373530388
2.50373530388
2.50373530388
2.5034301281
2.50373530388
2.50373530388
2.50373530388
2.50373530388
2.50373530388
2.50373530388
2.5034301281
2.50373530388
2.50373530388
2.50373530388
2.50373530388
2.50373530388
2.50373530388
2.50373530388
2.50373530388
2.5034301281
2.50373530388
2.50526118279
2.50098872185
2.4985473156
2.50190424919
2.51868891716
2.54584956169
2.60383296013
2.68378901482
2.79884028435
2.92274165154
3.02680659294
3.08356928825
3.100659132
3.07532954216
3.042065382
3.01215815544
2.993237257
2.99567866325
3.02924799919
3.1040160656
3.19923090935
3.31916499138
3.43543696404
3.56544184685
3.66096186638
3.7094848156
3.69178462029
3.63105463982
3.50501704216
3.32954096794
3.12781977654
2.93494868279
2.78236079216
2.67982172966
2.62122797966
2.57728266716
2.54157710075
2.51990962029
2.48969721794
2.4692504406
2.46955561638
2.47291254997
2.47352290154
2.47474360466
2.47474360466
2.47474360466
2.47810053825
2.47779536247
2.47810053825
2.47779536247
2.47779536247
2.47779536247
2.47779536247
2.47810053825
2.47779536247
2.47810053825
2.47779536247
2.47810053825
2.47779536247
2.47779536247
2.47779536247
2.47779536247
2.47779536247
2.47779536247
2.47779536247
2.47779536247
2.47779536247
2.47779536247
2.47779536247
2.47779536247
2.47779536247
2.47779536247
2.47779536247
2.47779536247
2.47810053825
2.47779536247
2.47779536247
2.47779536247
2.47779536247
2.47779536247
2.47779536247
2.47779536247
2.47779536247
2.47779536247
2.47779536247
2.47779536247
2.47779536247
2.47779536247
2.47779536247
2.47779536247
2.47779536247
2.47779536247
2.47779536247
2.47779536247
2.47749018669
2.47779536247


so it seems the ey-height is really off!

This is the gallery-part which works fine. Guess somebody fitted it, because it is called gallery_rutgers.py

Code:
 import viz
import time
import Avatar
import math
import sid
import vizmat


#  viz.displaymode(1280,480)
#  viz.go(viz.PROMPT | viz.HMD | viz.STEREO | viz.TRACKER)

SHOW_VIDEO = 1
SHOW_MONA = 1
PLAY_AUDIO = 1
PLAY_MEDIA = 1
USE_JOYSTICK = 1
SHOW_AVATAR_R2 = 1

#  EYE_HEIGHT			= 1.8
EYE_HEIGHT			= -0.1

viz.go(viz.PROMPT)

if viz.get(viz.TRACKER):
	v = viz.add('intersense.dls')
	v = viz.add('intersense.dls')
	pos = viz.add('vizppt.dls')
	pos.command(5,'',3)
	pos.factor = 5.0

	viz.eyeheight(EYE_HEIGHT)
	#Do automatic tracking for head
	viz.tracker()
		
#	pos = viz.add('vizppt.dls')
#	pos.command(4.002)
#	pos.command(13)
#	pos.factor = 2.0
#	viz.tracker()
#	v.reset()
	tracking = 1
else:
	tracking = 0
	
viz.eyeheight(EYE_HEIGHT)

if viz.get(viz.TRACKER):
	viz.fov(40, 1.33)
So I guess I have to set eye_height to something like -1 or play around with it, or what would you recommend?

Johannes
Reply With Quote