Community
Arnold General Rendering Forum
abbrechen
Suchergebnisse werden angezeigt für 
Anzeigen  nur  | Stattdessen suchen nach 
Meintest du: 

Access individual channels on an image texture node

2 ANTWORTEN 2
Antworten
Nachricht 1 von 3
AaronWPowell
335 Aufrufe, 2 Antworten

Access individual channels on an image texture node

Is there an easy way to access individual channels in an AiImage node? For example, I'd like to be able to individually grab r, g, b, or a channels to use in other nodes, similar to selecting the "single channel" checkbox in the UI. I have a feeling I'd have to use the AtTexture API to do this but I can't find a good example to pull from. Any tips would be appreciated!

Tags (2)
Beschriftungen (2)
2 ANTWORTEN 2
Nachricht 2 von 3
Anonymous
als Antwort auf: AaronWPowell

You have Start Channel in aiImage Node
0 = default, then you can put (1 or 2 or 3) to extract any channel
another way is to use aiShuffle Node
attrstartchannel.jpgstartchannel1.jpg

Nachricht 3 von 3
AaronWPowell
als Antwort auf: Anonymous

This is pretty straightforward. Thanks! Is something like the AiShuffle node the recommended way to extract channels when using the API directly with C++ or Python?

Sie finden nicht, was Sie suchen? Fragen Sie die Community oder teilen Sie Ihr Wissen mit anderen.

In Foren veröffentlichen  

Autodesk Design & Make Report