Advertisement

Suefaces ??

Started by September 24, 2002 11:53 PM
2 comments, last by arkansas 22 years, 5 months ago
Hi I got some problems to understand the order of points in surfaces. Example: float Surface[3][3][3] = {{{Point1},{Point2},{Point3}}, {{Point4},{Point5},{Point6}}, {{Point7},{Point8},{Point9}}}; Which points are connected with each other. I tried lots of different ways but it always looked wierd and i didn''t understand why it is looking the way it does. Can somebody please give me an answer. BIG THX arkansas
Have you tried using 1D Array?

OpenGL has a special way to read array(i''m not exactly sure how). But it is a good idea to keep your array 1D (unless you know how openGL reads your array.
Advertisement
hi

How do I create surfaces with a 1D array ??

arkansas
Hi

I found it out by myself, but still thanx for your help.

arkansas

This topic is closed to new replies.

Advertisement