Chaos Corona Forum

Chaos Corona for 3ds Max => [Max] I need help! => Topic started by: aaouviz on 2021-04-08, 12:35:45

Title: Rotate a texture/Bitmap?
Post by: aaouviz on 2021-04-08, 12:35:45
I'm wondering if I can somehow rotate a bitmap texture in a node other than the Bitmap node?

The reason I want to do this is that I set-up multiple HDRI's textures and plug them into a CoronaSelect to quickly browse through many scene lighting variations... but if I want to rotate the HDRi I must go back into the bitmap node and edit it there.

But it would be easier if my CoronaSelect (see attachment) could plug into another node where I can control the rotation... is this understandable? Is this somehow possible?
Title: Re: Rotate a texture/Bitmap?
Post by: romullus on 2021-04-08, 14:53:09
Controllers are your friends ;]
Title: Re: Rotate a texture/Bitmap?
Post by: aaouviz on 2021-04-08, 15:34:35
Excellent - I knew there was something I was missing.

Cheers mate. Helpful as always!
Title: Re: Rotate a texture/Bitmap?
Post by: aaouviz on 2021-04-08, 15:43:18
Ok, so pardon my ignorance. Am I correct in assuming that "controllers are my friend" if I plug one into each bitmap node?

Or can I do this somehow simpler by plugging my CoronaSelect into a new node? (see attachment)

Thanks!
Title: Re: Rotate a texture/Bitmap?
Post by: hurrycat on 2021-04-08, 16:00:13
AFAIK the only way is to plug a Linear Float Controller to the W Angle Slot of the CoronaBitmap (right click on the bitmap -> show all additional params -> click on the plus sign on coordinates).
Then you would have to plug the same controller to every bitmap that you have already loaded.

But i would also be interested in being able to batch edit bitmaps, say edit several bitmaps using one ColorCorrection map, maybe using the same way Grasshopper (Rhino's plugin) handles trees.
Title: Re: Rotate a texture/Bitmap?
Post by: romullus on 2021-04-08, 16:45:20
@aaouviz, you can instanciate controller, so that one controller would change parameters of several nodes. You just need to plug controller into one bitmap node, then SHIFT drag that node alone and it will share controller with its clone. Unfortunatelly, if you already has node tree setup like in your screenshot, then the only way to controll them all, is either plug the same controller into each node, or to rebuild the node tree from scratch.

@hurrycat, Corona color correct node already has that feature built in. Look for option "use settings from map". With it you can set-up Color correct nodes tree, where one master CC node would control several slave CC nodes. So far only Corona CC has this feature, but devs said that eventually it may be implemented into other Corona texmaps.
Title: Re: Rotate a texture/Bitmap?
Post by: GeorgeK on 2021-04-09, 23:41:13
AFAIK the only way is to plug a Linear Float Controller to the W Angle Slot of the CoronaBitmap (right click on the bitmap -> show all additional params -> click on the plus sign on coordinates).
Then you would have to plug the same controller to every bitmap that you have already loaded.

But i would also be interested in being able to batch edit bitmaps, say edit several bitmaps using one ColorCorrection map, maybe using the same way Grasshopper (Rhino's plugin) handles trees.

There is a current suggestion for making this easier for multiple texmaps, it should make node editing and setups significantly more compact.

(Internal id=519549099)
Title: Re: Rotate a texture/Bitmap?
Post by: cjwidd on 2021-04-10, 04:24:49
controllers +1, save in mat library