Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Topics - Wyatt

Pages: [1]
Support / A few questions about using Polylines
« on: January 08, 2014, 01:51:44 am »
Thank you for this awesome engine!

I have a few noob questions about the implementation of Polyline.

1. Are the arrays for Polylines automatically pushed into VBO's behind the scenes?

2. If an array of a certain arbitrary length is declared, and then one of the vertices is changed, does the change push the whole array into the VBO all over again, or does it use something like glBufferSubData?

I ask because I want to render lines like a line graph based on incoming data, so I had the thought that I could initialize a large array, push vertices into it one by one as they come in, then increment the visibility percentage.  And use the excellent camera controls you provided for zoom and pan after all my samples are loaded.

Thanks for any clues you can give me.


Pages: [1]