Skydome - How to do

If you are a new Irrlicht Engine user, and have a newbie-question, this is the forum for you. You may also post general programming questions here.
Post Reply
SSmutny

Skydome - How to do

Post by SSmutny »

Hello!

I have played a bit with Skydomes... but i am not satisfied with the finish.
Does anyone know how to do that right? I have modelled the Skydome with 3ds max. But... at the beginning the skydome was to large... so it was out of range of the camera. If i scale it down, it looks to small. Is there a special way to create a good looking Skydome... and what about cloud layers?

greets Sascha
Boogle
Posts: 162
Joined: Fri Nov 21, 2003 3:16 pm
Location: Toronto, Canada

Post by Boogle »

I would check how big Niko makes the skybox that is currently used, and make the dome that size.
powerpop
Posts: 171
Joined: Thu Jan 08, 2004 1:39 am
Location: san francisco

Post by powerpop »

also, it seems like there would (should) be a way to tell the scenemanager to always render a model no matter where it is - glad you started the skydome - i would like to do some work there as well if you want to share code/data back and forth (?) - i want to do a cloud layer and color gradations, etc.
keless
Posts: 805
Joined: Mon Dec 15, 2003 10:37 pm
Location: Los Angeles, California, USA

Post by keless »

well, you can turn bounding box frustrum culling off.. dunno if that will still show it if its out of camera range or not
a screen cap is worth 0x100000 DWORDS
SSmutny

Post by SSmutny »

That's what i was thinking about... lets work together on this problem :) Maybe Nico can give us some hints for this.

greets sascha

here my icq number for code exchange: 157762244
saigumi
Posts: 921
Joined: Fri Aug 22, 2003 11:31 am
Location: St. Louis, MO USA
Contact:

Post by saigumi »

If you look the code for a skybox(CSkyBoxSceneNode.cpp + .h), the skyboxes vertices are created at runtime

The two approaches that I can think of that you could take are:
1. Pre-generate a sphere mesh and scale it so that the scaled mesh fits within the dynamitcally camera far distance minus 0.1f.

2. Generate skysphere as a custom sceneNode, generating each S3DVertex for it. You wouldn't want to do it by hand like the skybox is done, obviously, but through other functions. Google should help in this as none of us are the first to think up a "skydome".
Crud, how do I do this again?
Post Reply