From: Dan P. <ba...@al...> - 2006-05-12 02:15:41
|
On May 11, 2006, at 5:13 PM, Sam Steele wrote: > What's the recommended way to draw GL_QUADS from inside a > Drawable? the plx_compat stuff the existing drawables are using > only does triangle strips. I currently have all my characters > being rendered as 2 triangles (like banner) plus 2 triangles for > the background block behind it, but that results in 8000 polys for > an 80x25 screen, which is just slightly too many for the PVR to > render (it gives up after drawing the background, and 49% of the > foreground polys). Using GL_QUADS instead would require only 4000 > polys, which the Dreamcast likes a lot better :) Should I just use > glBegin(GL_QUADS); etc. inside my drawable and use the GL vertex > calls? The PVR seems capable of drawing quads, but no one's really figured it out 100%. Everything else just uses triangle strips for everything, even single triangles. :) So yeah, GL_QUADS won't help you much -- that'll just get rendered as a two triangle strip. |