Generating terrains in Blender

Ask about mapping, UDMF, using DoomBuilder/editor of choice, etc, here!
Forum rules
Before asking on how to use a ZDoom feature, read the ZDoom wiki first. If you still don't understand how to use a feature, then ask here.
Post Reply
imagine
Posts: 18
Joined: Sun Jun 08, 2025 6:23 pm
Operating System Version (Optional): Win11

Generating terrains in Blender

Post by imagine »

Hi guys!

Since I had discovered the Import Terrain feature in UDB, I tried to use it instead of manual sector creating, but, alas, unsuccessfully.

Here is what I did, step by step.

1. Created a new mesh (Plane) in Blender. (Using this tutorial: https://www.youtube.com/watch?v=-wqMvq5F2Uo)



2. Exported it into an .obj file. As the UDB help says: “The model should be triangulated”, I checked “Triangulated mesh”.



3. Opened UDB, created a new .wad and imported the terrain.



For some reason, If I left the scale factor untouched (1.0), the terrain was imported with just a couple of sectors. So I set it to 5.0.

4. Specified desired width and height (2000mp x 2000mp).



(I adjusted floor height and didn't with the same result).

5. And what I got:





Some strange triangular holes. And nothing in common with the original mesh.

I'm attaching the .obj file. The Noesis viewer (which I prefer for exploring 3D assets locally) displays it in wireframe mode exactly as designed.

What am I doing wrong? How do you create terrains for your projects?
Attachments
terrain.rar
(34.95 KiB) Downloaded 6 times
User avatar
Kappes Buur
 
 
Posts: 4201
Joined: Thu Jul 17, 2003 12:19 am
Graphics Processor: nVidia (Legacy GZDoom)
Location: British Columbia, Canada
Contact:

Re: Generating terrains in Blender

Post by Kappes Buur »

I used your terrain.obj and imported it into an opened map with r4238.
The only difference was that I set the import to a higher value, it should
be around 500 to 2000 to make it interesting



It took ca 25 secs to load.



Then I change the ceiling to 512, changed the floor texture
and added different lightlevels for contrast



That worked out quite well.
Post Reply

Return to “Mapping”