Está viendo la página Spain versión del sitio.
Le gustaría cambiar a su sitio local?
15 MIN TIEMPO DE LECTURA

BLENDER

Render real-world 3D maps in Blender

Credit: www.blender.org

Intrepid Michael Reed explores real-world maps by never leaving his home and rendering them in Blender using various data sets.

OUR EXPERT

Michael Reed has spent more time working on his Blender skills than an awardwinning chef.

QUIK TIPS

Our Blender doesn’t look quite the same as your Blender? We selected the light theme so that it looks better in the magazine.

D graphics editor Blender can adapt to many different tasks, so we’re going to use it to 3 render 3D maps sourced from real-world data. The process is fairly simple and doesn’t require much in the way of Blender experience. You can take the map and height data resources from a variety of sources. What you end up with is a 3D terrain you can zoom, rotate, fly through and render. With Blender’s facilities, you can even animate the resulting object.

We need a 2D map image of some kind, along with a heightmap. In this case, a heightmap is a bitmap image in which the brightness of each pixel represents the height of that part of the map. When we combine the two, we have a 3D model of a map, ready for rendering.

You can use a variety of free online data sources for the map image and the height data. You’re not even confined to using it for real-world map rendering because you can also use a variety of computergenerated, mathematical images as input sources.

Acquiring the data

The first thing we need to do is to acquire some map data. For the method that we’re going to use, we require two images: a heightmap and a second image to ‘drape’ over that heightmap. The great thing about working like this is that it gives us a lot of flexibility in terms of the images that we can use. See the box (opposite) for tips on sourcing suitable heightmap and map image files. One thing to look out for: make sure you are selecting a geographical region that is mountainous so that you can see the 3D effect.

Once subdivided, the surface of this plane is made up of many smaller rectangular faces.
Zoomed in – before smooth shading and the subdivision modifier, the terrain is quite crude.

A quick cleanup

It’s worth giving the heightmap and the map image data a quick clean up, and for this, we’ll use the image editor GIMP. The source images we’re dealing with might have something like stray text or an unwanted detail here and there. Most of these instructions can be applied equally to both the map image and heightmap.

Any elements we need to remove can be worked on with GIMP’s Paintbrush tool. Use the Eyedropper to select the background colour of the map and then remove anything we don’t need with the Paintbrush. The Clone tool and the Healing tool may also be useful for this work. The only tools we shouldn’t use in GIMP are those that change the size of the image, such as the crop or scale tools. That’s because we need the heightmap and the map image to line up perfectly.

Desbloquea este artículo y mucho más con
Puedes disfrutar:
Disfrute de esta edición al completo
Acceso instantáneo a más de 600 títulos
Miles de números atrasados
Sin contrato ni compromiso
Inténtalo €1.09
SUSCRÍBETE AHORA
30 días de acceso, luego sólo €11,99 / mes. Cancelación en cualquier momento. Sólo para nuevos abonados.


Más información
Pocketmags Plus
Pocketmags Plus

Este artículo es de...


View Issues
Linux Format
September 2023
VER EN TIENDA

Otros artículos de este número


MEET THE TEAM
MEET THE TEAM
This issue, we’re getting AIs to badly develop ap plications for us. Hurrah! So, what are you going to do with all the spare time your personal AI is going to free up?
Not so smart
A rtificial intelligence is like any other tool
REGULARS AT A GLANCE
Newsdesk
THIS ISSUE: EU threat to open source Plasma features face chop Gnome opens window plans Debian embraces RISC-V
JUST BUGGIN’
Jon Masters is a kernel hacker who’s been
Kernel Watch
Jon Masters keeps up with all the latest happenings in the Linux kernel, so you don’t have to.
ONGOING DEVELOPMENT…
John Ogness posted Wire Up Nbcon Consoles, which
Answers
Got a burning question about open source or the kernel? Whatever your level, email it to answers@linuxformat.com
Mailserver
WRITE TO US Do you have a
Hot Picks
Immich
ATTACK OF THE A.I. Pi BOTS
Fun artificial intelligence projects you can build and run at home on the cheapest of hobbyist hardware!
REVIEWS
BarraCuda 8TB HDD
Cheap and cheerful – that’s not how Shane Downing parties.
GeForce RTX 4060
A good graphics card with the wrong name, ponders Chris Szewczyk.
Murena Fairphone 4
Fairest of them all, Jonni Bidwell is excited by an ethical phone with a privacy-respecting operating system.
Peppermint OS
After years of sampling Linux Mint, Nate Drake opts for something spicier in the hybrid Peppermint OS, which integrates cloud-based apps.
Fatdog64 Linux 814
Nate Drake decides to look in on Fatdog, a Puppy-based OS that’s grown into a very credible canine in its own right.
ROUNDUP
Media-creation distros
Michael Reed examines five distributions, aimed at creative types, that come packed with applications, utilities and plugins.
Customisations & extra features
How much does each distro add?
Base distro and package repros
We need a strong foundation with access to the latest software.
Using the user interface
Creative flow is paramount.
System efficiency
It’s a shame if the distro starts gobbling up resources before you’ve even started.
Audio, music and plugins
Showcasing what Linux can do in this realm and saving installation effort.
Video and graphics apps
Ready-to-go drawing and painting applications are always welcome.
Documentation and support
Information on how to get things running and overcome difficulties.
The verdict
Media-creation distributions
A.I. CODING
Matt Holder spends some time discovering how AI, ML and LLM can be used to help us with our programming – and, yes, he explains what the acronyms mean as well…
Pi USER
Pi Foundation open sources its Code Editor
Accelerating feature development and generally doing the right thing all round, hurrah!
RP2040 ETH Mini Dev
Les Pounder loves all his Pi collection, but sometimes there’s some he simply can’t love as much…
Sonic Mini 8K S
Always on the lookout for upgrades, Denise Bertacchi doubly likes it when there’s a bargain, too.
Build a flashy dice roller with NeoPixels
Les Pounder is learning to multitask but we think he misunderstood the instructions.
Smart management for smart kiosks
Tam Hanna takes a look at how Ubuntu Frame harnesses Wayland’s strengths to make smart display management more comfortable.
TUTORIALS
Best kept secrets
A man who keeps his cards close to his chest, we struggled to persuade Shashank Sharma to reveal how he protects his passwords.
Upgrade your Steam Deck SSD
Neil Mohr asked hardcore PC gamers Tony Polanco and Katie Wickens to upgrade a Linux device – what could possibly go wrong?
Access services with Nginx reverse proxy
Nick Peers discovers how to open your network services to the internet with this user-friendly implementation of Nginx.
Add Raspberry Pi GPIO to your PC
PCs don’t offer a GPIO header like the Raspberry Pi, but Mike Bedford reveals that a low-cost add-on is all you need to join in the fun.
ADMINISTERIA
A ROCKY ROAD AHEAD?
Stuart Burns is a Linux administrator for a
Docker is dead, long live Docker
Docker has been the king of containers but could Podman put an end to Docker’s reign?
LXD gobbled up by Canonical
LXD ownership is transferred to Canonical in the hope of making great strides.
Who installed that?
Yum is more than just a way to install applications – it can do all sorts of interesting stuff.
HostPapa
Ruby P Jane tries this paternal web host provider that offers a range of services for both personal and business use.
Cloudways
A competent host offering scalable cloud-based solutions that has Ruby P Jane loving what she sees.
IN DEPTH
AWS vs Azure
What’s the difference? Not all cloud providers are the same. Steve Cassidy compares the two biggest platforms
CODING ACADEMY
Text adventure combat mechanics
Often found making love and not war, this month Nate Drake takes our interactive text adventure down a dark, violent path.
Code your own Breakout retro game
Matt Holder discovers that writing a ’70s-style classic game isn’t as simple as he first thought.
Creating Flutter apps
David Bolton shows how to set up a Flutter development environment on Linux and then how to build a simple calculator in Flutter.
Chat
X
Soporte Pocketmags