db&w Support Forum
Welcome, Guest. Please login or register.
Did you miss your activation email?
September 09, 2010, 12:14:06 AM
2606 Posts in 486 Topics by 892 Members
Latest Member: pabsRakssmare
Home Help Search Calendar Login Register
db&w Support Forum  |  shaderMeister  |  shaderMeister Presets  |  2.5d ReLighting in Fusion; CustomTool (.setting) 0 Members and 1 Guest are viewing this topic. « previous next »
Pages: [1] Go Down Print
Author Topic: 2.5d ReLighting in Fusion; CustomTool (.setting)  (Read 1608 times)
zarti
Pixlet
*
Offline Offline

Posts: 7


2.5d ReLighting in Fusion; CustomTool (.setting)
« on: February 12, 2010, 11:19:07 PM »

hi to all of you,

spend two days to find the 'trick' to use world-position info in Fu' ...
fortunately, someone else has done it (i cannot remember "who" and "where", maybe Pigsfly or Vfxtalk) and i thought i could share it here with you.  =)

1- load an rendered image which has p-world data
    *if you need an image to test, download this one
* FRAME_A.zip (2527.45 KB - downloaded 23 times.)
(EXR file; a simple lightwave scene rendered with shaderMeister)

2- load a CustomTool, then load the ".setting" file attached here
* CustomTool_PWorld_lighting.zip (0.61 KB - downloaded 20 times.)
.

3- connect them both (see below)

* Clipboard-4.png (25.69 KB. 851x672 - viewed 30 times.)


4- have fun!  =)



++++
below i'm posting some screenshots from my first tests.

* Clipboard-1.png (45.38 KB. 1275x439 - viewed 27 times.)

* Clipboard-2.png (42.82 KB. 1269x439 - viewed 27 times.)

* Clipboard-3.png (113.8 KB. 1424x427 - viewed 27 times.)


hope you find it useful, (of course, if you actually do not have it).   Tongue

* CustomTool_PWorld_lighting.zip (0.61 KB - downloaded 20 times.)
* FRAME_A.zip (2527.45 KB - downloaded 23 times.)
Logged
MrWyatt
Kilo Pixel Renderer
**
Offline Offline

Posts: 95

infiniMap User


WWW
Re: 2.5d ReLighting in Fusion; CustomTool (.setting)
« Reply #1 on: February 13, 2010, 05:23:17 PM »

Hi zarti. nice to have you here.  Grin
I have made pretty much the same thing in nuke here : http://forums.db-w.com/index.php/topic,450.0.html
I just used it to make stereoscopic proof masks, but I guess one could also do a fair bit of relighting using it. I see you have the same problems as I have with borders though. I guess it would help to render the pworld pass in double resolution to get rid of a few hard borders.
Thanks for the pictures. will see if I can replicate he expressions in nuke, as my mask is not falling of so nicely spherical as yours.

anyway. really nice tool.
Logged

zarti
Pixlet
*
Offline Offline

Posts: 7


Re: 2.5d ReLighting in Fusion; CustomTool (.setting)
« Reply #2 on: February 14, 2010, 03:13:13 AM »

yea, i'm happy too to meet you guys here again!  Smiley

I have made pretty much the same thing in nuke here : http://forums.db-w.com/index.php/topic,450.0.html

in fact, your posts provoked my search to achieve the same thing in Fusion. so, thank you!     Wink
 

I just used it to make stereoscopic proof masks, but I guess one could also do a fair bit of relighting using it. I see you have the same problems as I have with borders though. I guess it would help to render the pworld pass in double resolution to get rid of a few hard borders.


maybe not only for relighting; you can easily extract the data for one of the axis and use it for fog and interesting other post-effects.

* Y_extracted_chann.png (143.67 KB. 779x672 - viewed 22 times.)


regarding hard borders; i tried a lot cameras and camera settings and the only render which behaves correctly is that which has no AntiAliasing active. (see attached pic below)
the AA is the problem and this seems to be a LW-s issue. i don't know if it is worthy to post that like a bug on NT forums. i do not know either if other 3d packages have/generate the same problem ...  Huh

* render_no_AA.png (8.09 KB. 825x411 - viewed 25 times.)




Thanks for the pictures. will see if I can replicate he expressions in nuke, as my mask is not falling of so nicely spherical as yours.

anyway. really nice tool.

well, notify me on your progress.    oh ... and again, i'm not the maker of that, just the transporter.   Cool

Logged
lightwolf
infiniMap / exrTrader / shaderMeister developer
Administrator
*****
Offline Offline

Posts: 1304


Obfuscated SDK Hacker


WWW
Re: 2.5d ReLighting in Fusion; CustomTool (.setting)
« Reply #3 on: February 14, 2010, 05:03:36 PM »

regarding hard borders; i tried a lot cameras and camera settings and the only render which behaves correctly is that which has no AntiAliasing active. (see attached pic below)
the AA is the problem and this seems to be a LW-s issue. i don't know if it is worthy to post that like a bug on NT forums. i do not know either if other 3d packages have/generate the same problem ...  Huh
I'd say it's a general problem that comes with AA.
Ideally one would want to composite and then perform AA - which is practically what rendering at a double (or higher) resolution does. One could of course try to design a file format that stores more than one sample per pixel to allow for AA in post. But, again, that would result in massive size files (i.e. LWs adaptive sampling can easily create hundred samples per final pixel - which, in an image file, would be the equivalent of 100s of extra RGBA data stored per final image pixel).

The Coverage buffer that 3DSMax exports (combined with a background colour buffer) is designed to get around the issues, but even those only do so to a certain degree.

The only package that I know of that actually handles these issues correctly is Blender, as it can composite before AA. On the other hand, that also means that you need to re-render the 3D part of the comp every time.

Cheers,
Mike
Logged

Optimism is an occupational hazard of programming: feedback is the treatment. (Kent Beck)

skype: lupus_lux
Visit us on facebook: http://www.facebook.com/dbw.finest.plugins
zarti
Pixlet
*
Offline Offline

Posts: 7


Re: 2.5d ReLighting in Fusion; CustomTool (.setting)
« Reply #4 on: February 14, 2010, 11:17:10 PM »

i think i found something ...

totally doable inside the compositor (Fusion). see two different moments below.
they are zoomed at 400%.


* 01_pseudo_solution_inside_Fusion.png (72.23 KB. 1440x712 - viewed 23 times.)


* 02_pseudo_solution_inside_Fusion.png (66.92 KB. 1440x653 - viewed 26 times.)


maybe it is not scientifically correct but i like the results.
my Fu' keeps crashing and project keeps being corrupted because (maybe) my laptop @home, where i'm making tests, is 5 years old.
but fortunately i can open and correct it in a text editor. hope all those worth it.   =)





Logged
zarti
Pixlet
*
Offline Offline

Posts: 7


Re: 2.5d ReLighting in Fusion; CustomTool (.setting)
« Reply #5 on: February 15, 2010, 12:08:06 AM »

some other moments ...


* 03_pseudo_solution_inside_Fusion.png (48.1 KB. 1440x429 - viewed 20 times.)

* 04_pseudo_solution_inside_Fusion.png (59.19 KB. 1437x428 - viewed 21 times.)

* 05_pseudo_solution_inside_Fusion.png (65.02 KB. 1439x426 - viewed 23 times.)

Logged
Pages: [1] Go Up Print 
« previous next »
Jump to: