PDA

View Full Version : how do I remove the “flying Robot”


robgulwell
11-16-2011, 03:50 AM
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 <node3d>.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:
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)