I can find each primitive attribute, and get the Surface (/obj/model/shopnet1/v_layered1), but how and where will I get the actual file-adress to the texture file that is being used, and ambient, specular and Diffuse colors?
I looked around in the little documentation that exists, and looked in the ‘TIL_TextureCache’ and ‘TIL_TextureMap’, but they are all empty.
So can I get to the information that ‘shop_vm_surface’ and ‘ogl_shop’ attributes are storing from the HDK?
I am using a standalone *.exe file when working with the HDK
Thanks.
Looking inside a *.hip file, I come across this:
obj/model/shopnet1/v_layered1.parm{
version 0.8
op_folder_tabs ( 0 0 )
std_switcher_0 ( 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 )
Ca ( 1 1 1 )
Cd ( 1 1 1 )
Cs ( 1 1 1 )
Cr ( 0 0 0 )
Ct ( 1 1 1 )
Alpha ( 1 )
apara ( 1 )
aperp ( 1 )
aroll ( 1 )
rough ( 0.05 )
lmodel ( phong )
tintedambient ( “on” )
dofresnel ( “on” )
fresnel_eta ( 1.3 )
refl_bias ( 0.01 )
map_base ( J
Fieldstone.tga )apply_base ( d )
I dont know if this mean it would be stored somehow in some ‘parm’ or so?
Looking at the long list, it seems to be same information as you would find in “Parms” in the shader network. But I dont really know…
