Main Menu
Menu

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.

Show posts Menu

Messages - Wyatt

#1
Support / Re: A few questions about using Polylines
January 10, 2014, 02:10:45 AM
Thanks, Egon.
#2
Support / Re: A few questions about using Polylines
January 09, 2014, 01:14:24 PM
:) Thanks!
#3
Support / Re: A few questions about using Polylines
January 09, 2014, 06:55:56 AM
On further investigation, as best as I can tell it looks like the Polyline arrays are held in main memory, not VBO's.
#4
About those Android helper classes:

http://www.vogella.com/tutorials/AndroidTouch/article.html

From those you can extract the amount of movement.

Do your zoom and pan with Camera.setPosition, changing the X, Y, and Z values based on the movement.
#5
Support / A few questions about using Polylines
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.

--Wyatt--