Author Topic: CMasking_WireColor and Forest Pack  (Read 5556 times)

2019-01-23, 16:18:19

Tanner

  • Active Users
  • **
  • Posts: 64
    • View Profile
Has anyone else had an issue where - regardless of the Forest Objects' wire colour - when I save a "CMasking_WireColor", the forest pack objects are all various shades of yellow.  I can create separate black/white or RGB masks for certain things but I use Forest Pack for a lot in a scene, including trees, grass, shrubs, cars/buses, street furniture, and lighting.  I wish that if I set a forest object's wire colour to pink it would show up pink in the element, or respect the sub-object wire colours you can dictate in the plugin.

Is this a Forest Pack issue or Corona? And is there a workaround aside from creating separate CMasking_Mask for each group of objects?

2019-01-23, 16:45:39
Reply #1

Frood

  • Active Users
  • **
  • Posts: 1932
    • View Profile
    • Rakete GmbH
Afaik what you see are the shades defined in the "Material" rollout. If you don't use it, you could set your color to some solid one by having the same color left and right (no gradient). Or use "Get color from Map" option and assign a CoronaColor. But something has to happen with Corona and ForestPack/subobject handling for sure.


Good Luck



Never underestimate the power of a well placed level one spell.

2019-01-23, 17:13:10
Reply #2

Tanner

  • Active Users
  • **
  • Posts: 64
    • View Profile
I never thought to look at the material rollout.  I quickly made changes to the three objects and it seems to have worked.

However, it would still be nice for the mask to respect the whole object or sub-object wire colour(s).

2019-01-23, 17:18:45
Reply #3

Frood

  • Active Users
  • **
  • Posts: 1932
    • View Profile
    • Rakete GmbH
However, it would still be nice for the mask to respect the whole object or sub-object

Yipp, we have this discussion for years now. See

https://forum.corona-renderer.com/index.php?topic=15201.0

for the very basic one.


Good Luck



Never underestimate the power of a well placed level one spell.

2019-01-23, 18:39:04
Reply #4

James Vella

  • Active Users
  • **
  • Posts: 557
    • View Profile
I would like this too. My workaround for now is as you mentioned set the color from gradient (make them both the same), in this case yellow, then set the cmasking_id to "geometry group id" - this way each item has a separate color to select (all the spheres are purple, teapots yellow, boxes light blue). You still have to create two masks in PS one to select the wire for that forest, then another to select the sphere for example.

Its not perfect though, in case you end up with two forests overlapping that share a similar color etc. You dont get to pick those colors either which is not so fun. It also tends to change those colors group colours when it wants to
« Last Edit: 2019-01-23, 18:51:15 by James Vella »

2019-01-24, 09:47:39
Reply #5

James Vella

  • Active Users
  • **
  • Posts: 557
    • View Profile
There is a better way then what I suggested above on the forest forums however still requires the Mask RGB setup - but atleast it doesnt over ride the material tinting.

https://forum.itoosoft.com/forest-pro-(*)/forest-wire-and-masks-question/


2019-01-24, 10:40:30
Reply #6

Frood

  • Active Users
  • **
  • Posts: 1932
    • View Profile
    • Rakete GmbH
Thanks for those additions James. Changing material IDs or misusing color slots is a no go in complex scenes even when it's a valid workaround currently - assumed you don't need any of the features/slots for the purpose they were made for.

It still should work straight forward without any of those changes inside FP objects - apart from object IDs or wire color (where FP may act weird from a renderers point of view, dunno): Create (object based) mask element -> kick in FP object, done. I think that's what most people need.


Good Luck



Never underestimate the power of a well placed level one spell.

2019-01-24, 11:23:03
Reply #7

James Vella

  • Active Users
  • **
  • Posts: 557
    • View Profile
Agreed Frood, I dont really enjoy setting up Mask RGBs for more than a handful of objects myself, once you have cars, trees, seats, people etc it gets too taxing on RAM and my personal time + checking the masks in post. I have put up the request on the Forestpro forums.

edited*
« Last Edit: 2019-01-24, 11:36:10 by James Vella »


2019-01-24, 19:37:36
Reply #9

James Vella

  • Active Users
  • **
  • Posts: 557
    • View Profile
Cheers for the links Frood. Looks like this is up to the Corona developers.


2019-01-24, 20:09:57
Reply #10

Frood

  • Active Users
  • **
  • Posts: 1932
    • View Profile
    • Rakete GmbH
Yes, I remember Ondra claiming it is doable, but "either or". I don't know why we could not have both, selecting base objects or selecting the FP object to create a mask. There is still no "official" feature request for this and it may be not as easy to implement as I hope it is :)


Good Luck



Never underestimate the power of a well placed level one spell.

2019-03-13, 17:37:34
Reply #11

arqrenderz

  • Active Users
  • **
  • Posts: 1002
  • https://www.behance.net/Arqrenderz1
    • View Profile
    • arqrenderz