Page 15 of 24

Re: A natural situation

Posted: Sun Oct 04, 2015 12:32 am
by thesquirell
I would love to learn more about this mie_cumulus inside Indigo. How to use it, control it. Seems I can't find anything about it.

Re: A natural situation

Posted: Sun Oct 04, 2015 12:46 am
by yonosoy
Hi.
The thing is that for the exporters mie_cumulus phase function is not yet implemented, because of these you can´t find anything about.
At the moment, or you are lucky and your exporter have external material or you must to change it manually in the XML tag. In the last page there is a text about.

Re: A natural situation

Posted: Sun Oct 04, 2015 1:02 am
by thesquirell
Oh, I'm lucky to proudly use Cindigo, who has external material option. But, I am more interested in parameters that drive this phase function, how to utilize them and what do they do, or is this obscure phase function just an option, without any visible parameters to control?

Re: A natural situation

Posted: Sun Oct 04, 2015 1:17 am
by yonosoy
Man, I can´t understand...
Could you explain me where is in cindigo the external material option? So many months editing because of the lack of external material in cindigo...

About mie is just a phase function without parameters. It all depends on the code for the medium to build clouds or mist. I think that mie is specially good with the atmospheric phenomenons related with vapour but could be use in other environments ...

Absorption and scattering of light by small particles (mie theory).

Re: A natural situation

Posted: Sun Oct 04, 2015 1:35 am
by zeitmeister
You should be able to create an indigo material in C4D; then choose "external" as type. There you can link the given material.
Just copy/paste the code above and save it in an text editor as "something.igm".


Cheers, zeiti

Re: A natural situation

Posted: Sun Oct 04, 2015 1:40 am
by yonosoy
:lol:
so dumb...
thank you, this makes my work, flow ...

Re: A natural situation

Posted: Sun Oct 04, 2015 3:28 am
by Oscar J
Is there any similar atmospheric effect that could give lower render times?

Re: A natural situation

Posted: Sun Oct 04, 2015 2:21 pm
by CTZn
yonosoy wrote:I will do of course; thanks.
Another cuestion. I feel that an inverse function that evaluates the z position (SSS =0 at the top of the boundarie geometry of the gas) could do a good job for this effect too.
I did some tests with pos.z without success. Must be a so simple equation... could you help me with this?
Is like a difumination of the gas density in high so at the top of the trees the gas dissapear and the effect is magnified.
I posted the solution, the cloud shader linked into that post in my wip thread has an option for haze. Here, have both in one :D

e: or, you send me your version and I'll look into it.

PS: <mie_cumulus/> as a phase function. Hey it was implemented into my script just born :P [pun] did not take 20 lines IIRC

Re: A natural situation

Posted: Wed Oct 14, 2015 6:38 am
by yonosoy
A test of mie_cumulus in an interior "architectural" shot. :?
The scene is Archinteriors, volume 33, scene 9. More or less apt to this test but I evacuate of accesories objects the scene. The sun and sky system for the first shot and for the second I only apllied a emitter material with IES in the polygons of the bulbs. So, for 5300 samples/pixel with metro bidir (suggested that it is better option path tracing; for other ocation) I feel is enought torture for the machine (I3 , 61 hours, downscaled from 1920 to 1200). :)

Re: A natural situation

Posted: Wed Oct 14, 2015 6:59 am
by Oscar J
Very cool! :)

Would like to know what happened to that gorgeous low-sun forest shot though? Did you render a cleaner version of that? :)

Re: A natural situation

Posted: Wed Oct 14, 2015 7:49 am
by CTZn
Oscar J wrote:Very cool! :)

Would like to know what happened to that gorgeous low-sun forest shot though? Did you render a cleaner version of that? :)
+1x2
I'm wondering whether my mist (& clouds) shader did cause you troubles, I think I can help further if you need. It is not a noisy mist indeed, it has a constant density at a given height.

Re: A natural situation

Posted: Wed Oct 14, 2015 8:05 am
by contegufo
Hi

Beautiful and interesting the effect of light misty (light fog). You have to be experienced or even moderate users it can accomplish?

Re: A natural situation

Posted: Wed Oct 14, 2015 9:12 am
by OnoSendai
yonosoy wrote:A test of mie_cumulus in an interior "architectural" shot. :?
A bit odd, that's simulating a cloud inside your living room :)
Interesting colour banding visible.

Re: A natural situation

Posted: Wed Oct 14, 2015 10:10 am
by CTZn
Well, that's what happens in a sauna or bathroom in the other hand !

Usually, for rooms, the uniform phase function does the job of simulating dusty air. Nice experiment though !

Re: A natural situation

Posted: Wed Oct 14, 2015 10:13 am
by OnoSendai
CTZn wrote:Well, that's what happens in a sauna or bathroom in the other hand !
That's true. Although i think from a sauna/bathroom the droplet size might be larger than in a cloud. Could be wrong tho.