Usenet.com

www.Usenet.com

Group Index

Sci Thread Archive from Usenet.com

<-- __Chronological__ --> <-- __Thread__ -->

Re: 'Rectangle' 2D image to circle/elipse/cone or tube



"Sims" <[EMAIL PROTECTED]> a écrit dans le message de
news:[EMAIL PROTECTED]
>
> ".oO LGV Oo." <[EMAIL PROTECTED]> wrote in message
> news:[EMAIL PROTECTED]
> > > I found the code bellow ...
> >
> > my answer : don't use code you don't understand...
> >
>
> Thanks, does that apply to NG?
>

nope, some might have more interesting answers to your question...
nevertheless, take it easy, what I just mean is that there's numerous ways
of transforming an image into a circle, a cone or a square : using different
coordinates (polar for a circle for ex.), mapping, with or without
filtering, and a lot more...
so, imho, since you've produced some code and you're the only one who can
describe the results you want to achieve, you should just modify your code
given the transformation you want.

hints : to create a circle, just use polar coordinates, and to create a
tube, just use cylinder coordinates ; thus, I don't have links to some code
that may help you :(





<-- __Chronological__ --> <-- __Thread__ -->


Usenet.com



Please check out one of the premium Usenet Newsgroup Service Providers below for access to Usenet.