Fri, Nov 22, 7:41 PM CST

Renderosity Forums / Poser - OFFICIAL



Welcome to the Poser - OFFICIAL Forum

Forum Coordinators: RedPhantom

Poser - OFFICIAL F.A.Q (Last Updated: 2024 Nov 21 6:06 am)



Subject: Help achieving a "cheap" distance fog effect


vholf ( ) posted Sat, 28 June 2014 at 5:03 PM · edited Mon, 11 November 2024 at 5:32 PM

Video games, especially the early 3D games, use a "distance fog" to improve performance, like this:

 

How could I achieve the same in Poser? Here's what I've tried so far:

  1. Atmosphere: This works, but render time goes over the roof, so it's not an option for me. 

  2. Simple (or several) planes with cloud nodes: Got close, but I have to be moving the planes around for every shot, and I can't get the depth effect right, things look IN or OUT of the fog, but not comming in or out of it (like the trees of the first picture)

One thing I haven't tried is post working it in (not doing animation so that's an option). I suppose I would need to generate a distance gradient map or something similar. Any help is appreciated.


ockham ( ) posted Sat, 28 June 2014 at 6:10 PM · edited Sat, 28 June 2014 at 6:17 PM

file_505342.jpg

I think the two-planes solution will work.  If you watch a real fog-bank closely, you'll see that everything appears to be either in or out of the layers.  For objects on the scale of cars or trees, there isn't a visible 'in-between'.  I suppose the in-between-ness *might* show on something like a very long warehouse that runs parallel to the road.

If you want the fog to be 'lifting' so it's stronger above, you can use the V variable to control the strength of the plane's transparency.

The power function makes it possible to shape the up-down fade better.

My python page
My ShareCG freebies


Zev0 ( ) posted Sat, 28 June 2014 at 6:20 PM

What about a curved prop? Flip it around so the flat side is closer, and the curve curves into the distance towards the bottom?

My Renderosity Store


bagginsbill ( ) posted Sat, 28 June 2014 at 10:25 PM · edited Sat, 28 June 2014 at 10:25 PM

Quote - Atmosphere: This works, but render time goes over the roof, so it's not an option for me.

You're using the wrong kind. The distance fog effect is almost free.

It's the checkbox "DepthCue_On" - turn that on but do NOT enable "Volume_On".

Adjust the DepthCue_Color to a light gray as seen in the shots you posted.

The DepthCue start defines where the fog begins (distance from camera) and the end defines where the fog becomes 100%.


Renderosity forum reply notifications are wonky. If I read a follow-up in a thread, but I don't myself reply, then notifications no longer happen AT ALL on that thread. So if I seem to be ignoring a question, that's why. (Updated September 23, 2019)


Paul Francis ( ) posted Sun, 29 June 2014 at 2:35 AM

file_505360.jpg

Bill's suggestion is marvellous if you want/need to render all in one go.  As I'd never thought of that solution, I've just tried it - the attached render took less than three minutes just now on a 5 year old Quad Core system, so I can vouch for Bill's assertion that it's cost-free; not an ideal scene to demo fog with but I happened to have it loaded as I was browsing.

For me, I usually go down the ZDepth render/postwork route as the amount of fog or haze is then easily adjusted, plus the ZDepth render is essential for masking and other 3D effects like depth of field.

My self-build system - Vista 64 on a Kingston 240GB SSD, Asus P5Q Pro MB, Quad 6600 CPU, 8 Gb Geil Black Dragon Ram, CoolerMaster HAF932 full tower chassis, EVGA Geforce GTX 750Ti Superclocked 2 Gb, Coolermaster V8 CPU aircooler, Enermax 600W Modular PSU, 240Gb SSD, 2Tb HDD storage, 28" LCD monitor, and more red LEDs than a grown man really needs.....I built it in 2008 and can't afford a new one, yet.....!

My Software - Poser Pro 2012, Photoshop, Bryce 6 and Borderlands......"Catch a  r--i---d-----e-----!"

 


Helos ( ) posted Sun, 29 June 2014 at 7:39 AM · edited Sun, 29 June 2014 at 7:48 AM

file_505362.png

Thanks for the hint - it's a nice and easy way. 

Henning 


vholf ( ) posted Sun, 29 June 2014 at 9:19 AM

@ockham, You are right, it was a mild case of "I expect reality to be different than it actually is", probably having to do with "learning how to see" artist talk about, I lack that lol. Thank you.

@bagginsbill, thank you! I played with the options but for whatever reason it didn't occur to me to untick volume, that did the trick and like you say, it's almost free.

Thank you everyone.


cedarwolf ( ) posted Sun, 29 June 2014 at 9:53 AM

Fascinating!  Thanks.


vholf ( ) posted Sun, 29 June 2014 at 10:04 AM · edited Sun, 29 June 2014 at 10:13 AM

Quote - Bill's suggestion is marvellous if you want/need to render all in one go.  As I'd never thought of that solution, I've just tried it - the attached render took less than three minutes just now on a 5 year old Quad Core system, so I can vouch for Bill's assertion that it's cost-free; not an ideal scene to demo fog with but I happened to have it loaded as I was browsing.

For me, I usually go down the ZDepth render/postwork route as the amount of fog or haze is then easily adjusted, plus the ZDepth render is essential for masking and other 3D effects like depth of field.

Beautiful render.

May I ask how do you create the ZDepth mask in Poser?

Update: Found the answer in this post


Privacy Notice

This site uses cookies to deliver the best experience. Our own cookies make user accounts and other features possible. Third-party cookies are used to display relevant ads and to analyze how Renderosity is used. By using our site, you acknowledge that you have read and understood our Terms of Service, including our Cookie Policy and our Privacy Policy.