[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4756: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3891)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4758: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3891)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4759: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3891)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4760: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3891)
Kerkythea Rendering System • View topic - Fast (or 'cheap':-) caustics...
This forum board is in read-only mode.
FAQ  •  Login

Fast (or 'cheap':-) caustics...

Moderator: ModeratorGroup

<<

Extremefatalist

KT-GrandMaster

Posts: 1162

Joined: Thu Sep 01, 2005 6:26 am

Location: Athens, Greece

Post Wed May 21, 2008 6:37 pm

Fast (or 'cheap':-) caustics...

Attachments
Fresnel caustics exp1.jpg
Fresnel caustics exp2.jpg
Fresnel caustics exp (stages).jpg
<<

Fletch

KT-Team
KT-Team

Posts: 8564

Joined: Fri Oct 27, 2006 2:38 am

Location: Milwaukee, WI USA

Post Thu May 22, 2008 5:10 am



<<

Extremefatalist

KT-GrandMaster

Posts: 1162

Joined: Thu Sep 01, 2005 6:26 am

Location: Athens, Greece

Post Thu May 22, 2008 7:50 am

Focused light...

Thanks Fletch. You did read my mind, the 'focusing' of light was the first thing I thought seeing the image :wink: The 'transparent' shadows are not bad but there is a need for focused light here and there on the shadow. I think there is a way of doing this but I am not so sure :wink:

I am trying to find an efficient way to simulate caustics in simple raytracing as you see :) Producing caustics is highly time requiring even in a moderate PM method. The inherent 'pseudocaustics' option has not editing choices so there is a need of 'advanced pseudocaustics' :D
<<

Rafa

KT-GrandMaster

Posts: 1427

Joined: Wed Jan 30, 2008 12:16 am

Location: México

Post Sat May 24, 2008 1:03 pm

Extreme, Can you please render the 1st image in "stages", with a red color material, instead of grey? And send me the other 2 images at the same resolution? Let me try something...
<<

Extremefatalist

KT-GrandMaster

Posts: 1162

Joined: Thu Sep 01, 2005 6:26 am

Location: Athens, Greece

Post Mon May 26, 2008 7:26 am

Red?...

Rafa hello, just now I saw the message. You mean you want to have in red the first pass (the one which throws the transparent shadows)?
<<

Extremefatalist

KT-GrandMaster

Posts: 1162

Joined: Thu Sep 01, 2005 6:26 am

Location: Athens, Greece

Post Mon May 26, 2008 4:57 pm

Zips...

Attachments
Fresnel shadows1(images).zip
(220.91 KiB) Downloaded 295 times
Fresnel shadows1(material).zip
(6.87 KiB) Downloaded 284 times
<<

Rafa

KT-GrandMaster

Posts: 1427

Joined: Wed Jan 30, 2008 12:16 am

Location: México

Post Tue May 27, 2008 12:46 am

<<

Rafa

KT-GrandMaster

Posts: 1427

Joined: Wed Jan 30, 2008 12:16 am

Location: México

Post Wed May 28, 2008 3:16 pm

Attachments
FakeCaustics1.jpg
<<

Extremefatalist

KT-GrandMaster

Posts: 1162

Joined: Thu Sep 01, 2005 6:26 am

Location: Athens, Greece

Post Wed May 28, 2008 4:47 pm

After editing?...

<<

Rafa

KT-GrandMaster

Posts: 1427

Joined: Wed Jan 30, 2008 12:16 am

Location: México

Post Wed May 28, 2008 6:54 pm

It is after editing. It just need a little more testing. :wink:
<<

alex

KT-Team
KT-Team

Posts: 2746

Joined: Sun Nov 26, 2006 10:12 am

Location: Clermont-Ferrand, France

Post Wed May 28, 2008 7:23 pm

This is great EF ! :D Yet it's true it lacks highlights, it is really great ! :D
BTW, it makes me wonder if there is any script possibilities with Photoshop (so that it does the work automatically..)


Perfection is achieved, not when there is nothing more to add, but when there is nothing left to take away.
<<

Rafa

KT-GrandMaster

Posts: 1427

Joined: Wed Jan 30, 2008 12:16 am

Location: México

Post Wed May 28, 2008 8:54 pm

I'm working on that Alex ;)
<<

Rafa

KT-GrandMaster

Posts: 1427

Joined: Wed Jan 30, 2008 12:16 am

Location: México

Post Sun Jun 01, 2008 4:17 pm

Extreme kindly provided me his blobs scene for testing.

My camera angle and lighting is not the best, but the process is well defined.

You need 4 renders.

1) Raytrace with the refraction material.
2) Raytrace with the fresnel material, but in this case its not like a buble, but as a smoke ball. I think the configuration can be done in a case by case basis.
3) A raytrace render of the surface where the shadow is projecting. Simply remove the refractive object.
4) The mask.
Attachments
GlassAA.jpg
FakeCausticsInverted.jpg
Plane.jpg
Last edited by Rafa on Sun Jun 01, 2008 4:25 pm, edited 2 times in total.
<<

Rafa

KT-GrandMaster

Posts: 1427

Joined: Wed Jan 30, 2008 12:16 am

Location: México

Post Sun Jun 01, 2008 4:18 pm

The tricky part was to generate a mask of the projected shadow, and convert it into a caustics projection.

This is achived by combining the Plane.jpg (the projection surface without the model) with the fresnel shadow FakeCausticsInverted.jpg, but in Photopaint or Photoshop with the "Diference" method, in stead the "Normal" method.

And the second trick is using this combined bitmap as a new layer, but this time with the "Add" method in stead of "Normal" method.

The last steps are only for increasing the brightness of the caustics, the contrast, maybe the focus.

Image

Here is a
Attachments
Mask.png
Mask.png (11.24 KiB) Viewed 8859 times
Material.png
Gradient and Fresnel Material
Result.jpg
Last edited by Rafa on Sun Jun 01, 2008 5:28 pm, edited 4 times in total.
<<

Rafa

KT-GrandMaster

Posts: 1427

Joined: Wed Jan 30, 2008 12:16 am

Location: México

Post Sun Jun 01, 2008 5:02 pm

Playing with either this layer or the fresnel and gradient settings you can achive diferent focus effects.

I'm not sure if this method is worth the time saving in render times. In this resolution the PhotonMap+Caustics+aa was about 6 mins, and the diferent layers in the fast version was about 20 secs at most. But the raytrace refraction was about 2 mins.

Edited: I'll update later the images with better quality and better settings to achive more refined effect.
Attachments
Result1.jpg
Next

Return to Tips and Tricks

Who is online

Users browsing this forum: No registered users and 4 guests

cron
Privacy |    Website Terms of Use |   Cookie Consent © 2020 Altair Engineering, Inc. All Rights Reserved.

Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group.
Designed by ST Software for PTF.