by: just_last_knight
Added 5 years ago
Format: Poser Mats
Usage Rights: Unrestricted use
Categories: Materials, Textures
structure »
Portfolio | Gallery | More Poser |Added 5 years ago
Quickly switch between the Head.obz and the plane ( Head.obj ) available at Replacement OBJ
Should now work wherever your content is installed … more »
Format: Poser Mats
Usage Rights: Unrestricted use
Categories: Materials, Textures
log in to rate
Views: 325 Downloaded: 42 |
|
so currently - it looks like this for your setup :
location = os.path.dirname( poser.AppLocation() )
location = os.path.join( location, "runtime", "geometries", "MatRoomPreview" )
if os.path.exists( location ):
swapheads( location, ext, obj )
import os, poser
previewRuntimePath = "Runtime/Geometries/MatRoomPreview"
oldHeadPath = os.path.join(os.path.dirname(poser.AppLocation()), os.path.normpath(previewRuntimePath), "head.obz")
if os.path.exists(oldHeadPath): print more …