PDA

View Full Version : PN Triangles



NeXus
01-21-2004, 06:06 PM
I have an old Radeon card and want to see what some models will look like using Truform. Does anyone have a header file or something with the enums for ATIX_PN_TRIANGLES? The spec on ATI's website doesn't have the enum values in and they're different to the ATI_PN_TRIANGLES.
Any help appreciated...

NitroGL
01-21-2004, 07:31 PM
http://oss.sgi.com/projects/ogl-sample/registry/ATI/pn_triangles.txt

NeXus
01-21-2004, 08:38 PM
Wrong one, I need the spec for ATIX_pn_triangles which does software emulation of truform. My card doesn't support ATI_pn_triangles.

[This message has been edited by NeXus (edited 01-21-2004).]

NitroGL
01-21-2004, 09:22 PM
The ATIX extension was discontiuned when the non experimental version was released, and is no longer supported by the drivers.

What card are you using?

NeXus
01-22-2004, 07:27 AM
Its the first Radeon 64MB DDR and I've installed some old drivers which support the ATIX extension, all I need is the enum values so I can do glEnable (PN_TRIANGLES_ATIX) etc. But they are nowhere to be found - the spec on ATI's site has ???? where the numbers should be so just want to know if someone has an old header file with them in or can tell me some way of finding them.

NitroGL
01-22-2004, 07:51 AM
Found this floating around in an old program of mine:



#ifndef GL_ATIX_pn_triangles
#define GL_ATIX_pn_triangles 1
#define GL_PN_TRIANGLES_ATIX 0x6090
#define GL_MAX_PN_TRIANGLES_TESSELATION_LEVEL_ATIX 0x6091
#define GL_PN_TRIANGLES_POINT_MODE_ATIX 0x6092
#define GL_PN_TRIANGLES_NORMAL_MODE_ATIX 0x6093
#define GL_PN_TRIANGLES_TESSELATION_LEVEL_ATIX 0x6094
#define GL_PN_TRIANGLES_POINT_MODE_LINEAR_ATIX 0x6095
#define GL_PN_TRIANGLES_POINT_MODE_CUBIC_ATIX 0x6096
#define GL_PN_TRIANGLES_NORMAL_MODE_LINEAR_ATIX 0x6097
#define GL_PN_TRIANGLES_NORMAL_MODE_QUADRATIC_ATIX 0x6098
typedef void (APIENTRY *PFNGLPNTRIANGLESIATIXPROC)(GLenum pname, GLint param);
typedef void (APIENTRY *PFNGLPNTRIANGLESFATIXPROC)(GLenum pname, GLfloat param);
#endif

NeXus
01-22-2004, 12:07 PM
Thanks m8 - all working now http://www.opengl.org/discussion_boards/ubb/smile.gif