WorldViz User Forum  

Go Back   WorldViz User Forum > Vizard

Reply
 
Thread Tools Rate Thread Display Modes
  #1  
Old 04-16-2010, 01:25 PM
whj whj is offline
Member
 
Join Date: Apr 2008
Posts: 60
pincushion distortion

Hi,

I have trouble to get pincushion distortion with this simple code. Can somebody point out what I'm missing? Thanks a lot!

Code:
import viz
import vizlens
viz.go()


pincushion = vizlens.PincushionDistortion() 
viz.add('tankmaze.wrl')
Reply With Quote
  #2  
Old 04-16-2010, 01:36 PM
Jeff Jeff is offline
WorldViz Team Member
 
Join Date: Aug 2008
Posts: 2,455
That is working correctly. You can see how the image changes when you press the spacebar.
Code:
import viz
import vizlens
viz.go()

viz.add('tankmaze.wrl')

vizact.onkeydown(' ',vizlens.PincushionDistortion)
Reply With Quote
  #3  
Old 04-19-2010, 03:46 PM
whj whj is offline
Member
 
Join Date: Apr 2008
Posts: 60
Thank you Jeff. But I guess my graphics card doesn't support this function. I'm wondering what is the limit of my graphics card. It works well on other applications.

THANKS!
Reply With Quote
Reply

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
Strange distortion when creating morphs Josh Vizard 0 04-16-2010 02:02 AM
software distortion for an arena flanny29 Vizard 1 08-18-2008 03:40 PM


All times are GMT -7. The time now is 10:39 PM.


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