OZONE Asylum
Forums
DHTML/Javascript
Valentine's coming - a js special
This page's ID:
29960
Search
QuickChanges
Forums
FAQ
Archives
Register
Edit Post
Who can edit a post?
The poster and administrators may edit a post. The poster can only edit it for a short while after the initial post.
Your User Name:
Your Password:
Login Options:
Remember Me On This Computer
Your Text:
Insert Slimies »
Insert UBB Code »
Close
Last Tag
|
All Tags
UBB Help
It's cleaner, but I seem to be looking for the zero of a function I don't understand fully :) The math bit behind this puzzles me - for a sphere we were using a "packed" version of the "delta x ^2 + delta y ^2 + delta z ^2" function, where only variables for x and y are declared. But the maths behind the sphere isosurface, according to the above page, mention an equation along the lines of 1 - sqr(x) + sqr(y) + sqr(y) - pretty much the opposite. So to "guess" the heart equation, I reversed the above heart function (in the pov ray tuts), in the same vein, and ended up with the right thing. Only issue : the artefacts, now reduced, don't depend on a linear interval. They seem to depend on sign variations of the function : so what I am looking for are the zeros. And honestly, zeros of a sixth grade function.... Anyway, *clap take two*, [url=http://www.beyondwonderland.com/knowledge/javascript/Valentine_special/isoheart.html]Argo's valentine scriptlet[/url]
Loading...
Options:
Enable Slimies
Enable Linkwords
« Backwards
—
Onwards »