Skip to main content

User login

What is OpenID?
  • Log in using OpenID
  • Cancel OpenID login
  • Create new account
  • Request new password
Register
  • Home
  • Browse
    • 2D Art
    • 3D Art
    • Concept Art
    • Textures
    • Music
    • Sound Effects
    • Documents
    • Featured Tutorials
  • Submit Art
  • Collect
    • My Collections
    • Art Collections
  • Forums
  • FAQ
  • Leaderboards
    • All Time
      • Total Points
      • Comments
      • Favorites (All)
      • Favorites (2D)
      • Favorites (3D)
      • Favorites (Concept Art)
      • Favorites (Music)
      • Favorites (Sound)
      • Favorites (Textures)
    • Weekly
      • Total Points
      • Comments
      • Favorites (All)
      • Favorites (2D)
      • Favorites (3D)
      • Favorites (Concept Art)
      • Favorites (Music)
      • Favorites (Sound)
      • Favorites (Textures)
  • ❤ Donate
General Discussion

Automapping script for 3d tilesets (pre-alpha)

rubberduck
Tuesday, December 10, 2013 - 10:22
rubberduck's picture

i work on an automapping script (blender and python) for 3d tilesets. it is still in development

it will use an other format as  this 3d-tileset

here is an image of that in blender and the blend-file with the script

 

How it works:

the script calculates which faces use the active vertex (the white one) and calculates their "middle-point" and compares thes coordinates with the corordinates of the active vertex.

it also calculates the direction of the face and i can place specific objects on different parts (look image)

Attachments: 
automapping1.blend automapping1.blend 855.5 Kb [4 download(s)]
Preview
automapping01.png automapping01.png 45.6 Kb [4 download(s)]
  • Log in or register to post comments
rubberduck
joined 11 years 6 months ago
Saturday, December 14, 2013 - 11:54
rubberduck's picture

i worked on the script

(the "dots" in the screenshot are placeholder for tiles not added yet)

+ it don't use the active vertex, it uses all selected now

+ it joins all added parts to an object

+ it uses objects by it's names

- a bit slow when big meshes (but better than putting each extra)

- error when object missing or on inactive layer

i added 5 sample-parts (rest to do)

 

also to do:

random parts (for example for the top side)

put it into blenders ui (like addon, at the moment only script)

import funktion (only when not too slow)

complete tileset (for testing)

 

 

Attachments: 
Preview
automapping02.png automapping02.png 29.9 Kb [0 download(s)]
  • Log in or register to post comments
Duion2
joined 6 years 1 month ago
Saturday, December 14, 2013 - 17:56

That sounds interesting, do you think this could be extended to build real 3D levels out of modules? I recently saw someone who has build script that could build unreal deathmatch levels fully automatic out of modular pieces in udk.

http://forums.odforce.net/topic/15825-updated-graduation-project-procedural-fps-arena-level-generation/

  • Log in or register to post comments
rubberduck
joined 11 years 6 months ago
Monday, December 16, 2013 - 11:16
rubberduck's picture

i'm not sure, if this is possible, my script is specialized in tiles with a special size.

but i think you could add some "base-forms", when you change the code a bit

 

it takes a lot of time to model these tilesets

Attachments: 
Preview
tileset.png tileset.png 22.4 Kb [0 download(s)]
  • Log in or register to post comments
rubberduck
joined 11 years 6 months ago
Sunday, December 22, 2013 - 12:37
rubberduck's picture

i have updated the automapping script:

the newest version is now in a submission (because the tilesset is ready)

http://opengameart.org/content/free-3d-tileset-3-automapping-script

Attachments: 
Preview
tileset3-ex01.png tileset3-ex01.png 143.8 Kb [1 download(s)]
Preview
tileset3-ex02.png tileset3-ex02.png 133.8 Kb [1 download(s)]
Preview
tileset3-ex03.png tileset3-ex03.png 192.7 Kb [1 download(s)]
  • Log in or register to post comments