Author Topic: Global Bitmap Filtering Switcher and Bitmap Blur Changer  (Read 1879 times)

2017-12-20, 08:53:33

stratos

  • Active Users
  • **
  • Posts: 9
    • View Profile
    • SDZ Design Studio
Hello,

I would like to express the need for a Global Bitmap Filtering Changer in Corona regarding 3dsmax Generic Bitmaps. It would be great, if possible, to have also the ability to change the bitmap blur values, either globally or on pre-selected materials (...through multiple object selection), on both shader types, 3dsmax Generic and Corona Bitmaps. Both converters could be featured on the Corona Scene Converter, as they concern as well the conversion of multiple items.


Best regards,

Stratos Zolotas

2017-12-20, 10:22:28
Reply #1

NicoB

  • Active Users
  • **
  • Posts: 82
    • View Profile
Hej Stratos,

I think this should do the job:

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

I do use this script a lot,
though I dont know if it works with native max materials.

best
Nico

2017-12-21, 03:52:00
Reply #2

Njen

  • Active Users
  • **
  • Posts: 559
    • View Profile
    • Cyan Eyed
I'm not in front of a Corona license at the moment, but this should work globally:

Code: [Select]
coronaBitmapArray = getClassInstances CoronaBitmap
blurAmount = 0.01
for o = 1 to coronaBitmapArray.count do
(
coronaBitmapArray[o].filteringBlur = blurAmount
)

I also have one that works on selected materials/objects, but that bit of code is at home and I am at work right now.

2018-02-21, 13:29:10
Reply #3

stratos

  • Active Users
  • **
  • Posts: 9
    • View Profile
    • SDZ Design Studio
Hey NicoB and Njen,


Many thanks to both of you!

Sorry for my long delay. I never got any notification by your answers!


Best,

Stratos