About Store Forum Documentation Contact
Donations:
345$/mo



Post Reply 
Vertex Index Buffer sorting and Dot quality
Author Message
Chris Offline
Member

Post: #1
Vertex Index Buffer sorting and Dot quality
Hi,

Given:

FREPA(vecstorage) {
VI.dot(col,vecstorage[i].pos);
} VI.end();

Is there anyway to sort the depth of the drawn dots? I want to draw many, many dots (or anything suitible to represent something) but the depth looks very ugly - just wanted to know if it was possible.

Also, is there a way to make the dots little circles (rather than rectangles?) I remember in OpenGL there was something like SMOOTH to do it.

Thanks,
Chris
01-15-2011 07:39 PM
Find all posts by this user Quote this message in a reply
Esenthel Offline
Administrator

Post: #2
RE: Vertex Index Buffer sorting and Dot quality
you should manually sort vecstorage before drawing

you can simulate circles using circle image/texture, and use VI.billboard instead of dot
01-15-2011 08:52 PM
Find all posts by this user Quote this message in a reply
Chris Offline
Member

Post: #3
RE: Vertex Index Buffer sorting and Dot quality
Thanks for your answers! smile
01-15-2011 10:19 PM
Find all posts by this user Quote this message in a reply
Post Reply