i ran into problems with my first shader. the following peace of code causes my maya to crash when rendering:
mi_query(miQ_DECL_VERSION, state, 0, &version); where version is a integervariable.
that line of code causes the same problem:
mi_point_to_object(state, &vec, &state->point); where vec is a miVector variable
I assume that the problem is the pointers given to the functions, but why? I hope you can help me, i'm desperatly trying to find the reason since hours.