Author Topic: Export .obj to brush in Hammer  (Read 383 times)

olocoDANI

  • Newbie
  • *
  • Posts: 1
  • Karma: 0
  • Acolyte
    • View Profile
Export .obj to brush in Hammer
« on: July 27, 2019, 11:21:08 PM »
Is it possible to convert a 3d .obj model that I opened in 3ds max to a .vmf map in Hammer using the Anvil tool? When this happens in some simple blocks. It is not the complete object.

Joris Ceoen

  • Global Moderator
  • Full Member
  • *****
  • Posts: 228
  • Karma: 27
  • WallWorm Ambassador
    • View Profile
Re: Export .obj to brush in Hammer
« Reply #1 on: July 28, 2019, 08:00:08 AM »
Is it possible to convert a 3d .obj model that I opened in 3ds max to a .vmf map in Hammer using the Anvil tool? When this happens in some simple blocks. It is not the complete object.
You can only do this if your .obj model has been exported as a Source model (.smd). You can do this by using the Wall Worm Model Tools (WWMT). Make sure to tick on the $staticprop option if you want to export the model as a prop_static.

If your goal is to export the model as brush geometry, you'll need to tag the model as Brush Geometry, which you can do from the Wall Worm Level Design menu (you'll see a bunch of options to tag the selection as brush geometry or func_detail etc...). See the image below for reference.
Also, to qualify for valid brush geometry, all sub-elements in your model (aka every individual piece not attached to other pieces) need to be CONVEX. As a result, if you do have multiple convex elements in one model, you need to tag the whole model as a concave brush instead, since otherwise the exporter will think the whole model itself is convex. Most likely, if you're new to Max these definitions will sound very complex to you. It isn't, especially after reading this article.