Z axis

i had programmed few little codes with z axis
but don’t know how it define in OpenGL API and not want to know in these Large Mesa Package

Please any one know how to define Z axis in any API(Which have 2 parameter(x,y) function )
please humble request

if(you_know)help_me;
if(not_know){
if(want_to_help){give_me_suggestion;
give_me_suggestion = help_me;
help_me = give_me_suggestion;
}
if(help_me)
{thanks = 1000;
}
else
{thanks = 500;
}

Are you saying you have a 2D function you want to render using OpenGL, but are unsure how what you should specify for the Z coordinate?

yes something like this but it will other API

Like GUI, java2D etc… …

and look like
ApiVertex3f()
{
z = x,y manipulation (Trigno,complex)
}

Cause

I want to try to make API Independently

read about “projection transformations” :
http://jerome.jouvie.free.fr/OpenGl/Lessons/Lesson2.php

Will it means
i need to derive an API With Matrix manipulation

cause i want to interact with hardware by using a software

(it will like deriving function for z axis
2D + smartness = 3D(Non-real))
but not need to think about z axis every time
just save it in memory

and must portable for all type of 2D screen
(even in Pentium BLABLABLA 10KHZ)

so,

is your mean is

IT MUST USE MATRIX FOR 3D VISUALITY ELSE IT FAIL FOR 3D

I think your meaning is being totally lost due to language difficulties.

Start with gluOrtho2D, glBegin( GL_TRIANGLES ), glVertex, glEnd, and work up from there. See the red book for tutorials/reference, and the man pages are here.