Reputation
Top tag
Next privilege 10 Rep.
Answer protected questions
Badges
1
Newest
 Student
Impact
~493 people reached

  • 0 posts edited
  • 0 helpful flags
  • 0 votes cast
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?