Discussion about math, puzzles, games and fun. Useful symbols: ÷ × ½ √ ∞ ≠ ≤ ≥ ≈ ⇒ ± ∈ Δ θ ∴ ∑ ∫ • π ƒ -¹ ² ³ °
| |
|
|
You are not logged in. #1 2007-08-09 08:03:44
rendering polynomial implicit shapes 2DIve been thinking, how would one go about rendering an implict 2d polynomial graph? Last edited by luca-deltodesco (2007-08-09 08:06:21) The Beginning Of All Things To End. The End Of All Things To Come. #2 2007-08-09 09:26:48
Re: rendering polynomial implicit shapes 2DIdeas off the top of my head: "The physicists defer only to mathematicians, and the mathematicians defer only to God ..." - Leon M. Lederman #3 2007-08-09 10:01:44
Re: rendering polynomial implicit shapes 2DYou could go about graphing it in 3D, storing only those points which satisfy the requirement = 0. The important thing when doing this is to build in a "step size" parameter allowing you to get approximations first. "In the real world, this would be a problem. But in mathematics, we can just define a place where this problem doesn't exist. So we'll go ahead and do that now..." #4 2007-08-09 17:59:32
Re: rendering polynomial implicit shapes 2Dive figured out a good method that renders the objects perfectly, at arbitrary depth, and works for any implicit function http://denvish.net/ulf/090807/33048_laser.php i absolutely adore the second graph, and third graph is just immense -------- thinking about it, this could be directly extended into 3D aswell, only you would have a few more cases to check for, but otherwise it is directly extendable Last edited by luca-deltodesco (2007-08-09 18:12:48) The Beginning Of All Things To End. The End Of All Things To Come. #5 2007-08-09 21:57:50
Re: rendering polynomial implicit shapes 2DA good technique, a bit like my "brute force" method would you say? But some kind of brute force may be the only way, as the function could pop up anywhere. "The physicists defer only to mathematicians, and the mathematicians defer only to God ..." - Leon M. Lederman #6 2007-08-09 22:10:32
Re: rendering polynomial implicit shapes 2Dthe narrowing in of boxes looks cool, but the only reason it 'narrows' in is because i am rendering the graphs at different accuracies, it draws a box whenever it detects that the graph passes through it. so having different accuracies, different sized boxes, they congrugate around where the graph parts are drawn The Beginning Of All Things To End. The End Of All Things To Come. #7 2007-08-09 22:34:02
Re: rendering polynomial implicit shapes 2Dyep, there we are: http://denvish.net/ulf/090807/48788_laserrend.php The Beginning Of All Things To End. The End Of All Things To Come. #8 2007-08-09 22:43:32
Re: rendering polynomial implicit shapes 2Dmy god, this is just plain cool: The Beginning Of All Things To End. The End Of All Things To Come. #9 2007-08-10 07:20:01
Re: rendering polynomial implicit shapes 2DShould be hanging in The Museum of Modern Art! "The physicists defer only to mathematicians, and the mathematicians defer only to God ..." - Leon M. Lederman #10 2007-08-23 14:39:42
Re: rendering polynomial implicit shapes 2DYou're a genuous!! Aside from the pun, what if you set some equations equal to values close to zero, but not exactly, and compare the graphs you get to the zero set equations. Imagine for a moment that even an earthworm may possess a love of self and a love of others. #11 2007-08-28 02:27:34
Re: rendering polynomial implicit shapes 2DIntriguing... that they are anti-aliased is even more impressive (super-sampling?) |