Page 1 of 1

Creating an Object

Posted: July 12th, 2010, 3:18 pm
by CCC
Hi,

I looked at the tutorial on creating an object in Blender and importing it into Sandbox and managed to get it working with a basic cube, but I'm having trouble with something different.

I have a model in blender that looks like this:

Image

ANd I have exported it as "tris.md3" to: ../packages/models/pickaxe/tris.md3

Now, I don't have any image texture files for it, because the texture was done in Blender with just colours, not from a jpg/gif, etc... file, so my config file looks like this:

md3.cfg

Code: Select all

md3load tris.md3
mdlscale 2000
mdlspec -1
And when I import it into sandbox and place it as an object, there is nothing there. Not even the "No Texture" thing, just nothing and then I can't click on it to edit it either.


Would appreciate if someone could advise as to where i'm going wrong, thanks.

Re: Creating an Object

Posted: July 12th, 2010, 5:26 pm
by DrChef
You must have a skin file loaded to the object not just the colours in Blender.
there's tutorials on how to UV map an object to make the skin, but the file must be present

Re: Creating an Object

Posted: July 12th, 2010, 9:57 pm
by Hirato
the skin file isn't necessary.

I would assume the model isn't centred in blender, and as such the offset is highly exaggerated after scaling. it's worth looking around to see if it's nearby (or making sure it's centred).

Re: Creating an Object

Posted: July 13th, 2010, 12:56 am
by GR1M
Also neglecting to triangulate the model would result in not showing up in Sandbox.