Hi! Welcome to the forum for Platinum Arts Sandbox Free 3D Game Maker. I currently have the forums locked as I am attempting to properly update them.

In the meantime please join the new Discord Server!

If you have any questions please e-mail me through the Platinum Arts website.

Importing Blender Models to Sandbox

Having issues not related to a specific Sandbox game mode? 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.
Locked
kevinatoranator
Member
Member
Posts: 12
Joined: July 23rd, 2010, 8:50 pm
Name: Kevin
Contact:

Importing Blender Models to Sandbox

Post by kevinatoranator »

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
User avatar
daniel_san
Moderator
Moderator
Posts: 84
Joined: September 8th, 2009, 11:03 pm
Name: Dan
IRC Username: daniel_san

Re: Importing Blender Models to Sandbox

Post by daniel_san »

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.
kevinatoranator
Member
Member
Posts: 12
Joined: July 23rd, 2010, 8:50 pm
Name: Kevin
Contact:

Re: Importing Blender Models to Sandbox

Post by kevinatoranator »

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/11527940813 ... 4343330370
Test City 1 Image
working on inside of windmill
User avatar
PizzaLover101
Member
Member
Posts: 1751
Joined: October 23rd, 2009, 1:33 pm
Name: NAME
IRC Username: DaItsicle
Location: By a computer
Contact:

Re: Importing Blender Models to Sandbox

Post by PizzaLover101 »

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
Project 1: Da Chest Collector [TBD]
Project 2: Tis a secret [End of summer] announcement June 22 2011
Project 3: An even bigger secret!

http://pizzagametime.tk/
http://forums.pizzagametime.tk/
User avatar
daniel_san
Moderator
Moderator
Posts: 84
Joined: September 8th, 2009, 11:03 pm
Name: Dan
IRC Username: daniel_san

Re: Importing Blender Models to Sandbox

Post by daniel_san »

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
PizzaLover101
Member
Member
Posts: 1751
Joined: October 23rd, 2009, 1:33 pm
Name: NAME
IRC Username: DaItsicle
Location: By a computer
Contact:

Re: Importing Blender Models to Sandbox

Post by PizzaLover101 »

ok, thank you
Project 1: Da Chest Collector [TBD]
Project 2: Tis a secret [End of summer] announcement June 22 2011
Project 3: An even bigger secret!

http://pizzagametime.tk/
http://forums.pizzagametime.tk/
kevinatoranator
Member
Member
Posts: 12
Joined: July 23rd, 2010, 8:50 pm
Name: Kevin
Contact:

Re: Importing Blender Models to Sandbox

Post by kevinatoranator »

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
User avatar
daniel_san
Moderator
Moderator
Posts: 84
Joined: September 8th, 2009, 11:03 pm
Name: Dan
IRC Username: daniel_san

Re: Importing Blender Models to Sandbox

Post by daniel_san »

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+F ... r+Tutorial
kevinatoranator
Member
Member
Posts: 12
Joined: July 23rd, 2010, 8:50 pm
Name: Kevin
Contact:

Re: Importing Blender Models to Sandbox

Post by kevinatoranator »

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
Locked