How to make Isosurfaces with "tickness" ?

 
Post new topic   Reply to topic    K3DSurf forum Forum Index -> How to
View previous topic :: View next topic  
Author Message
nextstep
Site Admin


Joined: 06 Jan 2007
Posts: 539

PostPosted: Tue Aug 14, 2007 8:12 pm    Post subject: How to make Isosurfaces with "tickness" ? Reply with quote

Hi all,
I've already talked about my formulas for generating "tick" surfaces. However, it's possible to extend this formulas to generate much more interesting surfaces.
I'll start with some explanations on how to use it and will show some "extra" use of it Smile
The formulas is described like this :
Code:
G[x, y, z] = F[x, y, z] * F[x - (T/R)*dF()/dx, y - (T/R)*dF()/dy, z - (T/R)*df()/dz]
Where : dF()/dx == partial derivative of F() to the variable x.
R = sqrt[(dF()/dx)^2 + (dF()/dy)^2 + (dF()/dz)^2]
T = Tickness value

To apply this formula , you should be able to calculate the derivative form of your original isosurface. If you don't know how to do it, take a look on these pages :
http://en.wikipedia.org/wiki/Derivative
http://mathworld.wolfram.com/Derivative.html
Once you're familiar with this notation, it's only a matter of minutes to calculate the derivative formula.
The first extension of this formulas can be obtained by generating isosurfaces with more that two successive parts. For example, to have three surfaces , we have only to vary the parameter T and use this formulas :
Quote:
H[x, y, z] = F[x, y, z] * F[x - (T/R)*dF()/dx, y - (T/R)*dF()/dy, z - (T/R)*df()/dz]* F[x - (T/2*R)*dF()/dx, y - (T/2*R)*dF()/dy, z - (T/2*R)*df()/dz]

when applied to the Schwartz formula, we obtain something like that :
Quote:

Name: TickIso_3
F(): (cos(x) + cos(y) + cos(z))*
((cos(x + sin(x)/(2*sqrt(sin(x)^2 + sin(y)^2 + sin(z)^2))) +cos(y + sin(y)/(2*sqrt(sin(x)^2 + sin(y)^2 + sin(z)^2))) +cos(z + sin(z)/(2*sqrt(sin(x)^2 + sin(y)^2 + sin(z)^2)))))*
((cos(x + sin(x)/(4*sqrt(sin(x)^2 + sin(y)^2 + sin(z)^2))) +cos(y + sin(y)/(4*sqrt(sin(x)^2 + sin(y)^2 + sin(z)^2))) +cos(z + sin(z)/(4*sqrt(sin(x)^2 + sin(y)^2 + sin(z)^2)))))
[x]: -4 , 4
[y]: -4 , 4
[z]: -4 , 4
;


If you're experiencing any problem with this, please use this thread to post your questions.
Also, another interesting extra use for soon Wink
_________________
Cheers,
Abderrahman
Back to top View user's profile Send private message
jotero



Joined: 27 Jan 2007
Posts: 153
Location: Germany Hannover

PostPosted: Wed Aug 15, 2007 7:44 am    Post subject: Reply with quote

hello all Smile

Very good work Taha thanks Smile

ciao
torolf
_________________
Kontakte
Back to top View user's profile Send private message Send e-mail Visit poster's website AIM Address
Display posts from previous:   
Post new topic   Reply to topic    K3DSurf forum Forum Index -> How to All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


2005 Powered by phpBB © 2001, 2005 phpBB Group


Start Your Own Video Sharing Site

Free Web Hosting | Free Forum Hosting | FlashWebHost.com | Image Hosting | Photo Gallery | FreeMarriage.com

Powered by PhpBBweb.com, setup your forum now!
For Support, visit Forums.BizHat.com