# Tenochtitlan (wip)

**URL:** <https://blenderartists.org/t/tenochtitlan-wip/1360197>\
**Category:** Works in Progress\
**Created:** [February 8, 2022, 6:10pm UTC](https://blenderartists.org/t/tenochtitlan-wip/1360197 "2022-02-08T18:10:33Z")\
**Posts on this page:** 20\
**Page:** 1

<div class="post-metadata">

**Author:** ![ThomasKole](https://blenderartists.org/user_avatar/blenderartists.org/thomaskole/32/1388979_2.png) [@ThomasKole](https://blenderartists.org/u/ThomasKole)\
**Post date:** [February 8, 2022, 6:10pm UTC](https://blenderartists.org/t/tenochtitlan-wip/1360197/1 "2022-02-08T18:10:33Z")

</div>

> ****
>
> (cover image:)
> 
> ![34](https://blenderartists.org/uploads/default/original/4X/d/9/1/d918276c7ef2a843a97b0fb39271f3c2755b7c6a.jpeg)

 ![1](https://blenderartists.org/uploads/default/original/4X/4/5/9/4593edf37ba3ca12bd257f8619c11a28e94a8a37.jpeg)

I’ve started work on recreating the city of Tenochtitlan.  
Not just the city, but it’s surroundings too, with lake Texcoco, and the surrounding towns.  
The idea has been bouncing around in my head for a while now, but with the power of Geometry Nodes I think I can make it work.

I want the scene to hold up to about what you would expect from drone or helicopter footage.

The city is really quite large, housing up to 200.000 people at it’s peak.  
It’s situated right in a lake, built up of squares, connected by land-bridges and with farmlands all around similar to Dutch _“polders”_ called _chinampas_.

 ![4](https://blenderartists.org/uploads/default/original/4X/0/1/9/019004301273d004d391c73d0b0981386ebedd36.jpeg)

I started out with using height data to reconstruct the lake. The lake has been drained, and Mexico City replaces it.

Along the way I’ll share some details of the progress I’m making, so you can see me struggle 🙂

---

<div class="post-metadata">

**Author:** ![ThomasKole](https://blenderartists.org/user_avatar/blenderartists.org/thomaskole/32/1388979_2.png) [@ThomasKole](https://blenderartists.org/u/ThomasKole)\
**Post date:** [February 8, 2022, 6:19pm UTC](https://blenderartists.org/t/tenochtitlan-wip/1360197/2 "2022-02-08T18:19:07Z")

</div>

Here’s a first geometry nodes thing:

Chinampas!

![18](https://blenderartists.org/uploads/default/original/4X/9/f/0/9f02436193adce3776ccf2b9ce3bdc7a056074a9.gif)

The chinampas will be built up from 2D splines, which I will create in Inkscape or something.  
The input shape is slightly distorted to create the basic shape, and then trees are placed along.

One small house is placed inside, which was quite a pain to get working. Not only that, it is oriented along one of the edges of the spline to make it look less random and more organized.

This same direction is also passed along as an attribute to be used in a shader - this way I can slap on a farmland texture approximately in the orientation of the chinampa - you can see it in the gif when I rotate.

 ![18](https://blenderartists.org/uploads/default/original/4X/4/b/2/4b29423991cf078a0b91bde39b4ce7ec63389c50.jpeg)

It’s a start!

---

<div class="post-metadata">

**Author:** ![ThomasKole](https://blenderartists.org/user_avatar/blenderartists.org/thomaskole/32/1388979_2.png) [@ThomasKole](https://blenderartists.org/u/ThomasKole)\
**Post date:** [February 9, 2022, 8:51pm UTC](https://blenderartists.org/t/tenochtitlan-wip/1360197/3 "2022-02-09T20:51:40Z")

</div>

I hope this makes any sense:

On each curve “island” I’m generating one house.  
This position is passed to a material via attributes.  
The direction of the first curve segment is also passed along.

This way I can generate farmland patches that center around the house, and are oriented roughly in the general direction of the island.

![tmp](https://blenderartists.org/uploads/default/original/4X/6/8/4/684c6042bd190a35dc4b524e2ef2b7eaf5f7b488.gif)

---

<div class="post-metadata">

**Author:** ![ThomasKole](https://blenderartists.org/user_avatar/blenderartists.org/thomaskole/32/1388979_2.png) [@ThomasKole](https://blenderartists.org/u/ThomasKole)\
**Post date:** [February 10, 2022, 9:10pm UTC](https://blenderartists.org/t/tenochtitlan-wip/1360197/4 "2022-02-10T21:10:20Z")

</div>

Generating a terrain mesh using an importance map, giving me just the right amount of detail where I need it.

Once again, would have been near impossible without geometry nodes.

 ![image](https://blenderartists.org/uploads/default/original/4X/a/4/d/a4dd95a7679c492997612090ef6173d415d9d010.jpeg)  
 ![image](https://blenderartists.org/uploads/default/original/4X/5/1/8/518ca9d0f5ba742e0d9fa3dbb8ef7ccdc5b70e4f.jpeg)

---

<div class="post-metadata">

**Author:** ![cdog](https://blenderartists.org/letter_avatar_proxy/v4/letter/c/e274bd/32.png) [@cdog](https://blenderartists.org/u/cdog)\
**Post date:** [February 10, 2022, 9:16pm UTC](https://blenderartists.org/t/tenochtitlan-wip/1360197/5 "2022-02-10T21:16:40Z")

</div>

Very interesting thread. How do you achieve adaptive subdivision on the terrain? Could you share your node setup?

---

<div class="post-metadata">

**Author:** ![ThomasKole](https://blenderartists.org/user_avatar/blenderartists.org/thomaskole/32/1388979_2.png) [@ThomasKole](https://blenderartists.org/u/ThomasKole)\
**Post date:** [February 10, 2022, 9:31pm UTC](https://blenderartists.org/t/tenochtitlan-wip/1360197/6 "2022-02-10T21:31:03Z")

</div>

For sure.

I got the trick form this video:

[![](https://blenderartists.org/uploads/default/original/4X/9/b/9/9b9c184bcc5dbe069babccfce7b1608a9bf520fb.jpeg "[Tut] Voronoi Tower - Blender Geometry Nodes 3.1 Field") ](https://www.youtube.com/watch?v=JPL64mgEjVQ)

So what I do is _Distribute Points on Faces_ with the black/white map shown above, put single spline points on those points, and then use _Fill Curve (Triangles)_

It’s a weird trick but works very well.

Here’s my setup, the input is just a plane with a UV map.

 ![image](https://blenderartists.org/uploads/default/original/4X/5/d/7/5d777e531da54dac453f4da334d803fe40d2f1eb.jpeg)

---

<div class="post-metadata">

**Author:** ![ThomasKole](https://blenderartists.org/user_avatar/blenderartists.org/thomaskole/32/1388979_2.png) [@ThomasKole](https://blenderartists.org/u/ThomasKole)\
**Post date:** [February 13, 2022, 1:15pm UTC](https://blenderartists.org/t/tenochtitlan-wip/1360197/7 "2022-02-13T13:15:14Z")

</div>

For the longest time I was struggling with the trees on the terrain.  
The scale of the scene is much to big for individual trees, even with tricks like imposters and cards.

But just slapping on a color with some noise is also not good enough.

I think I’ve found something?

 ![19](https://blenderartists.org/uploads/default/original/4X/c/6/2/c62e41ad41d4217b796731966d295a5354c45b7c.jpeg)

Here’s the first attempt:

 ![image](https://blenderartists.org/uploads/default/original/4X/d/4/3/d432733d478ef170895043ce0e46eb21bb7438a1.jpeg)

![tmp](https://blenderartists.org/uploads/default/original/4X/1/9/2/19231c466d960765df34818c90c2e00fe24b95b8.gif)

Essentially, I generate little view-space oriented planes on a mesh in a shader, to which I can apply a tiling tree texture:

 ![image](https://blenderartists.org/uploads/default/original/4X/7/3/8/738cfcaea78cad945e3b056ef3ad6f68ab58af1f.jpeg)

![tmp](https://blenderartists.org/uploads/default/original/4X/3/1/f/31fa3b185547deaac530fff4958fd44c6b1b01c8.gif)

I hope what I’ve done makes any sense 😅

---

<div class="post-metadata">

**Author:** ![Lumpengnom](https://blenderartists.org/user_avatar/blenderartists.org/lumpengnom/32/1131385_2.png) [@Lumpengnom](https://blenderartists.org/u/Lumpengnom)\
**Post date:** [February 13, 2022, 1:22pm UTC](https://blenderartists.org/t/tenochtitlan-wip/1360197/8 "2022-02-13T13:22:28Z")

</div>

Fantastic. Thanks for sharing the techniques you are using.

😃

---

<div class="post-metadata">

**Author:** ![ThomasKole](https://blenderartists.org/user_avatar/blenderartists.org/thomaskole/32/1388979_2.png) [@ThomasKole](https://blenderartists.org/u/ThomasKole)\
**Post date:** [February 13, 2022, 8:49pm UTC](https://blenderartists.org/t/tenochtitlan-wip/1360197/9 "2022-02-13T20:49:23Z")

</div>

Despite the low sample rate, it does feel like a dense forest 🙂

 ![20](https://blenderartists.org/uploads/default/original/4X/0/d/d/0dd7dc786b6bffce94d27136c24039fb58fcbb76.jpeg)  
 ![image](https://blenderartists.org/uploads/default/original/4X/6/7/5/6757137c7645e6b9c9b4ac68bbbd5216cb959816.jpeg)

I just have to work on the transition from forest to open area, but I think this weird technique can work.

---

<div class="post-metadata">

**Author:** ![AgentTuron](https://blenderartists.org/user_avatar/blenderartists.org/agentturon/32/823998_2.png) [@AgentTuron](https://blenderartists.org/u/AgentTuron)\
**Post date:** [February 14, 2022, 5:01pm UTC](https://blenderartists.org/t/tenochtitlan-wip/1360197/10 "2022-02-14T17:01:03Z")

</div>

@ThomasKole, really great solution! May I ask, where did you get the tiled trees from? May there be other species of trees like this out there? I preferably go for cc0 ofc…

PS: [textures.com](http://textures.com) if I guess right, maybe? 😁

---

<div class="post-metadata">

**Author:** ![ThomasKole](https://blenderartists.org/user_avatar/blenderartists.org/thomaskole/32/1388979_2.png) [@ThomasKole](https://blenderartists.org/u/ThomasKole)\
**Post date:** [February 14, 2022, 7:58pm UTC](https://blenderartists.org/t/tenochtitlan-wip/1360197/11 "2022-02-14T19:58:43Z")

</div>

I made them myself:

 ![image](https://blenderartists.org/uploads/default/original/4X/1/2/8/128bd64330abcb50d2d183d88143b5ecaff0cf5b.jpeg)

With a tree model I found on BlenderMarket 🙂

---

<div class="post-metadata">

**Author:** ![ThomasKole](https://blenderartists.org/user_avatar/blenderartists.org/thomaskole/32/1388979_2.png) [@ThomasKole](https://blenderartists.org/u/ThomasKole)\
**Post date:** [February 14, 2022, 8:15pm UTC](https://blenderartists.org/t/tenochtitlan-wip/1360197/12 "2022-02-14T20:15:19Z")

</div>

Popocatepetl and Iztaccihuatl, the twin volcanoes:

 ![image](https://blenderartists.org/uploads/default/original/4X/5/d/e/5de29741837538baa3faadd0ddebbad4044af0a1.jpeg)  
 ![image](https://blenderartists.org/uploads/default/original/4X/6/a/5/6a58a94b6c28210b190d4cd5ed38d2685b5e9188.jpeg)

Kinda happy with how my trees can creep up the mountain

![tmp](https://blenderartists.org/uploads/default/original/4X/9/0/6/9060fd376ca4440afd3926c12454d2beddf9b90c.gif)

---

<div class="post-metadata">

**Author:** ![ThomasKole](https://blenderartists.org/user_avatar/blenderartists.org/thomaskole/32/1388979_2.png) [@ThomasKole](https://blenderartists.org/u/ThomasKole)\
**Post date:** [February 15, 2022, 2:37pm UTC](https://blenderartists.org/t/tenochtitlan-wip/1360197/13 "2022-02-15T14:37:07Z")

</div>

![24](https://blenderartists.org/uploads/default/original/4X/8/3/b/83bbc2651552ff94e7a0dd47fc6442748493052e.jpeg)  
 ![25](https://blenderartists.org/uploads/default/original/4X/d/e/7/de71802dc9d1332f3e4d2a5ec766c9c7362b50b4.jpeg)  
 ![image](https://blenderartists.org/uploads/default/original/4X/f/7/e/f7e1b2df313c6f5153ed816b632a598b1471c9d5.jpeg)

Made some changes to the terrain mesh, it tesselates better now.  
I was struggling with adaptive subdivision, but I don’t use it anymore.

---

<div class="post-metadata">

**Author:** ![Hoverkraft](https://blenderartists.org/user_avatar/blenderartists.org/hoverkraft/32/10549_2.png) [@Hoverkraft](https://blenderartists.org/u/Hoverkraft)\
**Post date:** [February 17, 2022, 11:05am UTC](https://blenderartists.org/t/tenochtitlan-wip/1360197/14 "2022-02-17T11:05:44Z")

</div>

> [@ThomasKole](#):
>
> I generate little view-space oriented planes on a mesh in a shader

Great job!  
I would be really interesting and thankful for knowing how you are doing this. Would be great if you could share a bit more about this shader.

---

<div class="post-metadata">

**Author:** ![ThomasKole](https://blenderartists.org/user_avatar/blenderartists.org/thomaskole/32/1388979_2.png) [@ThomasKole](https://blenderartists.org/u/ThomasKole)\
**Post date:** [February 17, 2022, 4:54pm UTC](https://blenderartists.org/t/tenochtitlan-wip/1360197/15 "2022-02-17T16:54:28Z")

</div>

It’s not Popocatepetl if the Tepetl doesn’t Popoca, right?  
I’m using the CC0 “high res smoke plume” from [https://jangafx.com/software/embergen/download/free-vdb-animations/](https://jangafx.com/software/embergen/download/free-vdb-animations/)

Just one frame though, as the original animation is immense.  
Even one frame is \>20mb. Might have to find a way to compress

 ![image](https://blenderartists.org/uploads/default/original/4X/d/7/6/d761b4e7b752be35a4446bbabae2da33bd397c9f.jpeg)

---

<div class="post-metadata">

**Author:** ![Artproject](https://blenderartists.org/letter_avatar_proxy/v4/letter/a/c57346/32.png) [@Artproject](https://blenderartists.org/u/Artproject)\
**Post date:** [February 20, 2022, 6:27pm UTC](https://blenderartists.org/t/tenochtitlan-wip/1360197/16 "2022-02-20T18:27:43Z")

</div>

Hi Thomas, this looks brilliant! - and is exactly what I need for some massive forest landscapes I’m doing for a small movie project - please put me out of my misery and reveal how you are generating the “little view aligned islands” - I spent the last couple of evenings trying to figure it out with various combos of texture coordinates, vectors, normals, geometry nodes, drivers… and failed totally! - cheers, Stephen Norrington

---

<div class="post-metadata">

**Author:** ![ThomasKole](https://blenderartists.org/user_avatar/blenderartists.org/thomaskole/32/1388979_2.png) [@ThomasKole](https://blenderartists.org/u/ThomasKole)\
**Post date:** [February 21, 2022, 8:49am UTC](https://blenderartists.org/t/tenochtitlan-wip/1360197/17 "2022-02-21T08:49:24Z")

</div>

@Artproject @Hoverkraft

I’ll see if I can make a quick video

---

<div class="post-metadata">

**Author:** ![Hoverkraft](https://blenderartists.org/user_avatar/blenderartists.org/hoverkraft/32/10549_2.png) [@Hoverkraft](https://blenderartists.org/u/Hoverkraft)\
**Post date:** [February 21, 2022, 9:09pm UTC](https://blenderartists.org/t/tenochtitlan-wip/1360197/18 "2022-02-21T21:09:45Z")

</div>

Thanks, much appreciated. Don’t stress yourself, a simple paragraph and maybe a node tree about these voronoi view aligned islands and the in shader dithering would be great. I think I remember seeing a video about the second topic on youtube from way back when eevee didn’t have it.

---

<div class="post-metadata">

**Author:** ![ThomasKole](https://blenderartists.org/user_avatar/blenderartists.org/thomaskole/32/1388979_2.png) [@ThomasKole](https://blenderartists.org/u/ThomasKole)\
**Post date:** [March 6, 2022, 9:28pm UTC](https://blenderartists.org/t/tenochtitlan-wip/1360197/19 "2022-03-06T21:28:47Z")

</div>

![29](https://blenderartists.org/uploads/default/original/4X/1/5/8/158d89bcf7b87474aa0bdb2b28c474430005df7c.jpeg)  
 ![31](https://blenderartists.org/uploads/default/original/4X/1/f/0/1f09acbb43e58129b8029e665333eb4e5abd8d66.jpeg)  
 ![32](https://blenderartists.org/uploads/default/original/4X/0/9/b/09b66ca3288abddeb755f1693beb4019e56f11db.jpeg)

I was dealing with two hard to track cycles bugs:  
Regarding anisotropic volumes: [https://developer.blender.org/T96153](https://developer.blender.org/T96153)  
And regarding volume reflections: [https://developer.blender.org/T96204](https://developer.blender.org/T96204)

But with those out of the way, I can proceed.  
I’m working on the water and further working out the surrounding forests.

Sorry I haven’t yet gotten around to detailing my view-aligned island trees, I barely have time for the project itself 😅

Once I find the time I’ll write a description.

---

<div class="post-metadata">

**Author:** ![ThomasKole](https://blenderartists.org/user_avatar/blenderartists.org/thomaskole/32/1388979_2.png) [@ThomasKole](https://blenderartists.org/u/ThomasKole)\
**Post date:** [March 7, 2022, 6:12pm UTC](https://blenderartists.org/t/tenochtitlan-wip/1360197/20 "2022-03-07T18:12:19Z")

</div>

@Artproject @Hoverkraft

> [@View-aligned voronoi islands (for infinite forests, Eevee and Cycles)](https://blenderartists.org/t/view-aligned-voronoi-islands-for-infinite-forests-eevee-and-cycles/1366131):
>
> A while back I posted an update about my Tenochtitlan project: [tmp] I’m showing the way I am generating a procedural infinite forest in a shader. The underlying concept is what I’m calling view-aligned islands. Essentially, I’m generating little UV islands which always look at the camera, but also stay anchored in their centers. [tmp] Let’s Begin It starts with a voronoi node. This creates the cells as a basis for the islands. A vector pointing towards the center of each island is creat…

Here’s a quick write-up on the view-aligned islands.

[Next page](https://blenderartists.org/t/tenochtitlan-wip/1360197.md?page=2)
