LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

cviogl texture

hello,

i am using NI cviogl control (from toolslib) to make 3D animation. my program uses low-level GL SDK functions (opengl32,glu32) to draw objects.
i want to use bitmap textures,  but it is not possible with this control. when i create own window using SDK function "CreateWindowEx" or if i have panel in UIR file and i  use function "wglMakeCurrent" to use this panel as rendering context, then i can see bitmap texture on my cube.
i understand, that this cviogl control was designed for drawind 3D graphs using toolslib functions (in .fp) and some low-level gl function are not supported, but is it possible to configure this control window for using textures?

thnx.

0 Kudos
Message 1 of 2
(3,057 Views)
Hello,

It is not possible to configure this control to use textures.  This API is designed specifically for plotting and does not cover direct use of the low-level Windows OpenGL Libraries (GLAUX.LIB, OPENGL32.LIB).
Kristen
National Instruments
0 Kudos
Message 2 of 2
(3,030 Views)