Adding other channels to RenderWindow


#1

Trying to get the Render window working as well. Are the channels of the different values of RenderWindow.StandardChannels assumed to be in float, or is it implicit to each whether they are float or int (specifically, I assume at least the ids are in int)?


RealtimeDisplayModeClassInfo breaking change
(Nathan 'jesterKing' Letwory) #2

@CarstenW, it seems that adding material and object id channels is currently not yet implemented in RhinoCommon: https://mcneel.myjetbrains.com/youtrack/issue/RH-38314


#3

Does this mean that all currently supported channels are arrays/structs of float?


(Nathan 'jesterKing' Letwory) #4

Yes, so RGBA a float channel where pixel size is 4xfloat (so float[] array essentially, with stride four), the others are float channels where pixel size is 1xfloat.

Note btw that I updated the bug report to add three more channels that aren’t supported yet.