Forum: Poser - OFFICIAL


Subject: How can I simulate fog in Poser?

Anthony Appleyard opened this issue on Aug 18, 2017 ยท 31 posts


Anthony Appleyard posted Fri, 18 August 2017 at 3:57 PM

To get fog effect in Poser, I have been advised to texture the Atmosphere :-
uw_checking2b_03_atmtexture.jpg
But in the resulting render, the resulting fogging is about the same all over, as if the camera's lens front was dirty, and does not get much more with distance to each object depicted as if the air (or here, water) was dirty or foggy. The relative sizes of the scuba divers (left) and the ditched jet fighter (right) show difference of distance.

uw_checking2b_03.jpg


EClark1894 posted Fri, 18 August 2017 at 4:15 PM

Before I attempt an answer, what version of poser are you using?




Anthony Appleyard posted Sat, 19 August 2017 at 12:45 AM

I have Poser 11.0.7.33999

I have scuba dived plenty, so I know well what underwater visibility limit looks like in reality, both in the Red Sea (can be 100 feet) and in British water (where I do not call it "bad" unless I can't see my own fins).


Helos posted Sat, 19 August 2017 at 4:14 AM

The Fog Tool Deluxe III by Nerd3D should help: http://hivewire3d.com/shop/hw3d-exclusive-artists/nerd3d/fog-tool-deluxe-iii.html

Henning


SamTherapy posted Sat, 19 August 2017 at 6:12 AM

ISTR Bagginsbill posting about this subject, ages ago.

See what a search turn up.

Coppula eam se non posit acceptera jocularum.

My Store

My Gallery


SamTherapy posted Sat, 19 August 2017 at 6:16 AM

Here's one, referring to it: Underwater

Coppula eam se non posit acceptera jocularum.

My Store

My Gallery


SamTherapy posted Sat, 19 August 2017 at 6:17 AM

Here's the thread itself. Underwater Submarine

Coppula eam se non posit acceptera jocularum.

My Store

My Gallery


EClark1849 posted Sat, 19 August 2017 at 7:08 AM

Well, since Sam seems to have found one directly related to what you want to do, but here's one for creating volumetric atmospheres. https://www.youtube.com/watch?v=hlfYmsUCJL0


bagginsbill posted Sat, 19 August 2017 at 7:38 AM

Not only did Sam find it, but I told Anthony about that thread twice since it was written, in the last few months, AND Anthony actually POSTED in that thread.

He seems to be refusing to read it. Not sure what the problem is. The thread contains discussion AND a link to the actual, free scene file which can be downloaded and is ready to use.


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)


Anthony Appleyard posted Sat, 19 August 2017 at 9:22 AM

Thanks. About "He seems to be refusing to read it. Not sure what the problem is.", the problem is that time passes and the previous thread was 3 years ago. Thanks for remnding me about it. I will read at it again.


Anthony Appleyard posted Sat, 19 August 2017 at 9:48 AM

The 11th member of the dropdown menu at "Display" is an option to switch on/off "Depth Cued". It would be EXACTLY what I want :: except that it only operates in displaying and not in rendering, and if I could vary its strength and color at will. uw_checking2b_01_depthcue.jpg
Perfect underwater fog effect -- but only in display mode.

I seem to have ordinary Poser 11 and not Pro.


bagginsbill posted Sat, 19 August 2017 at 10:22 AM

That is "EXACTLY" what you want?!? Not this?

R01.jpg


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)


Anthony Appleyard posted Sat, 19 August 2017 at 10:30 AM

Looks right. Is there any chance of you emailing or otherwise sending to me a copy of the .pz3 file used to make it? Then I could examine it and see how it works.


bagginsbill posted Sat, 19 August 2017 at 10:56 AM

Looks right. Is there any chance of you emailing or otherwise sending to me a copy of the .pz3 file used to make it? Then I could examine it and see how it works.

The thread contains discussion AND a link to the actual, free scene file which can be downloaded and is ready to use.

and finally I shall quote the actual thread - I posted the following in March 2016

I don't have time to ever finish this thing to perfection. I have uploaded all the work I did -- caveat emptor. Go get it -- BBUnderWaterRuntime.zip.

https://sites.google.com/site/bagginsbill/free-stuff/tutorial-scenes

Note: I do not get notified here about replies so I don't come here to talk anymore.

As I wrote back then I've gotten NO ebots about replies to this thread. I was manually checking. I'm going away for the weekend now and will not be checking again until probably Monday.


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)


Anthony Appleyard posted Sat, 19 August 2017 at 11:39 AM

Thanks. I have downloaded it and unpacked it.


Anthony Appleyard posted Sun, 20 August 2017 at 4:12 AM

(Hereinafter, / should be backslash)

The files that I unzipped from BBUnderWaterRuntime.zip :: where should they go? When I installed my Poser 11, I told the installer to put it at C:/Poser11/ , but the Poser11 installer put part of it there and part of it at C:/Users/Public/Documents/Poser 11 Content/Runtime/


hborre posted Sun, 20 August 2017 at 8:34 AM

It looks like everything should go into your public folder and not partially into the parent Poser runtime. You must navigate to the scripts to run them as per the readme instructions.


HartyBart posted Sun, 20 August 2017 at 5:36 PM

If you're going to be doing many undersea pictures, it might be an idea to look at getting a copy of Vue. Poser 11 -> Vue 2016 is really easy and automatic, and it would give you access to all Vue's one-click presets for atmospheres and underwater realism.



Learn the Secrets of Poser 11 and Line-art Filters.


RorrKonn posted Sun, 20 August 2017 at 5:51 PM

there's a lot of fog resorses

fog

gimps free ya could paint the fog ya self

============================================================ 

The Artist that will fight for decades to conquer their media.
Even if you never know their name ,your know their Art.
Dark Sphere Mage Vengeance


Anthony Appleyard posted Mon, 21 August 2017 at 12:28 AM

"gimps free ya could paint the fog ya self" :: I can program in C++ and Python; I could write a bit of image-post-processing software myself, but whatever post-processes the image to add the fog, would need to know how far away is the object that each image pixel's line-of-sight hits (plus complications caused by each line-of-sight passing through any objects which are somewhat (but not 100%) transparent). Is there a quick way for a Poser Python script called on the scene to output a table of numbers, saying for each image pixel how far away is the object that that image pixel's line-of-sight hits? (Or a special value to say "This pixel's line of sight hit the background".)


RorrKonn posted Mon, 21 August 2017 at 5:30 AM

Anthony Appleyard posted at 6:19AM Mon, 21 August 2017 - #4312617

"gimps free ya could paint the fog ya self" :: I can program in C++ and Python; I could write a bit of image-post-processing software myself, but whatever post-processes the image to add the fog, would need to know how far away is the object that each image pixel's line-of-sight hits (plus complications caused by each line-of-sight passing through any objects which are somewhat (but not 100%) transparent). Is there a quick way for a Poser Python script called on the scene to output a table of numbers, saying for each image pixel how far away is the object that that image pixel's line-of-sight hits? (Or a special value to say "This pixel's line of sight hit the background".)

oh you want realistic ,physically correct real world fog. Don't know if that with in the realm of Python. I'm sure C++ could but getting a render engine to calculate earths gravity ,temp,wind,,etc etc. I don't even think Vue or Max even does all that.

I'm thinking you would need NASA super computers n software for all that n all that is beyond are reach.

Where CGI Artist .Art is a illusion ,where Mages. Just create the illusion of fog.

============================================================ 

The Artist that will fight for decades to conquer their media.
Even if you never know their name ,your know their Art.
Dark Sphere Mage Vengeance


Anthony Appleyard posted Mon, 21 August 2017 at 11:37 AM

No need to be that exact. If I knew that:
Pixel Q is looking at a part of an object, which is P inches away from the camera.
My chosen maximum visibility in the fog is V inches.
Pixel Q without fog has color C.
The color of the fog is F.
Then I could calculate: set R=P/V; if R>1 then set R=1; set pixel Q to color (F * R) + (C * (1-R))


RorrKonn posted Mon, 21 August 2017 at 11:57 AM

Anthony Appleyard posted at 12:54PM Mon, 21 August 2017 - #4312655

No need to be that exact. If I knew that:
Pixel Q is looking at a part of an object, which is P inches away from the camera.
My chosen maximum visibility in the fog is V inches.
Pixel Q without fog has color C.
The color of the fog is F.
Then I could calculate: set R=P/V; if R>1 then set R=1; set pixel Q to color (F * R) + (C * (1-R))

That sounds something like how a light n shadows works in a way. maybe the lights could work as fog.

============================================================ 

The Artist that will fight for decades to conquer their media.
Even if you never know their name ,your know their Art.
Dark Sphere Mage Vengeance


bagginsbill posted Mon, 21 August 2017 at 12:51 PM

There is no reason to continue guessing how you might do this. I provided a scene that does everything.

We should have seen 50 renders from Anthony by now.

Here I just did another one - it rendered in 15 seconds. This is the LOWEST, WORST quality you get with my setup. It can do far better if you want to make extra effort but this is a load-and-render solution that should not be generating any more concern about how to do this.

City.jpg


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)


bagginsbill posted Mon, 21 August 2017 at 12:54 PM

Another City2.jpg


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)


bagginsbill posted Mon, 21 August 2017 at 1:03 PM

How about near the bottom, looking up.

City3.jpg


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)


bagginsbill posted Mon, 21 August 2017 at 1:04 PM

Any mood you want

Any mood you want..jpg


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)


RorrKonn posted Mon, 21 August 2017 at 3:04 PM

bagginsbill you are the Undisputed Champion of Poser shaders. your caustics n all look killer. makes me want to model Jaws.

maybe Anthony Appleyard is just checking out different ways to crack that egg n to get different looks or planes on making a fog plugin or something.

but don't take it personally ,where just exploring options n all ways value your input n expertise even if we don't follow it to the letter. Thanks a lot for all your help over the years.

============================================================ 

The Artist that will fight for decades to conquer their media.
Even if you never know their name ,your know their Art.
Dark Sphere Mage Vengeance


Anthony Appleyard posted Mon, 21 August 2017 at 3:57 PM

I have installed your package and I have got it to work. Here is a run with my dredger-submatine added; here it is about 240 feet long (60 feet x 400% scaling). aarun_ds.jpg
But, what caused the black leaf-shapes among the refraction caustics?

Is there a way that I can switch the caustics off? In my experience in Red Sea diving I usually did not see caustics, and never in low-visibility British water.


Anthony Appleyard posted Tue, 22 August 2017 at 5:01 AM

Thank you for your efforts in writing this package. But queries arise:
In this render I set the PM:Half Distance to 5 feet, but details can be seen much further away. In my experience in low-visibilty-range British sea scuba diving, I see the visibility limit as a blurred opaque wall at a set distance L, which is the visibility range. I tried resetting the PM:Scatter Value, but likely in the render the light is scattered only by objects declared as props and characters; but in real sea the light in passage through water (including light which has already hit an object) is also scattered by millions or billions of silt particles and/or plankton organisms; likely the visibility limit "wall" is where the nearest large solid object is so far away that nearly all lines of sight from the camera hit first a silt particle or a plankton organism. UnderWaterScene_a3.jpg To make this scene, I went into one of my previously-made underwater scenes, parented all props and characters to one character, and saved that character "with all child characters and props" to library, so I could load the whole setup bodily into a run of UnderWaterScene.pz3 .

As regards underwater optics, I have noticed on land that at night, lit only by monochrome sodium lights, I can yet see green leaves as green. I suspect that plant chlorophyll (including in green phytoplankton) actively emits green light as it absorbs blue and yellow and red light.

For me, the "depth cued" would be useful, if I could set the depth cue color, if I could make depth cuing also happen on rendering, if I could set the maximum distance rather than it being automatically set at the mesh vertex farthest from the current camera.


Anthony Appleyard posted Tue, 22 August 2017 at 7:12 AM

ds5_suck_in_fog_05.jpg

In former years I made this underwater fog effect by filling the space around the posed objects and the camera with a big cube of 64 parallel one-sided planes set up so the line of sight went through all the planes; each plane's texture is diffuse color cyan (red=127, green=blue=255), transparencies=0.94