hello
i am writing a game
i wrote a scene (3 wall with texture of sky ,1 wall with texture of grass, 2 mountain with glutSolidCone )
and a bird is flying in the scene,
but in the display() if i write :
//draw scene
//birdflying()
bird flies in front of mountain
but if i write:
//birdflying()
//draw scene
bird flies behind of mountain
but i want that bird flies behind and in front of mountain and ofcourse between them,what’s wrong? what should i do?
thanks in advance