6 reputation
1
bio website
location
age
visits member for 2 years, 3 months
seen Jun 18 '12 at 19:26

May
29
awarded  Student
May
28
comment Frustum Culling/Only rendering what's viewed by the Camera in HTML5 Canvas?
In that case, I thought the point was to only render objects that are on the screen/being viewed by the camera?
May
28
comment Frustum Culling/Only rendering what's viewed by the Camera in HTML5 Canvas?
What exactly do you mean by "out of scope"?
May
28
comment Frustum Culling/Only rendering what's viewed by the Camera in HTML5 Canvas?
No, I'm not using any library. And I think you're right about the code. Because if it's 'renderCoords[i].x >= 0' then when the camera offset goes something like -150 it won't render I think.
May
28
comment Frustum Culling/Only rendering what's viewed by the Camera in HTML5 Canvas?
First, thanks for answering. I only expect about 10-40 objects so it's pretty small I think. The camera offset is pretty much the position of the camera. I'm just translating the canvas to different positions. Also, thanks about the profiling.
May
28
asked Frustum Culling/Only rendering what's viewed by the Camera in HTML5 Canvas?