Infinite drawing

Hello!

I wanted to share this technique I finally figured out how to accomplish with my current knowledge. I’ve been wanting to create a scene where a plane is flying forward over terrain. The part I could not figure out for a while was how to use instancing to keep instancing geometry in front of my camera. I was able to do so using the modulo/remainder math operation.

I’m sure some parts are rough and I also plan to improve it a lot but I thought I’d share! One thing I plan to add is some controls that would let the user direct the plane in any direction.


PS:

Is it correct etiquette to ask for feedback in the Techniques board, or should that strictly be left for the Beginners board? Thanks!
InfiniteDrawing.1.toe (7.36 KB)

Thanks for sharing!

Thanks for sharing, I was trying to figure this out myself!