Author Topic: CGeometry_WorldPosition pass corruption  (Read 3203 times)

2016-05-30, 19:32:04

JCdeBlok

  • Active Users
  • **
  • Posts: 85
  • Jonathan de Blok
    • View Profile
Is it me or is the CGeometry_WorldPosition pass a bit whack in v1.4? 

Looks fine in the vfb when I sample the points with right mouse button the values seem correct.. but when saved (tried both as exr channel and as separate file) it goes bad.

When used in post (both Nuke and AE) then data is clipped for negative values and has a weird curve applied to it (maybe some gamma function is accidentally applied to it?  )

2016-05-30, 20:04:57
Reply #1

Ondra

  • Administrator
  • Active Users
  • *****
  • Posts: 9048
  • Turning coffee to features since 2009
    • View Profile
we did not do any changes for 1.4 so we dont break it. Can you be more specific, and maybe post a simple example? We will "fix" the gamma mapping for 1.5 release (it will be in the first 1.5 daily build already) - it will be correct in EXR, but incorrect in LDR formats.
Rendering is magic.How to get minidumps for crashed/frozen 3ds Max | Sorry for short replies, brief responses = more time to develop Corona ;)

2016-05-30, 21:27:39
Reply #2

JCdeBlok

  • Active Users
  • **
  • Posts: 85
  • Jonathan de Blok
    • View Profile
See repo case attached.  (I'm not sure it worked in 1.3, first time I have to use it)

The included EXR is the rendered output from the included max scene.

The screen shot is from After Effects showing only the red channel (x coord) of the pass. I have to dial in pretty big numbers for black/white-point before anything shows up, the 'hard' black/white boundaries are some sort of clipping.. the don't move when changing values.   And the gradient looks like there is some sort of curve applied..

A CTextmap with a 'world coords' datamap gives the same result.

Nuke shows the same problem so it's not an AE issue.

using up to date  max 2016
« Last Edit: 2016-05-30, 22:12:54 by JCdeBlok »

2016-05-30, 21:41:12
Reply #3

JCdeBlok

  • Active Users
  • **
  • Posts: 85
  • Jonathan de Blok
    • View Profile
And I see the velocity pass has the same sort of problem, negatives are clipped.

When I give the velocity element an offset of +100 and set the black/white points to  95..105 it looks fine, with offset set to 0 the negative values are clipped.

2016-06-07, 10:40:31
Reply #4

romullus

  • Global Moderator
  • Active Users
  • ****
  • Posts: 8850
  • Let's move this topic, shall we?
    • View Profile
    • My Models
Reported on mantis, moving to resolved.
I'm not Corona Team member. Everything i say, is my personal opinion only.
My Models | My Videos | My Pictures

2016-06-07, 17:29:44
Reply #5

Ondra

  • Administrator
  • Active Users
  • *****
  • Posts: 9048
  • Turning coffee to features since 2009
    • View Profile
Seems fixed in 1.5 daily builds, give it a try!
Rendering is magic.How to get minidumps for crashed/frozen 3ds Max | Sorry for short replies, brief responses = more time to develop Corona ;)

2016-06-09, 16:41:51
Reply #6

JCdeBlok

  • Active Users
  • **
  • Posts: 85
  • Jonathan de Blok
    • View Profile
Yep, all good again!  I'll get you a beer at the EUE :)

Thx :)