Hi every one
i have a model 3ds file . it has a 0~7 part's.
eg. obj_0.res ~obj_7.res
cause i coded like this.
Object3D model = Loader.loadSerializedObject(res.openRawResource(R.raw.obj_0));
for(int i = R.raw.obj_0; i < R.raw.obj_7; i++){
if(i == R.raw.obj_0)continue;
Object3D _tmp = Loader.loadSerializedObject(res.openRawResource(i));
_tmp.strip();
_tmp.setVisibility(Object3D.OBJ_VISIBLE);
_tmp.setAdditionalColor(RGBColor.RED);
model.addChild(_tmp);
}
but dosen't seeing whole object.
just seeing "obj_0" first loaded "model" variable.
Question is 3dObject has Multiple part's. how can load it?
Just anybody little hint for me ?
i have a model 3ds file . it has a 0~7 part's.
eg. obj_0.res ~obj_7.res
cause i coded like this.
Object3D model = Loader.loadSerializedObject(res.openRawResource(R.raw.obj_0));
for(int i = R.raw.obj_0; i < R.raw.obj_7; i++){
if(i == R.raw.obj_0)continue;
Object3D _tmp = Loader.loadSerializedObject(res.openRawResource(i));
_tmp.strip();
_tmp.setVisibility(Object3D.OBJ_VISIBLE);
_tmp.setAdditionalColor(RGBColor.RED);
model.addChild(_tmp);
}
but dosen't seeing whole object.
just seeing "obj_0" first loaded "model" variable.
Question is 3dObject has Multiple part's. how can load it?
Just anybody little hint for me ?