Anim8or Community

General Category => General Anim8or Forum => Topic started by: DressedForSucess on April 11, 2008, 03:32:38 pm

Title: background image uneffected by fog?
Post by: DressedForSucess on April 11, 2008, 03:32:38 pm
Hey

is it possible to make the background uneffected by mist ...

i want the background image to show more though if i strengthen the mist, it dissapears TOO much

any advice?
Title: Re: background image uneffected by fog?
Post by: hihosilver on April 11, 2008, 03:40:03 pm
My advice would be to make a plane and texture it, then place it closer, therefore it wouldn't be effected as much by the fog.  It could be a challenge to place it well, but that's what I'd do.
Title: Re: background image uneffected by fog?
Post by: DressedForSucess on April 11, 2008, 03:48:17 pm
Yeah ... Or a dome with a sky texture ...

then place it over the whole set, although moving the camera around might be tricky ...

also, could you give me an example of a plane?
Title: Re: background image uneffected by fog?
Post by: hihosilver on April 11, 2008, 04:45:50 pm
Well, I don't think a plane would be too good of an idea with animation in the scene.  To make a plane you can simply make a cube, convert it to mesh, then delete all the points on one half of the cube, and you're left with a flat plane.  The sky is a good idea though.  What you could do is, create a dome, then apply a cubemap to the dome, and put it around the scene however large you want it to be.  To make animation easier after you put the dome in the scene, select the dome and press 'h' which hides the object.  Then when you're done animating and want to render, just press 'shift + h' or go 'edit>show all'
Title: Re: background image uneffected by fog?
Post by: ENSONIQ5 on April 11, 2008, 10:30:45 pm
One problem with the dome idea is that as soon as you move the position of the camera the illusion is lost, because the depth of the sky should always be infinity.  One way to fix this is to have the dome able to move with the camera, in terms of position, but not in terms of orientation.  In other words, the dome's position should be set as a child of the camera, and the orientation set as a child of the "world".  This way, the camera never gets closer to any side of the dome, and always remains central to it.  The effect would be identical to an environment panorama but the fog problem would be solved.
Title: Re: background image uneffected by fog?
Post by: thecolclough on April 12, 2008, 05:42:46 pm
ensoniq, i tried the movable-dome technique once, it worked in theory, but the problem was that my models were so big that they kept disappearing outside the dome.  i could probably have got it working properly, but i was lazy and gave up instead :-\

- colclough
Title: Re: background image uneffected by fog?
Post by: ENSONIQ5 on April 12, 2008, 06:13:40 pm
Colclough, I have to admit I have never actually tried this, I just figured it would work in theory.  I used a similar method, albeit on a much smaller scale, to animate the dashboard in my space sequence thing.  I see what you mean, though.  I suppose it would be a case of fiddling with sizes, the sky/horizon texture itself, and dome transparency.  Nice to know that someone tried this, though, and the theory is more or less sound.
Title: Re: background image uneffected by fog?
Post by: almost cool on April 18, 2008, 05:30:15 pm
Well you could, instead of a plane, make a large sphere and slap on a texture.
Title: Re: background image uneffected by fog?
Post by: DressedForSucess on April 19, 2008, 06:43:24 am
for that i will require a huge cloud scape texture ...

any suiggestions??
Title: Re: background image uneffected by fog?
Post by: thecolclough on April 19, 2008, 07:48:11 am
the aforementioned cgtextures.com (http://www.cgtextures.com) has some 360-degree panoramic sky textures (follow the links 'Skies' and then 'Full Skies'), maybe that'd be what you're looking for?  i haven't used them myself (yet), but i'm thinking i prob. will, before too long...

- colclough
Title: Re: background image uneffected by fog?
Post by: DressedForSucess on April 19, 2008, 04:14:39 pm
ah kl yea ive tried tht already

i have found a solution ... using Terragen. It generates fantadtic terrains as well as sky scapes etc :)

Title: Re: background image uneffected by fog?
Post by: almost cool on April 22, 2008, 12:31:28 pm
Instead of a UV map try an env map out of experimentation. ???