   Converting from OpenGL to DirectX
  Hello all,I am new to both OpenGL and Direct3D and am converting some example code from the CG toolkit from OpenGL to Direct3DDoes anyone know what would be the equivalant Direct3D code for the following:float v[3] = {some values};glTexCoord3fv(v);float ti;glMultiTexCoord1f(GL_TEXTURE1, ti);float t[3] = {some values};glVertex3fv(t);Sorry for the newbie question. Hope someone can help me.Many thanks!/x[Edited by - xargon123 on September 8, 2009 6:37:07 AM]
  There's no direct equivalent. That's legacy OpenGL, the kind only used for tutorials. In Direct3D you have to put vertex data into a vertex buffer. The same thing is recommended for OpenGL if you want good performance.Since you're new to both, I'd suggest sticking to one of the API's until you get the basic ideas of 3D. If you start with Direct3D you will use buffers from the beginning, which is better.   