Take the 2-minute tour ×
Mathematics Stack Exchange is a question and answer site for people studying math at any level and professionals in related fields. It's 100% free, no registration required.

I'm writing a function plotter as my first program in direct3d , plotting functions in 2d is straight forward x->for samples and y->for f(x) , what I want to know is how should I draw 3d representations of functions ,in this tutorial for example OpenGl Scientific visualization z->(x^2 + y^2)^.5

Microsoft mathematics extends the 2d shape of the function over z to draw a surface representing it (sin(x)) for example.

what is the best way to do that ?

share|improve this question
I usually use Mathematica or Wolfram alpha. –  metacompactness Dec 25 '13 at 16:34
add comment

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.