WorldViz User Forum  

Go Back   WorldViz User Forum > Vizard

 
 
Thread Tools Rate Thread Display Modes
Prev Previous Post   Next Post Next
  #2  
Old 06-13-2017, 09:45 PM
Jeff Jeff is offline
WorldViz Team Member
 
Join Date: Aug 2008
Posts: 2,471
Try adding the following code. Use WASD to move the avatar:

Code:
import vizcam
keyTracker = vizcam.addKeyboard6DOF()

avatar = viz.addAvatar('vcc_female.cfg')
avatar.state(2)
# illuminate the avatar
avatar.emissive([8]*3)
avatar.renderToAllRenderNodes(excludeMainPass=True)

link = viz.link(keyTracker,avatar)
viewLink = viz.link(avatar,viz.MainView)
viewLink.preTrans([0,1.6,0])
Reply With Quote
 

Tags
avatar, first-person perspective, mirror


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
Unexpected Avatar lookAt() behavior when using yield statements chris2307 Vizard 2 12-17-2013 02:58 AM
Problems with using WIRKS without the Kinect in a mirror setting Jennifer Vizard 0 06-03-2013 03:17 PM
Problem using mirror dan12345 Vizard 3 07-28-2008 04:48 AM
Eyes that keep looking at the mirror Frank Verberne Vizard 3 05-13-2008 05:39 AM
Getting a mirror to work in any environment Frank Verberne Vizard 5 03-27-2008 08:21 AM


All times are GMT -7. The time now is 03:23 AM.


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