#1
|
|||
|
|||
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?? Is that correct?? Last edited by nige777; 04-13-2011 at 07:23 AM. Reason: bad grammer! |
#2
|
|||
|
|||
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 |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Title Screen | c4am95 | Vizard | 4 | 04-08-2010 01:24 PM |
split screen | honey006 | Vizard | 3 | 05-21-2009 09:57 AM |
Remove the credits on the run screen | Saz | Vizard | 1 | 11-21-2008 09:01 AM |
screen image | erchrastil | Vizard | 8 | 06-27-2008 11:45 AM |
position of html-file on screen | active_world | Vizard | 1 | 05-16-2008 07:24 PM |