XP Two
-
Bringing models into Performer/XP
-
From SoftImage - Dave Pape wrote a script to convert models from hrc to
pfb
-
Why - because of problems bringing texture maps with models
-
Where is it? ~pape/bin/ProcessHrc2
-
What does it do?
-
strips off the path to the texture which is in softimage's hrc format
which makes it hard to move the files around
-
converts the texture maps into sgi format - from pics to sgi/rgb files
-
makes the texture map a "power of 2", because performer requires this
-
hrc loader converts file to pfb
-
also rotates the model 90 degrees in x (cos of diff coord systems)
-
Usage: ProcessHrc2 infile.hrc outfile.pfb
-
How to easily check that its arrived correctly - perfly
-
Additional Step for models with transparency
-
this turns on a flag in performer to show transparency - transparency itself
depends on alpha channel in your colors or texture map
-
makeTransp infile outfile
-
path to this utility ~pape/cave/apps/xp/util/
-
infile can be any format outfile is .pfb
-
Useful Dave Pape/Performer Tools -
-
pfconv - /usr/sbin
-
perfly - /usr/sbin
-
pftransform - ~pape/bin
-
pfbounds - ~pape/bin
-
Environment variables - need to set these to find Dave's hrc loader
-
setenv PFLD_LIBRARY_PATH ~pape/lib
-
setenv PFLD_LIBRARYN32_PATH ~pape/lib32
-
Useful Environment variable
-
setenv PFPATH - sets path to your models etc