[PD-dev] [GEM] some code questions

chris clepper cclepper at artic.edu
Sat Feb 1 20:02:14 CET 2003


>
>
>2)Some of the geo's (f.i. polygon) have a maximum of 10 points. This limit
>is hardcoded. Is this an openGL limit or a GEM limit. Changing the GEM code
>to a larger maximum isn't so difficult, but the nicer solution would be to
>allow dynamic adding of vertices. Would that be theoretically possible? (it
>would probably be a new object)

That seems like a reasonable change.  You can dynamically add 
vertices with the current polygon object, it just has the 10 vertex 
limit.  The problem would more likely arise from representing and 
handling large, dynamic data sets in pd without using something like 
an array.  Maybe a vertex array object that uses a pd array for data 
is an option.

cgc

>Gerard
>
>
>_______________________________________________
>PD-dev mailing list
>PD-dev at iem.kug.ac.at
>http://iem.kug.ac.at/cgi-bin/mailman/listinfo/pd-dev





More information about the Pd-dev mailing list