From: Sakis Gaitatzes (gaitat++at++yahoo.com)
Date: 01/21/2006 10:51:54
pfHi,
I am trying to work with geoarrays and want to pass down a generic
attribute array. I took the pguide/libpr/C++/geoArray.C example and I
substituted the first occurrence of PFGA_NORMAL_ARRAY with
PFGA_GENERIC_ARRAY. (It was commented out so uncomment it).
geoa->setAttr (PFGA_GENERIC_ARRAY, 3, GL_FLOAT, 0, norms);
The first geoarray does not show up at run time. Is there something
else that needs to be done for the generic attributes to work?
Even if I create a separate structure "float *generic;" to pass down,
the first geoarray does not show up.
Linux Redhat 32bit 2.6.9
graphics board nVIDIA GeForce FX 5700 and nVIDIA Quadro 3000 with
latest drivers
OpenGL Performer 3.2.1
I would appreciate any suggestions.
pfThanks,
-- Athanasios Gaitatzes (Saki) e-mail: gaitat at yahoo dot com url: http://www.virtuality.gr/__________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com
This archive was generated by hypermail 2b29 : Sat Jan 21 2006 - 10:52:01 PST