3D plane and texture

Hello,

I am new to openFrameworks.

I’d like to draw a 3D grid plane and sky(texture image). But I don’t know where to start from.

Do I need to write a shader file?

Thanks in advance,

Not necessarily. If you have the foreground/grid and background/sky as images, you can simply use ofImage (cf. documentation).

You can check out this tutorial if you need further guidance:

@diff-arch Thank you for your reply.

Yes, the background can be a load sky image but the foreground should grid that would be used for the coordinate system as ENU/NED.

Can you suggest another idea?

Thank you,

Hi, you can use ofDrawGrid(…) command, which draws a grid as you describe. One command thats all. :slight_smile:
https://openframeworks.cc//documentation/3d/of3dUtils/#!show_ofDrawGrid