WorldViz User Forum

WorldViz User Forum (https://forum.worldviz.com/index.php)
-   Vizard (https://forum.worldviz.com/forumdisplay.php?f=17)
-   -   RE: Screen Grab (https://forum.worldviz.com/showthread.php?t=3709)

nige777 04-13-2011 07:14 AM

RE: Screen Grab
 
I found a very useful sounding screen-grabbing plug-in on the Viz 2.5 forum -

http://forum.worldviz.com/showthread.php?t=710

However if I try and use it with Viz 4 I get
Code:

Loading File: tut_ground.wrl
** Load Time: 0.16 seconds
Traceback (most recent call last):
  File "C:\Program Files\WorldViz\Vizard4\python\vizact.py", line 3315, in _callGroup
    val = e.call(arg)
  File "C:\Program Files\WorldViz\Vizard4\python\vizact.py", line 3132, in _callStatic
    return func(*args,**kwargs)
  File "C:\Users\APD\Documents\Nige_PHD\Vizard_Python Development\VizardScreenCapturePlugin\testCaptureScreen.py", line 15, in captureScreen
    width,height,data = vizcapture.captureScreen()
AttributeError: 'module' object has no attribute 'captureScreen'


I've placed the new VideoCapture.dll in the DLL folder but I'm still having no luck however I've noticed that there is a VizCapture.pyd file in there which wasn't in Viz 3, therefore as I can get it working with Viz 3 I am presuming it needs re-jigging for 4?? :confused:
Is that correct??

dcnieho 05-20-2011 10:29 PM

Hi nige777,

I just came accross viz.window.startRecording() for video and viz.window.screenCapture() for capturing to image file or texture.

Another cool thing appears to be viz.VizVideoCapture and viz.VizVideoTexture classes.

Best,
Dee


All times are GMT -7. The time now is 08:18 PM.

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