# Appendix

## GitHub

***

This GitBook manual is connected to a [GitHub repository](https://github.com/nikhilc52/blender_gis_nyc_trees/tree/main) that contains all the files used to recreate this project.

## Video Tutorial

***

It might be useful to see a video tutorial going through the steps outlined in here for further clarity. This tutorial is available here:

{% embed url="https://youtu.be/EolRdIAXdM0" %}

The Blender file used in the tutorial is available to download [here](https://github.com/nikhilc52/blender_gis_nyc_trees/blob/main/other_resources/demo.blend.gz.zip).

## Adroit Rendering Note

***

If you plan to render on Adroit-Vis, you might be tempted to parallelize your program, by running multiple instances of the same command (at the same time), each rendering a different part of the sequence. However, when we render out a sequence, Adroit automatically splits up the work among its two GPU nodes. This means that **there's no point in parallelizing**, or running multiple instances, as it'll just "overload" the GPUs by giving already running GPUs more work, ultimately slowing down the render.

Here's a look at both Adroit-Vis GPUs as we render out our scene. You can see that both GPUs are using our Blender process, without us having to parallelize:

<figure><img src="https://3388232048-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FfzMZbzYJd16KswvkEBDA%2Fuploads%2Fn0Evx1246vhaACcjZ0xD%2FScreenshot%202024-07-30%20at%204.50.50%E2%80%AFPM.png?alt=media&#x26;token=41d32dbe-2e90-4bc6-8b08-444028c674a5" alt="" width="563"><figcaption></figcaption></figure>

This output can be viewed by opening a new Adroit-Vis terminal and running `nvidia-smi` while the rendering process is ocurring.

## Rendered Video Editing

***

Here are some notes about the final video:

* The final rendered output in Blender was then editing using Adobe Premiere Pro&#x20;
* The voiceover was recorded using Voice Memos and processed using Adobe Podcast&#x20;
* The Wiki table for the demographics in the Bronx was created in R, using the script found in the [repo](https://github.com/nikhilc52/blender_gis_nyc_trees/blob/main/other_resources/demographics.R)
  * The data is originally from [Wikipedia](https://en.wikipedia.org/wiki/Race_and_ethnicity_in_New_York_City)
* The reference for some of the statistics about the percentage of dead trees within Hunts Point comes from manipulating the data as described in this R script in the [repo](https://github.com/nikhilc52/blender_gis_nyc_trees/blob/main/other_resources/tree_analysis.R)
* The source for the statistic about Black New Yorkers dying at twice the rate as white ones comes from [NYC Environment and Health](https://a816-dohbesp.nyc.gov/IndicatorPublic/data-features/heat-report/)
* The source for the information about trees and runoff comes from the [EPA](https://19january2017snapshot.epa.gov/soakuptherain/soak-rain-trees-help-reduce-runoff_.html)

## Errors in Original Blender File

***

In the original Blender file in [GitHub](https://github.com/nikhilc52/blender_gis_nyc_trees/blob/main/nyc_trees.blend.zip), there are a few minor discrepancies between what's within that file and what's explained here. In general, **you should tend to follow the directions specified within this book** rather than copying any errors that exist in the original file:

* The alignment of the buildings to the rest of the BlenderGIS imports was done manually rather than using the CRS and alignment provided in Blosm
  * I only discovered the very elusive solution to Blosm projections after the final render was complete
* There are several unneeded keyframes for the render visibility keying - they make no difference in the final product
  * The keyframes are structured as if render visibility can be interpolated between frames, even though it is binary (i.e. no need to have keyframes that are adjacent to each other to switch between on/off)

## About

***

This reference book was developed in 2024 by **Nikhil Chinchalkar** under the guidance of **Carolina Roe-Raymond** and **Eliot Feibush** for Princeton University's Research Computing department.

<figure><img src="https://3388232048-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FfzMZbzYJd16KswvkEBDA%2Fuploads%2F9Alp8FvhawaDlDDYU1Ji%2Flotus.png?alt=media&#x26;token=02ae14e7-41f0-4ae7-930a-08db6bf7ef83" alt="" width="146"><figcaption></figcaption></figure>
