WorldViz User Forum  

Go Back   WorldViz User Forum > Vizard

Reply
 
Thread Tools Rate Thread Display Modes
  #1  
Old 04-13-2011, 07:14 AM
nige777 nige777 is offline
Member
 
Join Date: Nov 2007
Location: UK
Posts: 78
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!
Reply With Quote
  #2  
Old 05-20-2011, 10:29 PM
dcnieho dcnieho is offline
Member
 
Join Date: Feb 2011
Posts: 59
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
Reply With Quote
Reply


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
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


All times are GMT -7. The time now is 06:01 PM.


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