Graphing Conics
I've done some searching on the matter and didn't come up with any pertaining results, thus I hope no one flames me for starting a new thread :P.
I'm trying to graph a conic using OpenGL. I've come up with one way, however it doesn't exactly help me in what I'm trying to do. What I did was simply solve for Y in terms of X using this equation (x^2/a + y^2/b = 1) and then graphed x and y using points, yadda yadda. However, the equation I inevitably need to graph is (ax^2 + bxy + c^2 = d). Solving for x or y isn't really and option since there are combined terms, so I'm not sure even where to start. :S
If anyone has any thoughts, suggestions, links, etc that might be helpful please let me know. :)
Quote:Original post by berdonYou might take a look at this. It's a little involved, but in short you can convert the equation you posted into a form that is more straightfoward to render.
If anyone has any thoughts, suggestions, links, etc that might be helpful please let me know. :)
Quote:Original post by zedzeek
this doesnt really have anything to do with opengl, try the math forum
My question pertains to how to graph such a function in OpenGL, not about the math of it.
So yes, it is relevant to OpenGL, albeit math aswell, but more so OpenGL because the solution for my question will be related to OpenGL.
-
Thanks Jyk, I'll take a look at that site. :)
Quote:Original post by Anonymous PosterQuote:Original post by zedzeek
this doesnt really have anything to do with opengl, try the math forum
My question pertains to how to graph such a function in OpenGL, not about the math of it.
So yes, it is relevant to OpenGL, albeit math aswell, but more so OpenGL because the solution for my question will be related to OpenGL.
-
Thanks Jyk, I'll take a look at that site. :)
- Me
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement