Board index » delphi » Re: Can glDrawElements be used with triangles having normals and textures?

Re: Can glDrawElements be used with triangles having normals and textures?


2003-10-17 05:57:04 AM
delphi216
Ahh...ok I will look more closely :-)
"Eric Grange" <XXXX@XXXXX.COM>writes
Quote
>Is this correct?

No.

>If not, how can I do this?

See glDrawElements doc - hit F1 from within Delphi ;)

You essentially have to specify the arrays you will use
via glNormalPointer, glTexCoordPointer, etc. and then
enable them via glEnableClientState.

Eric
 
 

Re: Can glDrawElements be used with triangles having normals and textures?

Quote
See glDrawElements doc - hit F1 from within Delphi ;)
I've tried this, but it doesn't appear...I can only find it in the Win32.hlp
file, so I will continue to look there...
I am using Delphi 5 Prof.
"Paul Nicholls" <XXXX@XXXXX.COM>writes
Quote
Ahh...ok I will look more closely :-)

"Eric Grange" <XXXX@XXXXX.COM>writes
news:XXXX@XXXXX.COM...
>>Is this correct?
>
>No.
>
>>If not, how can I do this?
>
>See glDrawElements doc - hit F1 from within Delphi ;)
>
>You essentially have to specify the arrays you will use
>via glNormalPointer, glTexCoordPointer, etc. and then
>enable them via glEnableClientState.
>
>Eric