 |
by Wong Chee Fah
Malaysia
Visualization of parametric equations defining a shell-shape surface
This image is a demonstration of the use of POV-Ray as a visualization tool.Mathematical functions are better understood if they can be visually presented. The wealth of mathematical functions available in POV-Ray makes it suitable as a tool for this purpose.
The parametric equations defining the shell-shape surface are as follows :-
x = U*(cos(V)^3)*cos(U)
y = U*(cos(V)^3)*sin(U)
z = U*cos(V)*sin(V)
The shell is bounded by U from 0 to 4pi and by V from -pi to pi. The grid is composed of spheres and cylinders unioned together. The grid is created by first varying V for ech value of U (using nested While loops) and calculating the sphere positions. As the spheres are calculated, they are placed in the union group. The At_Origin and Origin_Occupied identifiers are used to heck if the origin, , is already occupied by a sphere - this eliminates having more than one sphere at the origin. As the spheres are placed, cylinders connecting them are also calculated and placed. Note that checks for U = 0 is done to prevent instances of degenerate cylinders. Once the first nested While loop is completed, cross-running cylinders are calculated by varying U for each value of V using a second set of nest While loops. This time, degenerate cylinders are prevented by checking for cos(V) = 0. The whole Shell is then placed in the scene and an onion color map texture is applied.
As a note to those interested in the parameters, the grid can be made smoother by increasing then number of sphere-cylinder connection that make up each side of a grid square. This is done by increasing the value of the U_Step and V_Step parameters. The grid can be made denser (ie. smaller grid squares) by increasing the Iterations value. Be warned however that memory requirement increases with an increase in any one of the parameter. This scene for example, requires 47313074 bytes of memory. Another parameter that controls the grid is Thickness. As its name implies, it make the grid line thinner or thicker. DO NOT enter 0 though as the parameter is used as a divsor.
wongcf@cyberway.com.sg |
Permalink | 0 comments | 0 trackbacks | Post Comment |
 |
by Lisa Hakesley
USA
The Pi symbol reminded me of the central rock formations of
Stonehenge, and I imagined a prehistoric monument to the mystery
of this magical number...
lisa.haskin@tais.toshiba.com |
Permalink | 0 comments | 0 trackbacks | Post Comment |
 |
by Lucian Paraian
Romania
I guess many people dream sheep jumping over a fence...:)
Well I dream fish. Sometimes flying, sometimes walking on earth,
and sometimes even swiming.
I don`t know why. I think the reason is the fish I take care
in my aquarium.*.
a-ztech@excite.com
a-ztech.go.ro |
Permalink | 0 comments | 0 trackbacks | Post Comment |
 |
by Veijo Vilva
Finland
At first thought, depicting a dream by means of raytracing is quite easy
as you are not bound by any constraints of reality, but then you realise
that most raytraced pictures are in a way too unreal to be dreams as the
most haunting dreams often are more real than the reality. In such a dream
things may be different but they aren't impossible, not quite, and you
keep searching for clues which would confirm your suspicion that you are
dreaming, you do hope you are just dreaming and not trapped into a building
really without an exit. In such a dream you notice more and more details
which are not impossible per se but may clash with your everyday reality,
things may have an almost suprareal clarity intead of noticeably surreal
features, and you invent seemingly logical explanations for inexplicable
things.
veijo.vilva@animal.helsinki.fi
http://www.animal.helsinki.fi/people/vilva/ |
Permalink | 0 comments | 0 trackbacks | Post Comment |
 |
by William F Pokorny
Vermont, United States.
When I drink alcohol I can count on a night or two of vibrant, rapidly
presented images as I drift in and out of sleep. I gather this effect
of alcohol is somewhat common. Are the images I see similar to what
others see? Let me know.
This image is an example of a 'frame' of what is usually a series of 5
to 10 images which explode through my eyelids one after another.
The contrast of the images is always extreme. They sometimes wake me.
Each image contains only a few colors.
I work as a chip designer and these flashing images often have a very
high geometric component. I assume this is because I stare at and think
about geometric images for much of my work day, but perhaps everyone
sees similar things?
pokorny@attglobal.net |
Permalink | 0 comments | 0 trackbacks | Post Comment |
 |
MPaans
The Netherlands
Not much to tell.
paansmak@worldonline.nl
www.dimensionalgraphics.nl
|
Permalink | 0 comments | 0 trackbacks | Post Comment |