Author Topic: chromatic aberration in Corona  (Read 8344 times)

2018-02-15, 19:49:59

piotrus3333

  • Active Users
  • **
  • Posts: 237
    • View Profile
I've been rendering some tests lately regarding feasibility of creating that sort of effects in render without any kind of post. render, save it, done.
anybody have experience with that in Corona? (not colored aperture maps - I need something realistic)

question: any chance of setting IOR below 1? when I'm inputting it as color - value of 0.9 gives me IOR 1.1
Marcin Piotrowski
youtube

2018-02-19, 18:13:37
Reply #1

maru

  • Corona Team
  • Active Users
  • ****
  • Posts: 12752
  • Marcin
    • View Profile
I can only think of some crazy workarounds like putting a plane with refractive material with dispersion enabled in front of the camera. :)
But it needs some IOR then, 1.0 won't work.

As to your IOR question - I think you should plug a Corona Color map into your IOR, set it to pure white, and then adjust the output multiplier value.
Marcin Miodek | chaos-corona.com
3D Support Team Lead - Corona | contact us

2018-02-19, 19:44:35
Reply #2

romullus

  • Global Moderator
  • Active Users
  • ****
  • Posts: 8833
  • Let's move this topic, shall we?
    • View Profile
    • My Models
question: any chance of setting IOR below 1? when I'm inputting it as color - value of 0.9 gives me IOR 1.1

IOR<1 are treated as 1/IOR in Corona, so you're getting correct result.
I'm not Corona Team member. Everything i say, is my personal opinion only.
My Models | My Videos | My Pictures

2018-02-19, 20:15:09
Reply #3

piotrus3333

  • Active Users
  • **
  • Posts: 237
    • View Profile
IOR<1 are treated as 1/IOR in Corona, so you're getting correct result.

to optimize this setup I would actually need "incorrect" IOR<1.
but no worries - nothing essential.
Marcin Piotrowski
youtube

2018-02-20, 14:01:48
Reply #4

sbrusse

  • Active Users
  • **
  • Posts: 26
    • View Profile
Any news for this?
I'd love to have the ability to plug "real" type of camera in corona.
If you look at all the data that we can find in PS or lightroom with build in lens corrections that distort the real cams to get more "accurate" results,
Would be great to be able to replicate those improper camera types (vignette, CC, distortion, etc) as presets like LUTs.
DXO has a freaking list of data as well.
Would be completely awesome to get this embedded inside Corona.

Does this make sense?
Stan

2018-02-21, 19:20:56
Reply #5

piotrus3333

  • Active Users
  • **
  • Posts: 237
    • View Profile
I'd love to have the ability to plug "real" type of camera in corona

I guess all the tools are already there.
not a lot of work to prepare distortion texture and adjust vignette.
Marcin Piotrowski
youtube

2018-02-21, 22:55:45
Reply #6

BigAl3D

  • Active Users
  • **
  • Posts: 879
    • View Profile
Not sure if this has been mentioned, and I assume it will translate to other 3D apps and not just C4D, but this tutorial from Brograph shows a super simple method for achieving realistic aberration FX.


2018-02-22, 10:50:13
Reply #7

piotrus3333

  • Active Users
  • **
  • Posts: 237
    • View Profile
Why would you want to couple color aberration with distortion? distortion has separate dedicated tools in probably every virtual camera in every package.
flat "lens" with dispersion is enough.
Marcin Piotrowski
youtube

2018-02-22, 11:02:59
Reply #8

romullus

  • Global Moderator
  • Active Users
  • ****
  • Posts: 8833
  • Let's move this topic, shall we?
    • View Profile
    • My Models
Flat lense probably wouldn't give you any abberations, but even if it would do, CA would be evenly large across all the image. Anyway, that method is just an interesting hack and hardly could be considered as practical substitute for post-effect CA. I will wait for proper CA implementation from Corona Team. Somehow i believe, it won't take too long :]
I'm not Corona Team member. Everything i say, is my personal opinion only.
My Models | My Videos | My Pictures

2018-02-22, 11:08:45
Reply #9

piotrus3333

  • Active Users
  • **
  • Posts: 237
    • View Profile
my examples from first post were done with flat lens. some even with single polygon lens (single polygon unfortunately not in corona).
agree on the level of usefulness though.
Marcin Piotrowski
youtube

2018-02-22, 21:00:55
Reply #10

BigAl3D

  • Active Users
  • **
  • Posts: 879
    • View Profile
As far as doing this effect in post, unless you render out a pass for that (depth?), it's not a true 3D effect.

The irony is you want to use good enough lenses when filming to avoid aberrations, but in 3D, we add them in to make it look more like a real-world cheap lens. Same thing with camera movement, bobs, bumps, etc.

Whatever gets the job done.

2018-02-22, 21:35:53
Reply #11

pokoy

  • Active Users
  • **
  • Posts: 1861
    • View Profile
The irony is you want to use good enough lenses when filming to avoid aberrations, but in 3D, we add them in to make it look more like a real-world cheap lens. Same thing with camera movement, bobs, bumps, etc.

How true! The worst thing about CA is that if you give it to a printing shop they'll think their plates are misaligned. If they find out it's intentional they'll probably lose any faith in humanity.

Seriously, CA is mostly way overdone in CG. You won't see it unless you have extreme FOV (or a very bad lens), and a high res image and zoom in at 300% close to the image border. It's really a subtle effect and introducing it at resolutions below 3K is almost always wrong.

2018-02-22, 21:42:51
Reply #12

romullus

  • Global Moderator
  • Active Users
  • ****
  • Posts: 8833
  • Let's move this topic, shall we?
    • View Profile
    • My Models
As far as doing this effect in post, unless you render out a pass for that (depth?), it's not a true 3D effect.
I don't think that CA very dimensional effect in real world too. It happens in a lens and doesn't depend on a scene. As long as you shoot with the same lens with the same settings, all pictures will have the same amount of CA, no matter the subject.
I'm not Corona Team member. Everything i say, is my personal opinion only.
My Models | My Videos | My Pictures

2018-02-22, 22:37:39
Reply #13

burnin

  • Active Users
  • **
  • Posts: 1537
    • View Profile
^ oh so true
because it's glass dependent - the combination of glasses (form & material) in lenses makes it

& why every lens create slightly different aberration
thus even simulations are approximations to some extent

with skill you become an artist ;)
« Last Edit: 2018-02-22, 22:44:19 by burnin »

2018-02-25, 12:23:31
Reply #14

pixel-flow

  • Active Users
  • **
  • Posts: 7
    • View Profile