gnu3dkit-dev
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Gnu3dkit-dev] G3DRenderer - polygons


From: Brent Gulanowski
Subject: [Gnu3dkit-dev] G3DRenderer - polygons
Date: Fri, 14 Mar 2003 17:57:36 -0500

Regarding the method declarations:

- (void)drawPolygon:(int)numVerts params:(NSDictionary *)pDict;
//extern RtVoid RiPolygon(RtInt nverts, ...);

etc.

If you are following the Ri consistently, then pDict contains a pointer back into the array of vertices, plus optional pointers to normals, colours, etc. Correct? Or do you intend to adhere to data hiding and include the data values in the dictionary? Or make it user's choice?


Brent Gulanowski                        address@hidden
--
Fusion power is the energy of the future, and always will be!




reply via email to

[Prev in Thread] Current Thread [Next in Thread]