Author Topic: Bitmap To Object ID  (Read 1210 times)

2019-05-06, 16:02:42

danielhagene

  • Active Users
  • **
  • Posts: 72
    • View Profile
3Ds Max has object ID and Bitmap ID, but no way of using them together.

PROBLEM:
Making 4 boxes that has to have the same material, but not the same color. If a client wants a change in the material and not the color, then I would have to replicate the change for each material.

SOLUTION:
Assigning different object IDs for each box. Then have a multi/sub-object&bitmap-map where you could use (e.g.) coronacolor for each diffuse-color (basically the same function as multi/sub-object, but not for materials).



This is probably something Autodesk should do, or maybe someone even has (?)

2019-05-06, 16:06:41
Reply #1

TomG

  • Administrator
  • Active Users
  • *****
  • Posts: 5468
    • View Profile
The CoronaUserProperty map might be what you need - you can store the color needed as part of the Object Properties in 3ds Max, then apply a material with the CoronaData hooked into whatever slot it affects (say, Diffuse, or color tint for your brick texture). Applying the same material to all objects then lets them be different colors, but just one material. Of course, to adjust the color, you need to edit the Object Properties. Also you need to restart the render if you do change the Object Properties.

https://coronarenderer.freshdesk.com/support/solutions/articles/12000047171-what-is-corona-user-property-map-
Tom Grimes | chaos-corona.com
Product Manager | contact us

2019-05-06, 16:19:34
Reply #2

Frood

  • Active Users
  • **
  • Posts: 1922
    • View Profile
    • Rakete GmbH
It would be probably even easier to just use a CoronaMultiMap set to "Object GBuffer ID" (and different object IDs of course).


Good Luck



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

2019-05-07, 09:53:29
Reply #3

danielhagene

  • Active Users
  • **
  • Posts: 72
    • View Profile
Ya, that's exactly what i was looking for! Thanks man!