Importing Blender Models to Sandbox

Having issues? Get help here!
Please also read the rules for support when posting support requests.
Failure to comply with the forum rules may result in your topic being locked without resolution.

Importing Blender Models to Sandbox by kevinatoranator » July 25th, 2010, 2:16 pm



Sorry to bother you guys with another question but I followed the tutorial on how to put Blender models onto Sandbox and it works but the model doesn't show up it is just a bunch of blue sparkles. Also is it possible to Geo-Mod the terrain during a game.
Test City 1 Image
working on inside of windmill
kevinatoranator
Member
Member
 
Posts: 12
Joined: July 23rd, 2010, 8:50 pm
Name: Kevin

Re: Importing Blender Models to Sandbox by daniel_san » July 25th, 2010, 4:20 pm



A screenshot of what is going on would be helpful you know.
Actually, the 'blue sparkles' sounds a lot like the entity particle marker.
Therefore you're models uvs haven't been unwrapped, and or you messed up the md2/3/5 cfg.
Make sure in your cfg md3skin line is right. For eg.

md3skin Bob imagename.jpg
Objects name is Bob (in blender) in order for it to render imagename.jpg

As far as geo-mod, theres heightmap mode for that. Press H in edit mode.
User avatar
daniel_san
Moderator
Moderator
 
Posts: 77
Joined: September 8th, 2009, 11:03 pm
Name: Dan
IRC Username: daniel_san

Re: Importing Blender Models to Sandbox by kevinatoranator » July 25th, 2010, 5:40 pm



do I have to have uv's because I wanted to try it with a grey model to see if it would work.

Screenshot
http://picasaweb.google.com/115279408132507940274/PlatinumSAndbox?locked=true#5497976334343330370
Test City 1 Image
working on inside of windmill
kevinatoranator
Member
Member
 
Posts: 12
Joined: July 23rd, 2010, 8:50 pm
Name: Kevin

Re: Importing Blender Models to Sandbox by PizzaLover101 » July 25th, 2010, 6:15 pm



that is excalty what happens to me, I put it in a folder, then i go to the cfg and type, mmodel "foldername/modelname.md3" // ###, Then i go into sandbox, and It's a marker :P
User avatar
PizzaLover101
Member
Member
 
Posts: 882
Joined: October 23rd, 2009, 1:33 pm
Location: A place with trees and water
Name: Jon

Re: Importing Blender Models to Sandbox by daniel_san » July 25th, 2010, 6:18 pm



As far as i know, yes you need uvs unwrapped to even see the model.
If you just want to see the model just do a quick unwrap in blender.
Go into edit mode, select everything and then just press U and unwrap.
Then just use a grey image or whatever so you can see the model.

And to pizzalover
When you use mmodel you dont need to put .md3 at the end
that is unless the folder which the model is in actually is named modelname.md3
so itd just be
mmodel folername/modelfoldername
User avatar
daniel_san
Moderator
Moderator
 
Posts: 77
Joined: September 8th, 2009, 11:03 pm
Name: Dan
IRC Username: daniel_san

Re: Importing Blender Models to Sandbox by PizzaLover101 » July 25th, 2010, 6:59 pm



ok, thank you
User avatar
PizzaLover101
Member
Member
 
Posts: 882
Joined: October 23rd, 2009, 1:33 pm
Location: A place with trees and water
Name: Jon

Re: Importing Blender Models to Sandbox by kevinatoranator » July 25th, 2010, 8:26 pm



thanks I got it to finally got to import the box the only problem is it says no texture and i gave it one this time
Test City 1 Image
working on inside of windmill
kevinatoranator
Member
Member
 
Posts: 12
Joined: July 23rd, 2010, 8:50 pm
Name: Kevin

Re: Importing Blender Models to Sandbox by daniel_san » July 25th, 2010, 8:43 pm



Like i said in the second post, make sure your md2/3/5skin line is correct.
Whatever your objects name is in blender has to match up with md*skin line in the cfg.

Straight from cube2wiki:

md3skin H S M [E [F]]

This loads a texture and assigns it to a mesh of the last loaded model (md3load). H is the name of the mesh you want to assign the texture to. S is the path to the texture, its recursive to the location of the md3.cfg. The optional M sets a texture for spec (red channel)/glow (green channel) maps as above. If E is non-zero, then the blue channel of the masks is interpreted as a chrome map. E (maximum envmap intensity) and F (minimum envmap intensity, default: 0) are floating point values in the range of 0 to 1, and specify the range in which the envmapping intensity will vary based on a viewing angle (a Fresnel term that is maximal at glancing angles, minimal when viewed dead-on). The intensity, after scaled into this range, is then multiplied by the chrome map.

http://sauerbraten.org/docs/models.html
http://cube.wikispaces.com/MD3+Export+From+Blender+Tutorial
User avatar
daniel_san
Moderator
Moderator
 
Posts: 77
Joined: September 8th, 2009, 11:03 pm
Name: Dan
IRC Username: daniel_san

Re: Importing Blender Models to Sandbox by kevinatoranator » July 27th, 2010, 8:30 pm



I finally got the texture to work on the cube with this
Code: Select all
md3load tris.md3
md3skin Cube m16a2.jpg
mdlscale 2000

this isn't a big problem it might have to do with the texture but there is no "cube" its just the texture in a cube shape
thanks for all your help
Test City 1 Image
working on inside of windmill
kevinatoranator
Member
Member
 
Posts: 12
Joined: July 23rd, 2010, 8:50 pm
Name: Kevin


Return to Sandbox Support

Who is online

Users browsing this forum: MSN [Bot] and 1 guest