Author Topic: CoronaMultiMap additional color randomization  (Read 5096 times)

2015-03-08, 11:19:55

romullus

  • Global Moderator
  • Active Users
  • ****
  • Posts: 8831
  • Let's move this topic, shall we?
    • View Profile
    • My Models
Corona MultiMap needs some advanced texmap variation controls. Ability to randomize HSV like in MultiTexture map, would be awesome.
« Last Edit: 2015-10-19, 23:20:04 by Ondra »
I'm not Corona Team member. Everything i say, is my personal opinion only.
My Models | My Videos | My Pictures

2015-03-08, 19:58:37
Reply #1

Ludvik Koutny

  • VIP
  • Active Users
  • ***
  • Posts: 2557
  • Just another user
    • View Profile
    • My Portfolio
I don't think there is any need to make monster out of multimap. It should be kept simple as the rest of corona, and instead it should be fixed to work correctly.

Right now, blending is done per channel, which is wrong. Once it's fixed and blending is done in HSV space, then you will be able to randomize hue this way:

- Set item count to 3
- Make item colors R, G and B
- set mode to Instance
- then if you render, you will get entire hue gradient.
- then you will plug your (for example leaf) texture into CoronaMix as bottom map
- plug the CoronaMultiMap as a top map, and set mix operations to Overlay
- Then you can simply use mix amount to define how much the hue randomized MultiMap influences color variation

But as i said, it has to be bugfixed first.

Other things you can do already now, for example randomize saturation:

- create MultiMap and set item count to 2
- in first slot, plug your texture
- create Max's native Mix map, and plug your texture as mix amount. This will convert your texture to grayscale
- Plug this Mix map into second slot
- Now change mix amount. This will randomize saturation across instances.

To randomize value:

- create MultiMap and set item count to 2
- make one item color white, and one black
- plug your texture into CoronaMix map as bottom map
- plug the MultiMap as a top map, and set MultiMap's mix amount to 50%
- In CoronaMix, set Mix operation to overlay, and use Mix amount to define how strong the value (brightness) randomization will be



2015-03-08, 20:42:28
Reply #2

romullus

  • Global Moderator
  • Active Users
  • ****
  • Posts: 8831
  • Let's move this topic, shall we?
    • View Profile
    • My Models
Oh yeah, that's really more viable solution than three simple spinners in multimap... not. I'm affraid imagine how my slate editor would look if i'd need randomize ten maps with your method.
I'm not Corona Team member. Everything i say, is my personal opinion only.
My Models | My Videos | My Pictures

2015-03-08, 20:48:16
Reply #3

Ludvik Koutny

  • VIP
  • Active Users
  • ***
  • Posts: 2557
  • Just another user
    • View Profile
    • My Portfolio
Oh yeah, that's really more viable solution than three simple spinners in multimap... not. I'm affraid imagine how my slate editor would look if i'd need randomize ten maps with your method.

I actually tried it and it was just a few nodes. The problem here is that those HSV randomizations would be quite unpredictable if you had say two or more differently colored textures that are already being mixed together. It would be really hard to control the effect precisely.

2015-03-08, 22:12:04
Reply #4

Juraj

  • Active Users
  • **
  • Posts: 4759
    • View Profile
    • studio website
So basically, the current map might as well stay useless forever. What would even be the appeal of using it compared to already quite powerful and still extremely easy to use MultiTexture plugin if you would have to build up semi-complex network each time you wanted to do some randomization.
Multitexture plug lets you do all of that at same time with 3 clicks. It's no contender (for 3dsMax users).
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!

2015-03-31, 12:31:51
Reply #5

johan belmans

  • Primary Certified Instructor
  • Active Users
  • ***
  • Posts: 761
    • View Profile
    • belly.be
Hi,
would it be possible to enlarge the item count to a value higher then 15?
That would be great.

2016-04-24, 19:12:42
Reply #6

Ondra

  • Administrator
  • Active Users
  • *****
  • Posts: 9048
  • Turning coffee to features since 2009
    • View Profile
added hue randomization
Rendering is magic.How to get minidumps for crashed/frozen 3ds Max | Sorry for short replies, brief responses = more time to develop Corona ;)

2019-09-18, 11:45:32
Reply #7

zules

  • Active Users
  • **
  • Posts: 125
    • View Profile
    • IMAGINEER
Added Saturation randomization ? So basic, so usefull, so... missing.
Jules GAILLARD

www.imagineer.fr