Profile Picturecarlosedubarreto

Infinigen on Windows

$5+
1 rating

Code to download for free: i8nej6r

original repository: https://github.com/princeton-vl/infinigen


If you want to support us and get the latest stuff, please consider subscribing at Patreon (https://www.patreon.com/cebstudios)

For as low as $1 you can help us and get access to the latest material (addons and etc) we create.


To talk to us you cen head to: https://twitter.com/carlosedubarret

or at Discord:  https://discord.gg/BRuu43Nv2J



This product was built to make possible that people can use the power of Infinigen on their own windows computers.

As all the compiling became extremelly complex and infinigen doesnt require a GPU to run, I made a Virtual Machine with it installed and made some step by step instructions show how to make it work.


The tutorial


The text instruction & codes:

Infinigen

https://github.com/princeton-vl/infinigen

Get Qemu on the following site:

https://qemu.weilnetz.de/w64/

- Install QEMU

- Put the path of Qemu on the environment Path

- Save the image.qcow2 provided at a folder, for example: d:/infinigen

- Execute the folowing command, where "-m 16G" is assiging 16gb of RAM Memory to the Virtual Machine

qemu-system-x86_64.exe -smp 4 -hda ubuntu22.04.02_infinigen50g.qcow2 -nic user,hostfwd=tcp::8888-:22 -m 16G -accel whpx -nographic

- alternate command in case the previous one doesnt work

qemu-system-x86_64.exe -smp 4 -hda D:\VM_Qemu\U22.04_infinigen\ubuntu22.04.02_infinigen50g.qcow2 -nic user,hostfwd=tcp::8888-:22 -m 16G -nographic -cpu max

- if the above command doesnt work, you can take a look on the list of available CPU modes to find one that fits your system, using this command

qemu-system-x86_64 -cpu help

-Connect to the VM (PASSWORD=ubuntu)

ssh ubuntu@127.0.0.1 -p 8888

- After inside the VM, change to worldgen folder using the command bellow

cd infinigen/worldgen/

- Execute the folowing command to generate the "coarse" scene

$BLENDER -noaudio --background --python generate.py -- --seed 0 --task coarse -g desert simple --output_folder outputs/helloworld/coarse

- Use the command bellow to populate the "coarse" scene

$BLENDER -noaudio --background --python generate.py -- --seed 0 --task populate fine_terrain -g desert simple --input_folder outputs/helloworld/coarse --output_folder outputs/helloworld/fine

# Other scenes that you can use, replacing the "desert" one:

artic

canyon

cave

cliff

coast

coral_reef

desert

forest

kelp_forest

mountain

plain

river

snowy_mountain

under_water

------------------------

-If you want to change the view, you have to open "coarse" scene in Blender 3.3.1

-change the orientation of both cameras at the same time

-Save the scene

-send it back to the VM

-run the populate part "fine"

-get the "fine" scene from the VM

- repeat the process if you want another view

The commands

-getting the "fine" result

scp -P 8888 ubuntu@127.0.0.1:/home/ubuntu/infinigen/worldgen/outputs/helloworld/fine/scene.blend d:\infinigen\fine

-getting the coarse file to change it locally

scp -P 8888 ubuntu@127.0.0.1:/home/ubuntu/infinigen/worldgen/outputs/helloworld/coarse/scene.blend d:\infinigen\coarse

-sending the coarse file back to the VM

scp -P 8888 d:\infinigen\coarse\scene.blend ubuntu@127.0.0.1:/home/ubuntu/infinigen/worldgen/outputs/helloworld/coarse/scene.blend

-generate the new scene after the changes were done

$BLENDER -noaudio --background --python generate.py -- --seed 0 --task populate fine_terrain -g desert simple --input_folder outputs/helloworld/coarse --output_folder outputs/helloworld/fine

-getting the "fine" result after the change

scp -P 8888 ubuntu@127.0.0.1:/home/ubuntu/infinigen/worldgen/outputs/helloworld/fine/scene.blend d:\infinigen\fine

-to turn off the VM, you can type:

sudo shutdown

- wait a couple of minutes and it will shut down.





$
Add to cart
3 sales
Copy product URL

Ratings

1.0
(1 rating)
5 stars
0%
4 stars
0%
3 stars
0%
2 stars
0%
1 star
100%
$5+

Infinigen on Windows

1 rating
Add to cart