Framebuffer

Started by
2 comments, last by mike44 5 years, 11 months ago

HI

I've a ok framebuffer looking from above. Now how to turn it 90' to look at it from the front?

It looks almost right but the upper colors look like you're right in it. Those should be blue like sky.

I draw GL_TRIANGLE_STRIP colored depending on a height value.

Any ideas also on the logic? Thanks

Advertisement

Can I buy a vowel?

Never mind, got it working by moving up and a little pitch.

    glTranslatef(0, -1250, 0);
    glRotatef(30, 1, 0, 0);   // pitch

 

This topic is closed to new replies.

Advertisement