Author Topic: CoronaNormal flip defaults according to 3dsmax preferences  (Read 5027 times)

2017-05-05, 21:54:41

Bzuco

  • Active Users
  • **
  • Posts: 118
    • View Profile
    • personal web page


Corona 1.5, 1.6. I didn't test this on older releases, maybe this issue is here from the beginning.
« Last Edit: 2017-05-15, 12:54:50 by Ondra »

2017-05-05, 22:35:37
Reply #1

romullus

  • Global Moderator
  • Active Users
  • ****
  • Posts: 9299
  • Let's move this topic, shall we?
    • View Profile
    • My Models
Yes, Corona reads normal maps like that from the beginning, and no, it's not a bug. 3ds Max expects normal maps to be -Y and Corona for 3ds Max, complies with that.
I'm not Corona Team member. Everything i say, is my personal opinion only.
My Models | My Videos | My Pictures

2017-05-05, 23:25:41
Reply #2

Bzuco

  • Active Users
  • **
  • Posts: 118
    • View Profile
    • personal web page
Could be the Y inverted as default...so we dont need set that value everytime I load some normal map? :)

2017-05-05, 23:41:48
Reply #3

romullus

  • Global Moderator
  • Active Users
  • ****
  • Posts: 9299
  • Let's move this topic, shall we?
    • View Profile
    • My Models
It was inverted already for a brief time, but then returned to what it is now and i hope that it will stay that way. I work with 3ds max only, so i always take care that all my normal maps are in DirectX (-Y) format. If Corona would decide to go against its host app's standarts, then i would have to flip green channel everytime...
I'm not Corona Team member. Everything i say, is my personal opinion only.
My Models | My Videos | My Pictures

2017-05-08, 21:29:00
Reply #4

Ondra

  • Administrator
  • Active Users
  • *****
  • Posts: 9048
  • Turning coffee to features since 2009
    • View Profile
what if corona took the defaults from the 3dsmax global normal map settings? Would that be OK?
Rendering is magic.How to get minidumps for crashed/frozen 3ds Max | Sorry for short replies, brief responses = more time to develop Corona ;)

2017-05-08, 21:33:44
Reply #5

romullus

  • Global Moderator
  • Active Users
  • ****
  • Posts: 9299
  • Let's move this topic, shall we?
    • View Profile
    • My Models
Actually that might be good idea - that way both sides should be happy :]
I'm not Corona Team member. Everything i say, is my personal opinion only.
My Models | My Videos | My Pictures

2017-05-09, 08:36:12
Reply #6

Bzuco

  • Active Users
  • **
  • Posts: 118
    • View Profile
    • personal web page
Set default state to checked for Flip green checkbox component would be enough and maybe small text hint with info about 3dsmax is working with -Y as designed.

2017-05-09, 14:03:04
Reply #7

Juraj

  • Active Users
  • **
  • Posts: 4816
    • View Profile
    • studio website
Half of my normals maps are from Quixel which require Y-flip, and other from Allegorithmic Source, which don't.  (yes, each app let's me do different export, but then I would forget which individual map is which so I adhere to global setting)

Damn standards :- ( Would be cool if there was automatic detection possible just like with gamma. But maybe that depends too much on visual perception to be easily coded.
Please follow my new Instagram for latest projects, tips&tricks, short video tutorials and free models
Behance  Probably best updated portfolio of my work
lysfaere.com Please check the new stuff!

2017-05-09, 20:43:24
Reply #8

Ondra

  • Administrator
  • Active Users
  • *****
  • Posts: 9048
  • Turning coffee to features since 2009
    • View Profile
Set default state to checked for Flip green checkbox component would be enough and maybe small text hint with info about 3dsmax is working with -Y as designed.
then the other half of users would get pissed :/
Rendering is magic.How to get minidumps for crashed/frozen 3ds Max | Sorry for short replies, brief responses = more time to develop Corona ;)

2017-05-10, 09:44:56
Reply #9

Bzuco

  • Active Users
  • **
  • Posts: 118
    • View Profile
    • personal web page
then the other half of users would get pissed :/
..so there are only few options:
1. let's voting :D
2. some corona.ini file with user settings
3. maxscript
Code: [Select]
n = CoronaNormal()
n.flipGreen = n.addGamma = on
meditMaterials[medit.GetActiveMtlSlot()].texmapBump = n