User Name
Password
AppleNova Forums » Programmer's Nook »

OpenGL Point Size using Arrays? Anyone?


Register Members List Calendar Search FAQ Posting Guidelines
OpenGL Point Size using Arrays? Anyone?
Thread Tools
scratt
Veteran Member
 
Join Date: Jul 2004
Location: M-F: Thailand Weekends : F1 2010 - Various Tracks!
Send a message via Skype™ to scratt 
2008-04-24, 03:46

Am I right in assuming if I want to draw a large array of Points in OpenGL, and I choose to use arrays to do it then the only way to get variable point size throughout that array is to either use a shader, or texture mapping?

Does anyone know if there is a way similar to the OpenGL ES POINT_SIZE_ARRAY option?

Thanks.

'Remember, measure life by the moments that take your breath away, not by how many breaths you take'
Extreme Sports Cafe | ESC's blog | scratt's blog | @thescratt
  quote
scratt
Veteran Member
 
Join Date: Jul 2004
Location: M-F: Thailand Weekends : F1 2010 - Various Tracks!
Send a message via Skype™ to scratt 
2008-04-24, 04:15

Actually I found a solution using Point Parameters, and fudging the data order.
But if anyone knows of a better way, or if there is an Apple only extension for POINT_SIZE_ARRAYs I am all ears..

'Remember, measure life by the moments that take your breath away, not by how many breaths you take'
Extreme Sports Cafe | ESC's blog | scratt's blog | @thescratt
  quote
Posting Rules Navigation
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Post Reply

Forum Jump
Thread Tools
Similar Threads
Thread Thread Starter Forum Replies Last Post
Go Spain: new attitude towards female models Moogs AppleOutsider 53 2006-09-18 12:50
Sorting out by pixel size ime_NY Genius Bar 0 2006-06-05 10:28
Sorting Movies by Size Yochanan Genius Bar 5 2006-05-09 15:35
how to KEEP Excel window size & position? malcolm Third-Party Products 8 2005-04-07 09:41
Reformat drive and change block size alcimedes General Discussion 16 2004-07-04 15:56


« Previous Thread | Next Thread »

All times are GMT -5. The time now is 10:21.


Powered by vBulletin®
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004 - 2024, AppleNova