Author Topic: Edge/Corner Map (like Rounded Corners but as a map)  (Read 13557 times)

2015-01-20, 17:38:19

pokoy

  • Active Users
  • **
  • Posts: 1983
    • View Profile
Would it be possible to have the same underlying algorithm that is used for the Rounded Corners effect in CoronaMtl as a map that produces a b/w gradient with user defined width and weighting? Similar to AO it could have a map slot to either perturb or modify its output (for example width). That would be great!

2015-01-20, 18:22:44
Reply #1

maru

  • Corona Team
  • Active Users
  • ****
  • Posts: 13642
  • Marcin
    • View Profile
AO in inverted mode?
Marcin Miodek | chaos-corona.com
3D Support Team Lead - Corona | contact us

2015-01-20, 19:17:49
Reply #2

pokoy

  • Active Users
  • **
  • Posts: 1983
    • View Profile
Not exactly. AO can produce something similar but what I'm talking about should not be based on occlusion but on distance from edge (so it would also work on flat geometry).

Condition to paint a gradient would be:
- open edge
- edge is adjacent to 2 different smoothing groups.

It could be basically an extension to the CoronaWire Map but with a checkbox to work only on or a combination of:
- selected edges
- smoothing groups boundaries (ie where smoothing group 1 and 2 meet)
- only open edge

and a gradient that extends to a user defined distance like 2 cm, not a solid color.

CoronaWire does something similar when 'All edges' is inactive but it's solic color only.
Something like this is great to produce worn edges, and would work without any occlusion.

I realize a similar thing is available but it's not inverted AO (and it's not a resolved feature request...)

2015-04-10, 10:41:58
Reply #3

pokoy

  • Active Users
  • **
  • Posts: 1983
    • View Profile
Just to follow up on this since it's been misunderstood. This map plugin is what I had in mind, only it paints map/color contribution based on concave/convex calculations:

http://boomerlabs.com/cart/product.php?productid=23&cat=9&page=1

This should show that it's not inverted AO, in fact it's something completely different, and you can achieve things where inverted AO will fail. My initial request was to paint a color/map/gradient where 2 smoothing groups meet, which again is different from this.
Any chance something like this will be natively available in Corona? It's way more versatile than AO (inverted or not) and probably faster to calculate than AO.

2015-04-10, 10:48:06
Reply #4

pokoy

  • Active Users
  • **
  • Posts: 1983
    • View Profile
On another note, why was this request moved to 'resolved feature requests' when it was clearly not resolved, and not even properly understood by the moderator?
Am I supposed to recrerate the thread in the feature request section again? You'll probably move it again, so why don't you just leave the thread where it's supposed to be?

2015-04-10, 11:33:11
Reply #5

romullus

  • Global Moderator
  • Active Users
  • ****
  • Posts: 9251
  • Let's move this topic, shall we?
    • View Profile
    • My Models
Topics in feature requests and bug reporting sections are moved by Ondra himself. There must have been a firm reason to do so. Maybe this request was duplicated? Now, that you bumped this topic, let's wait for his response for a while. If not, than we can try to gently poke him to this question.

p.s. i was really excited when i saw that curvature map. It's a real boomer that it doesn't work in Corona, though.
I'm not Corona Team member. Everything i say, is my personal opinion only.
My Models | My Videos | My Pictures

2015-04-10, 11:46:08
Reply #6

pokoy

  • Active Users
  • **
  • Posts: 1983
    • View Profile
It's a real boomer that it doesn't work in Corona, though.

Whaaat? I'm on holidays now and the first thing I wanted to do when back in the office in Monday was to test it since it does exactly what I'm looking for and there's nothing comparable in Corona yet... Man, that's really disappointing, thanks for the info though. Do you know if it's not possible technically or if Boomerlabs just didn't care to make it work in Corona? I bet a curvature map shouldn't be too hard for a code wizard llike Ondra is, so I still hope to see this as a native Corona map.

On the requests/resolved requests thing - thanks for clarifying. I was under the impression it was moved by a moderator, even before I had the chance to explain what a map like this would do. A short note like 'not possible, rejected' would be useful to let people know they don't need to bother.

2015-04-10, 15:42:25
Reply #7

romullus

  • Global Moderator
  • Active Users
  • ****
  • Posts: 9251
  • Let's move this topic, shall we?
    • View Profile
    • My Models
. Do you know if it's not possible technically or if Boomerlabs just didn't care to make it work in Corona?
Don't know. I installed geomaps demo and tried it with different renderers. Scanline renders curvature map just fine, Corona gives incorrect results and Mental Ray sees it as incompatible. Tension map OTOH just crashes max without warning. It's areal pitty, i was looking for similar maps for a long time. I may write to boomerlabs support, let's see what they have to tell.
I'm not Corona Team member. Everything i say, is my personal opinion only.
My Models | My Videos | My Pictures

2015-04-10, 15:50:06
Reply #8

pokoy

  • Active Users
  • **
  • Posts: 1983
    • View Profile
Wrote them already, will let you know their response. Hope they consider making it work.

2015-04-10, 16:37:49
Reply #9

pokoy

  • Active Users
  • **
  • Posts: 1983
    • View Profile
Got a reply already. Boomerlabs seems to be working on it, news with updates to follow soon. Hopefully they can get it to work, that would be fantastic!

2015-04-11, 16:40:21
Reply #10

Ondra

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

2015-04-11, 19:50:31
Reply #11

pokoy

  • Active Users
  • **
  • Posts: 1983
    • View Profile
Thanks Ondra, this sounds great!

2015-04-13, 17:45:43
Reply #12

pokoy

  • Active Users
  • **
  • Posts: 1983
    • View Profile
Got mail that they added support for Corona - dl'ing the demo now!

2015-04-13, 21:43:12
Reply #13

Juraj

  • Active Users
  • **
  • Posts: 4815
    • View Profile
    • studio website
Got mail that they added support for Corona - dl'ing the demo now!

Make a write up please :- ) Super interested myself
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-04-13, 22:05:36
Reply #14

romullus

  • Global Moderator
  • Active Users
  • ****
  • Posts: 9251
  • Let's move this topic, shall we?
    • View Profile
    • My Models
Unfortunatelly you can't do pretty much anything with demo, it's extremelly limited. Although i found a way to sort a "hack" it via color correction map, but didn't have time to play with it much. But it sure looks worth attention.
I'm not Corona Team member. Everything i say, is my personal opinion only.
My Models | My Videos | My Pictures