Page 1 of 1

Custom fresnel curves might now be possible.. I found a hack

Posted: Sun Feb 12, 2017 3:02 am
by Phantom107
Guys, I may just have stumbled apon a hack to make custom curve-based fresnel possible! :shock:

I'm going to investigate and test this more in-depth and if this is succesful, I will turn it into a Phantom tool with a fully fledged curve editor UI and everything. This could be awesome.
It's based on the way Octane works with IES lights so this won't break either as long as OTOY doesn't change how that works.

(Ignore the little red green and blue markers I put in the curve, I am using those for testing :))

Image

Re: Custom fresnel curves might now be possible.. I found a hack

Posted: Tue Feb 14, 2017 1:24 pm
by milanm
Hi

There's a projection mode that allows you to create a custom falloff using a texture now. Is this the "hack" that you found? :)

viewtopic.php?f=51&t=57921

Regards
Milan

Re: Custom fresnel curves might now be possible.. I found a hack

Posted: Tue Feb 14, 2017 1:32 pm
by Phantom107
Oh wow, that solves part of the problem I was having... T.Y needs to be -0.25 for some reason. Now it aligns up perfectly :o

But yes this is the 'hack'. A hack can also be a trick, abusing something to achieve something else ...in this case I studied how IES lights behaved...

I have started building the UI, workflow will be simple:

1. Load up reference image
2. Use nodes to re-create what you see
3. Export PNG image of the computed curve result
4. Put XML node data on the clipboard that refers to the PNG image with the correct settings.
5. User presses CTRL+V in Octane Standalone

Re: Custom fresnel curves might now be possible.. I found a hack

Posted: Tue Feb 14, 2017 2:01 pm
by milanm
I would rather have this as a module in standalone than a separate, Windows only, application but thanks for your efforts anyway. Are you considering getting into Standalone plugin modules?

Regards
Milan

Re: Custom fresnel curves might now be possible.. I found a hack

Posted: Tue Feb 14, 2017 2:16 pm
by Phantom107
Only standalone apps allow me to implement DRM to protect my efforts. Some of the plugins (C4D/Lightwave) already have plugins or tricks to achieve this. Besides, spreading out my time over all the plugins make fast development impossible plus the best way to setup fast production is by using a Windows multi-GPU rig for production and an iMac for administrative tasks. So I will keep focus on Windows. ;)