# how can i create new defined shapes in OpenGL ?

This is a discussion on how can i create new defined shapes in OpenGL ? within the Game Programming forums, part of the General Programming Boards category; Hello ,... since i didn't found functions to all plane i proboably will need to use i ask here. i ...

1. ## how can i create new defined shapes in OpenGL ?

Hello ,...

since i didn't found functions to all plane i proboably will need to use i ask here.

i guess i will need to use will be :
z = max(|x||y|) - mountion like
x^2 - y^2 = z ukaf point ..

how do could i crate them ..

2. ???
Seriously? What do you want to do?

3. sorry,...

after few courses in math i saw really cool shapes and planes and one of the hardest thing is to imagene the plane or to recreate it on paper.
so i thout to write me one small prog to that (since i started to learn openGL)

for this we often use Kalgebra but i would like to create my own plotting program

4. You can't just give OpenGL an equation. You have to draw everything out of triangles (or squares or polygons, but triangles are faster). So, you would loop through, say 100 x/z coordinates, and for each point, calculate the y value and plot a point.