WorldViz User Forum

WorldViz User Forum (https://forum.worldviz.com/index.php)
-   Vizard (https://forum.worldviz.com/forumdisplay.php?f=17)
-   -   how do I remove the “flying Robot” (https://forum.worldviz.com/showthread.php?t=4001)

robgulwell 11-16-2011 03:50 AM

how do I remove the “flying Robot”
 
Hi can any one help, when controlling an avatar with the mouse and button commands, how do I remove the “flying Robot” from the non camera view?:confused:

Jeff 11-16-2011 04:28 PM

Are you creating multiple windows with different views? If so, you can prevent a node from rendering to all windows using the .renderOnlyToWindows command.

robgulwell 11-21-2011 12:37 AM

Jeff many thanks will give it a go today and let you know the outcome.

robgulwell 11-21-2011 07:44 AM

Jeff tried and failed

Jeff 11-21-2011 05:46 PM

Sorry, that's a Vizard 4 command. The following should work for Vizard 3:
Code:

import viz
import vizact
import steve

viz.go()

steve = steve.Steve(pos=[0,1,7],euler=[180,0,0])
court = viz.addChild('court.ive')

subWindow = viz.addWindow()
mask = viz.addNodeMask()
steve.setMask(mask)
viz.MainWindow.setCullMask(mask)



All times are GMT -7. The time now is 12:46 AM.

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