nestumkiller Posted November 14, 2008 Share Posted November 14, 2008 Hi guys! I'm trying to pass some params from my SHOP that provides the GUI to my procedural but I'm getting the following error: mantra: unknown parameter 'geo_name' mantra: unknown parameter 'width' My procedural looks like this: static VRAY_ProceduralArg pargs[] = { VRAY_ProceduralArg("geo_name", "string", ""), VRAY_ProceduralArg("width", "real", ""), VRAY_ProceduralArg() }; VRAY_Procedural * allocProcedural(const char *) { return new VRAY_MyProc(); } const VRAY_ProceduralArg * getProceduralArgs(const char *) { return pargs; } and I created a new Operator Type of SHOP Type where the shader name is MyProc and the render mask is VMantra. I've also added the two parameters with the same name to the SHOP. Any clues of what might be happening? Hope I didn't miss any detail. Cheers Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.