Recent posts

#11
Tools, Utilities / Re: Script tg_splatter_craters...
Last post by Kevin Kipper - January 20, 2025, 01:01:40 PM
Thanks Matt for the added explanation of getting Python and the terragen_rpc module installed, and to RichTwo and Dune for taking the effort to get Python and the scripts up and running on their systems. 

My hope is that by sharing these scripts and dialoging about them and other new ideas, that the entire Terragen community will benefit.

If you guys come up with cool settings for craters, we can add them to the presets menu.  Can't wait to see what you come up with.
#12
Tools, Utilities / Re: Script tg_splatter_craters...
Last post by Dune - January 20, 2025, 01:50:12 AM
The command is looking for the file in a users/name folder, so that's where the .whl should be put (I found out). Now it works like a dream.
#13
Tools, Utilities / Re: Script tg_splatter_craters...
Last post by RichTwo - January 19, 2025, 01:21:22 PM
Thanks, Matt - and Kevin. I got it all successfully installed it appears that it's working, now just have to fiddle with the settings to see what happens. Looks to be promising!
#14
Tools, Utilities / Re: Script tg_splatter_craters...
Last post by Matt - January 19, 2025, 03:33:40 AM
If you don't have direct access to the internet on the computer where you need to run pip install, you can download the .whl package manually and use pip install with a file you downloaded.

Get the .whl file from this page:
https://pypi.org/project/terragen-rpc/#files

Then go to the folder where the .whl file is and run this command:

python -m pip install terragen_rpc-0.9.2-py3-none-any.whl
(Of course change this filename if there is a newer version when you read this post in the future. If you have access to the internet and run python -m pip install terragen-rpc it will always get the latest version.)
#15
Image Sharing / Re: All these worlds...
Last post by raymoh - January 19, 2025, 02:50:30 AM
Two hypothetical scenes on Barnard b, now the first officially confirmed planet of the red dwarf star "Barnard's Star".
https://en.wikipedia.org/wiki/Barnard's_Star
For a long time, planets have been suspected around this single star closest to the Sun, but all previous discoveries have proven to be misinterpretations of data.
The now discovered planet is most likely a small rocky world with a little more than 1/3 of Earth's mass, about 3/4 of Earth's diameter and about 2/3 of Earth's gravitational force. Measurement data suggest that there may be 3 more planets orbiting Barnard's star together with Barnard b in very close orbits and most likely in tidally locked rotation.
Barnard b orbits in only 3.4 million km (2.1 million miles) around its parent star (almost 17x closer than Mercury from the Sun) and receives almost 7x more energy from its star than Earth from the Sun, most of it in the infrared part of the spectrum.  The temperature at the surface is in the range of 400 K (about 125°C), but can vary considerably depending on the surface and the atmosphere. However, it is not yet known whether Barnard b has an atmosphere.
I took the artistic freedom of depicting Barnard b as a "hot Mars," with a very thin, dusty atmosphere. Barnard b and its parent star are about 10 billion years old, more than twice the age of the solar system. There are no more rugged mountainsides, everything has been leveled into shallow hills by the erosion of wind and sometimes violent bursts of radiation from the star. Because of its proximity, the disk of Barnard's star appears more than 8 times larger in the sky than the Sun when viewed from Earth. This extreme proximity also makes Barnard's star blinding and almost as bright as the sun in the sky, even though it is a "faint red dwarf". However, the (visible) light and thus the illumination on Barnard b is much redder than the sunlight.
#16
Tools, Utilities / Re: Script tg_splatter_craters...
Last post by Dune - January 19, 2025, 02:31:03 AM
QuoteThis will find terragen-rpc on the pip server and it will automatically download it and put it in the right place in your Python installation.
What if you want to install this on an air-gapped machine? Is there any specific place where you should put the RPC in the Python environment?
#17
Image Sharing / Re: Forest drive
Last post by masonspappy - January 18, 2025, 11:06:48 PM
Nicely done!!
#18
Image Sharing / Re: Roman investigators find n...
Last post by masonspappy - January 18, 2025, 10:57:18 PM
I'm trying to imagine what those balls on the ground are... :o
#19
Tools, Utilities / Re: Script tg_splatter_craters...
Last post by Matt - January 18, 2025, 10:32:13 PM
For Mac users the principles are mostly the same, except you might already have Python installed. But you will have to install terragen-rpc in the terminal:

python -m pip install terragen-rpc
#20
Tools, Utilities / Re: Script tg_splatter_craters...
Last post by Matt - January 18, 2025, 10:29:51 PM
Hi Rich. There is a bit of setup required, but it's not as difficult as it sounds, and you should only have to do this once. Then any other RPC scripts that Kevin or other people post should just run without any hassle.

I'll go over the steps in a moment. But just to give you a high level overview of how you use Kevin's crater script, you can think of it as a sidecar program that talks to Terragen while they are both running. It's a standalone program, but it works a bit like a Terragen plugin. All you do is double click on the .py or .pyw file in your downloads folder, or wherever you put it on your hard drive, and it should open up the scatter craters UI. You open it from a normal Windows Explorer window; do NOT try to open it in Terragen because it's not a Terragen file.

You will need two things installed: 1) Python, and 2) an extra module for Python that allows Kevin's scripts to communicate with Terragen. That's the Terragen RPC module.

1) It sounds like you don't have Python installed, but other people reading this might have it installed already. To test that, download the .py file from Kevin's Github page and double click on the .py file in your downloads folder, or wherever it is on your hard drive (in Windows Explorer; do NOT try to open it in Terragen), and see what happens.

If you get an error about "terragen_rpc" then we know that Python is already installed and we just need to get terragen_rpc.

If you don't see anything at all, go into a Windows command prompt (run 'cmd' from Windows Start button or search field) and type in 'python -help' (without quotes), to see if python is installed.

I recommend not using the Microsoft Store version of Python, but if you have it installed already then that's fine.

I recommend downloading Python from here: https://www.python.org/downloads/

When installing Python make sure you enable the option to set up the PATH environment variable in the Python installer.

2) Go into a Windows command prompt again (click on Windows Start button and type 'cmd'). At the command prompt enter this:

python -m pip install terragen-rpc

This will find terragen-rpc on the pip server and it will automatically download it and put it in the right place in your Python installation.

That should be everything for the setup. After everything's set up you won't need to do this again. And some day in the future we might have Python embedded in Terragen, and this'll get easier.

Now whenever Terragen is running you can can double click on the .py file (or .pyw file) in a Windows Explorer window. Make sure only one instance of Terragen is running, otherwise RPC might talk to the wrong one.