A downloadable tool

Download NowName your own price

Do you want to do batch operations on 3D objects for use in GameMaker (or for other purposes)? Here's a tool which does just that!

Features

  • Import 3D models: D3D / GMMOD (GameMaker) or OBJ
  • Export 3D models: D3D / GMMOD, OBJ or a raw vertex buffer for fast loading (use buffer_load in GameMaker), or a collection of vertex buffers that can be loaded with the provided import scripts
  • Bulk operations: applying transformations, mirroring texture coordinates, rotating the Up axis, and a bunch of other thing
  • Vertex formats: define vertex formats to export models as - in case your game uses a format besides the normal position/normal/texture/color
  • Textures maps: load in textures for models
  • Mesh normals: set flat normals or smooth normals (within a tolerance)

Notes

Using this tool is pretty simple, but you may wish to know a few things which might not be obvious.

  • The main use of this tool is to do operations in bulk - as such, you can drag model or image files into the program window to have them imported automatically.
  • Textures will automatically be imported alongside obj models whose materials reference them (when the program is able to find them). GameMaker models do not references to texture images, however, so if you want to use one you need to import it manually. Either go to Assets > Textures in the menu at the top of the screen to bring up the texture manager, or drag the image into the program window. You can set the textures in the "Materials" menu.
  • People disagree on what the "up" axis should be, or where the origin for texture coordinates belongs, or whether the "d" material attribute means transparency or opacity. The importer will attempt to do the best with what it has, but you may wish to course correct with the respective options.
  • Exporting obj will also export the texture images alongside them.
  • The primary use for this is people who want to tidy up their production pipeline for their GameMaker games, although you can use the models for whatever you want.
  • Windows only. Getting this to work on Linux would be a considerable amount of work which I don't plan on doing.

Future stuff

There are a few things I might do in the future. I don't want to make a full 3D model editor, but there are a few other operations that could be useful.

  • Material types: as you can probably see, I've written in some empty space for materials besides the Diffuse texture, but they're not currently part of the shader and you can't do anything with them
  • Import or export Collada (dae) files: self-explanatory
  • Texture UV management: this would be a more reasonable feature than a full 3D model editor, although it would still be a considerable amount of work so I'd only do it if a large number of people express interest
  • Texture packing: sounds like math, I want in
  • Saving collections of meshes via something like Carton for even faster loading

Price

As usual, the asset is free as-is. I'll fix simple or game-breaking bugs but more involved support requires payment via either Itch or Patreon. I get the final say in what constitutes "game-breaking."

Repository

As usual, if you want the code, it's on Github. Or if you don't want to deal with Github, it's ten dollars. (The rest of the program is free, obviously.)

Credits

Updated 8 days ago
StatusReleased
CategoryTool
Rating
Rated 5.0 out of 5 stars
(2)
AuthorDragonite
Made withGameMaker: Studio
Tags3d-model, converter, editor
Average sessionAbout a half-hour
LinksSource code, Source code

Download

Download NowName your own price

Click download now to get access to the following files:

Penguin.zip 5 MB
penguin-import-scripts.yymps 5 kB
Penguin-beta.zip 5 MB

Development log

Comments

Log in with itch.io to leave a comment.

Amazing tool, Easy to use and understand.

Keep up the good work 👌

Hello! Just downloaded a newer version than I had and seems like a lot of new features! Thanks!

Any hints on why I can't seem to get vertex color from obj files exported from Crocotile working? (I've figured out the alpha inverting bit)

just learned simply exporting to obj is wiping the vertex color info. I didn't know that. Any tips for doing what I'm trying ? (get vertex colors working in gamemaker?)

(+1)

The obj spec doesn’t officially support vertex color - although there are a few “unofficial” specs, which it seems that Crocotile actually uses. I’ll try to get back to you on that in a few hours.

That would be very appreciated! Thank you!

Okay, it seems to be working. I uploaded a “beta” version of the program (Penguin-beta.zip in the downloads), let me know if it works and I’ll promote it to the regular version.

Actually, I suppose while I’m at it I might as well see if I can get the transparency to play nicely with Crocotile models too.

This is the program I needed, it's great and I'll use it a lot, the only bad thing is that my screen is a small size, like 1280p x 780p. If the program could adapt well to small resolutions it would be 10 out of 10, now it is only 9/10

Yeah, now that the rest of the program is mostly finished I should probably see about working this out at some point.

Ok, you better finish the program and then fix these kinds of things

I’m making this for free. I’ll get to it when I get to it.

I am so glad I found this and your YouTube channel in general since eventually I would like to have 3D objects in my game alongside 2D sprites. The image that you have posted on your GitHub page is exactly what I will be aiming to do since I would like to recreate a Pokémon Gen5 type of look with the flexibility of GMS2 it is going to be really fun.

Just purchased GMS2 Desktop and have already reached parallaxing and a following camera with the Space Rocks tutorial by YoYo in GML.

I would be happy to pay you to be a private tutor for GML if you would be interested.