hello list, i want to project some gem visuals to a concave surface, and i was wondering if there is a way to distort the gem window in a way that it can fix the distortion generated by the surface, for example if i distort the gem windows as fisheye and i project to the concave surface the image is gonna appear fine . Which do you think is the best way of doing this in puredata? is it possible to use pixel shaders to do this? or which ideas do you have for doing this? maybe theres a program designed or libraries for doing this? any idea would be appreciated
many thanks
pun.
Id say probably a shader as you thought. Depending on the type of
distortion you want to correct it could be pretty simple :)
On Dec 15, 2008, at 12:45 PM, punchik punchik wrote:
hello list, i want to project some gem visuals to a concave surface,
and i was wondering if there is a way to distort the gem window in a
way that it can fix the distortion generated by the surface, for
example if i distort the gem windows as fisheye and i project to the
concave surface the image is gonna appear fine . Which do you think
is the best way of doing this in puredata? is it possible to use
pixel shaders to do this? or which ideas do you have for doing this?
maybe theres a program designed or libraries for doing this? any
idea would be appreciatedmany thanks
pun.
Pd-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
hello,
i think the best it to draw whatever you want in a framebuffer. then, use this framebuffer as a texture on a primitive that have the same shape as your screen. or use it on a rectangle + a pixel shader to distort it.
Cyrille
punchik punchik a écrit :
hello list, i want to project some gem visuals to a concave surface, and i was wondering if there is a way to distort the gem window in a way that it can fix the distortion generated by the surface, for example if i distort the gem windows as fisheye and i project to the concave surface the image is gonna appear fine . Which do you think is the best way of doing this in puredata? is it possible to use pixel shaders to do this? or which ideas do you have for doing this? maybe theres a program designed or libraries for doing this? any idea would be appreciated
many thanks
pun.
Pd-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list