gluPartialSphere?

ghettotek
Unregistered
 
Post: #1
is there any way to draw a dome (half a sphere) using gluSphere or equivalent? im trying to get a realistic sky dome, and there really isnt any reason that the sky dome should be drawn under the ground. thanks for your help.

p.s.
i know that i could just model a dome, but i just think OpenGL should have some way of doing this.
Quote this message in a reply
Member
Posts: 352
Joined: 2002.04
Post: #2
Most of the time I don't think you need to use a sky-dome, a sky-box is usually sufficient and is a lot more efficient.
Quote this message in a reply
ghettotek
Unregistered
 
Post: #3
wouldn't the edges of a sky box be visible? that would look horribly unrealistic. but ill check it out anyway.
Quote this message in a reply
Luminary
Posts: 5,143
Joined: 2002.04
Post: #4
There's no reason for the edges of the skybox to be visible. It's all in the texturing...
Quote this message in a reply
ghettotek
Unregistered
 
Post: #5
so id have to distort the texture image so it conforms to a cube?
Quote this message in a reply
Member
Posts: 352
Joined: 2002.04
Post: #6
Generally you'd have a different texture for front, left, right, back and top. And remember to turn off lighting on the sky box.
Quote this message in a reply
Member
Posts: 177
Joined: 2002.08
Post: #7
If you're absolutely dead-set on drawing half a sphere, you could use a clip plane to cut a whole sphere in half.
Quote this message in a reply
Post Reply