I used the segmentation for making the brain and tumor…later after exporting as an object file with merging both the segments as a single file,I opened this obj file in 3d viewer…but the output doesn’t has the brains opacity…
OBJ is an export format for segmentation (for exchanging data with other software), not a saving format (for saving data to be reloaded later).
If you want to save the segmentation to disk without losing any information then save it as a .seg.nrrd (if labelmap is the master representation) or .seg.vtm (if closed surface is the master representation).
Slicer’s OBJ reader only reads the .obj file (mesh geometry and material IDs) and not the .mat file (that contains the colors and opacities).