…and checking the render dispatcher code, yes you must have your element enabled to get the bitmap created!! And this is done by the render executor, …
Remember that there are a ton of samples in the SDK directory, and many of the “samples” aren’t actually samples – it’s the actual code being run in m…
In principle yes, but unfortunately, max tries to be smart and compact the channel data. To know which channel goes where, you would need to look up …
Do you have a code sample? /Z
Where are you gettings state->tex value from? You are adding to it – does it have a meaninful value going in? I’d do something like vectorAdd(&am…
In both cases, the max guys decided to implement these as subshaders, passed as shader parameters. Basically, you call these with mi_call_shader_x fro…
You are not allocating storage for the value. You do miColor *c0; mi_lookup_color_texture(c0, …); This will crash because c0 is a pointer, not poin…