hoknamahn Posted June 22, 2008 Share Posted June 22, 2008 (edited) Hello guys, I'm confused by IMG3D evaluator function. Could you explain how such evaluator should work? I see two definitions: 00041 typedef void (*IMG3D_TextureEval)(int nvalues, 00042 const UT_Vector3 *pos, 00043 fpreal32 *result[], 00044 const char *names[], 00045 int sizes[], 00046 int for_aa); and 00048 typedef void (*IMG3D_Manager_Eval)(int nvalues, 00049 const fpreal32 *pos, 00050 fpreal32 *result[], 00051 const char *names[], 00052 int sizes[], 00053 int for_aa); 1. What for we have two different types of evaluators? 2. nvalues = xres * yres * zres? 3. Do we pass pos into evaluator as position in current step? 4. Why do we need to pass nvalues? 5. Still not sure what has to have result array... it's type is array of pointers on fpreal32. But our channels can be any type? 6. What cons and pros of using of such evaluator and fillUntiledTexture()? Is it only difference between creation of tiled / untiled texture? Edited June 22, 2008 by hoknamahn 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.