WorldViz User Forum  

Go Back   WorldViz User Forum > Vizard

Thread Tools Rate Thread Display Modes
Prev Previous Post   Next Post Next
Old 02-12-2013, 04:52 PM
hzhao hzhao is offline
Join Date: Sep 2012
Posts: 18
why the directional blur doesn't work well

Hi, I tried the directional blur But it doesn't work. The code is exactly copied from worldviz document.

import vizfx.postprocess
from vizfx.postprocess.blur import DirectionalBlurEffect
effect = DirectionalBlurEffect(angle=60, distance=40)

The error message is :
ERROR: 0:9: '-' : wrong operand types no operation '-' exists that takes a left-hand operand of type 'uniform int' and a right operand of type 'const float' (or there is no acceptable conversion)

I tried different input number, eg, 60.0, 40.0, float and int. But it still doesn't work.

But the Gaussian blur works well. and the Zoom blur doesn't work either.

What is wrong?

Reply With Quote

blur, post process

Thread Tools
Display Modes Rate This Thread
Rate This Thread:

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
How to render a texture of the transparent object and then blur it whj Vizard 1 09-25-2012 03:15 PM
texbox overflow doesn't work when in panel disbeat Vizard 0 05-04-2011 04:24 AM
How to make blur vision? whj Vizard 2 07-16-2009 10:22 AM
Getting a mirror to work in any environment Frank Verberne Vizard 5 03-27-2008 08:21 AM
Image blur jrodman Vizard 19 12-15-2006 03:48 PM

All times are GMT -7. The time now is 05:20 AM.

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