Hi,
Hello Guys,
Actually i have to create radial distortion in an image using osg. So i created
root node then camera node then geode and atlast i was trying to create the
geometry which i can attach to the geode node. I am assuming distortion to be
like this D = (1 +k1*r*r + k2*r*r*r*r); where k1 and k2 are the coefficient of
distortion and r is the distance between ideal image coordinate(x and y). So i
want to get Barrel distorted image and Pincushion distorted image for postive
and negative values of k. But i couldn`t understand which geometry i should
attach to get those kind of image.
So if anybody knows about this then please let me know.
Thanks in advance
Thank you!
Cheers,
Naresh
--
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=28774#28774
___
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org