WorldViz User Forum

WorldViz User Forum (https://forum.worldviz.com/index.php)
-   Vizard (https://forum.worldviz.com/forumdisplay.php?f=17)
-   -   pincushion distortion (https://forum.worldviz.com/showthread.php?t=2705)

whj 04-16-2010 01:25 PM

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


Jeff 04-16-2010 01:36 PM

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)


whj 04-19-2010 03:46 PM

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!


All times are GMT -7. The time now is 04:45 AM.

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