THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED
On 23/05/2005 at 09:13, xxxxxxxx wrote:
I still have a problem here. The RayObject pointers of primitives and/or deformed objects in InitRender don´t seem to match the ones during rendering.
Anybody an idea how to retrieve the correct rayobject for a primitive or deformed object for a baselink object?
dorig = (BaseObject* )data->GetObjectLink(INST_MASTER,is->doc); if(!dorig) return LOAD_OK;
orig = NULL;
VolumeData* vd = is->vd;
RayObject* temp = vd->GetObj(i);
/*there are 3 objs in the scene and this condition is never true, which is quite impossible as it´s an object from within this scene. :) */
orig = temp;