Page 1 of 1

Help with model

Posted: October 30th, 2012, 3:20 pm
by jayson3080
okay, i made a model in stekchup and textured it. I finally got the model to show up but the texture is not showing on the model anyone help figure out what im doing wrong. also the scale is way to huge, what number would be use for a normal size bridge.

here is my Cfg

objload bridge.obj

objskin stone.jpg"
objskin _Gold_.jpg"
objskin Material1.jpg"
objskins Metal Rought.jpg"
objskins _Charcoal_1.jpg"
objskin Asphalt_New.jpg"
objskin Meterial2.jpg"
objskin rock.jpg"

setshader bumpparallaxworld

mdlspec 100
mdlscale 200

Re: Help with model

Posted: October 30th, 2012, 3:53 pm
by kddekadenz
I think it has to be

Code: Select all

objskin <material-/meshname> <texture>
Note: don't write the <>, that's just too visualize that it needs to be changed.

Re: Help with model

Posted: October 30th, 2012, 11:03 pm
by jayson3080
like this

objskin material-/stone.jpg texture
objskin material-/_Gold_.jpg texture
objskin material-/Material1.jpg texture
objskin material-/Metal Rought.jpg texture
objskin material-/_Charcoal_1.jpg texture
objskin material-/Asphalt_New.jpg texture
objskin material-/Meterial2.jpg texture
objskin material-/rock.jpg texture

if so still no texture

Re: Help with model

Posted: October 31st, 2012, 7:32 am
by kddekadenz
jayson3080 wrote:like this

objskin material-/stone.jpg texture
objskin material-/_Gold_.jpg texture
objskin material-/Material1.jpg texture
objskin material-/Metal Rought.jpg texture
objskin material-/_Charcoal_1.jpg texture
objskin material-/Asphalt_New.jpg texture
objskin material-/Meterial2.jpg texture
objskin material-/rock.jpg texture

if so still no texture
NO :o

objskin thenameofyourmaterial stone.jpg

e.g. if the name of the material/mesh is stone, it has to be:

Code: Select all

objskin stone stone.jpg
I'm not sure where to find the name of a mesh/material in sketchup, but there should be somewhere the name.
Hm, watched a video about sketchup - I guess the material name is the one shown if you hover over the materials you used in this model.

Re: Help with model

Posted: October 31st, 2012, 8:17 pm
by chocolatepie33
you can also use * if you can't find a name of the mesh, as found in this line of code from an RE model cfg:

Code: Select all

md5skin * <dds>../skin.png <dds>../glow.png 0.9 0.6
ignore the dds stuff, put simply you'd have

Code: Select all

objskin * ./skin.jpg