-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
dave vanhorn wrote:
> Is there any way to apply a linear twist to an isosurface?
>
> What I'm after is to twist the heart iso, by about 30 degrees, (+/- 15)
> along the Y axis.
>
>
Replace x by (x * cos (f (y)) + z * sin (f (y))
Replace z by (-x * sin (f (y)) + z * cos (f (y))
Where f is a function that defines the way you want the surface to
twist (the simplest being K*y for some constant K).
Jerome
- --
+------------------------- Jerome M. BERGER ---------------------+
| mailto:jeb### [at] free fr | ICQ: 238062172 |
| http://jeberger.free.fr/ | Jabber: jeb### [at] jabber fr |
+---------------------------------+------------------------------+
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (GNU/Linux)
iD4DBQFFh6Idd0kWM4JG3k8RAvd0AJiagT8lHXsA0eBixWRAozGS8TawAJ4oBbo1
4ZEwfkyQZMASWwlP5vDOqQ==
=T0fP
-----END PGP SIGNATURE-----
Post a reply to this message
|