Ashika Umanga Umagiliya
Ashika Umanga Umagiliya

Reputation: 9178

how to create infinite /continous mesh in OpenGL?

I was thinking how to crate the infinite three mesh as seen in this game ?

http://www.youtube.com/watch?v=wjDp21_X0SU

Is it a one big mesh or dynamically generate as the game progress ?

Upvotes: 2

Views: 458

Answers (1)

André Puel
André Puel

Reputation: 9189

There is not "infinite mesh" in OpenGL.

You may do that using two cylinders: When one cylinder is at back, away from the camera view, you translate it to the front of the "actual" cylinder.

Upvotes: 4

Related Questions