Recent posts

#31
Tools, Utilities / Script tg_go_to_frame.py
Last post by Kevin Kipper - January 03, 2025, 02:41:55 PM

tg_go_to_frame.pyw - Sets the current frame in the Terragen project.

tg_goto_frame_GUI.jpg

When first executed the Entry widget value is set to the current frame in the project.  

Certain keyboard bindings can be used as shortcuts to modify the value of the Entry widget.    
  • Up arrow - step to next frame
  • Down arrow - step to previous frame
  • Escape - resets Entry widget to initial value
  • MouseWheel up - steps to next frames (must press Enter key to accept)
  • MouseWheel down -steps to previous frames (must press Enter key to accept)

I admit it.  I've become somewhat habituated over the years to using keyboard shortcuts.  Especially to advance to a particular frame number in a project or scene file of a 2D or 3D application.

So I tapped into Terragen's remote procedure call feature (RPC) and coded a short Python script that can set the project's current frame number.  In keeping with the naming convention used for other scripts I've written it's called tg_go_to_frame.py.

While this version of the script is relatively simple, it does have a few features.  When run, it presents a single parameter "Go to frame".  By default the value is the current frame number, and this value can be retrieved at any time by pressing the "Escape" key.

As the value of the parameter changes the current frame position and the timeline are updated.  If you want to go to frame 50, type in 50...you get the idea.  It's best to use integer values too.

When the script's UI has the focus, you can use the "Up arrow" and "Down arrow" keys to advance forward and backwards one frame at a time.  You can even scroll up or down with the middle mouse button to quickly advance the parameter's value, but you need to press another key, like "Enter", to actually set the current frame and update the timeline.

An interesting factoid about scripts is that they'll remain running until they're explicitly closed. So you can actually leave the UI open if you want while working in Terragen.  Just remember two things.  First, that only the original current frame value was stored when the script was first run.  Second, while the script is running it is not aware of any changes made within the Terragen UI itself, for example, changing the value of the "Current frame" parameter or scrubbing the timeline.

And that leads to some good questions like "maybe it should be aware of changes" and "what else could this script do?"  Perhaps there needs to be a button to retrieve the current frame, or to store the value to the clipboard or memory?  I was toying with the idea of adding a slider to the UI as an alternate way of changing the parameter value.  The slider range could be limited to the start and end frames of the project file.  But who knows, maybe it would be cool to be able to change the slider range values and update the project's start and end frames too.  Let me know what you think.

You can download this script for absolutely free and increase your productivity by multitudes.  Enjoy!
https://github.com/RedMawVFX/tg-go-to-frame.git

#32
Image Sharing / Re: muskoxen
Last post by Dune - January 02, 2025, 02:36:23 AM
;D
#33
Image Sharing / Re: muskoxen
Last post by aknight0 - January 01, 2025, 05:26:12 PM
And you didn't think you'd make it!  I feel like we should throw you a party!  ;D
#34
Image Sharing / Re: muskoxen
Last post by Dune - January 01, 2025, 03:04:15 AM
Thanks! And a small congratulations to myself: 20,000 posts :o
#35
Image Sharing / Re: muskoxen
Last post by masonspappy - December 31, 2024, 07:35:15 PM
From a distance the muskoxen don't look bad. Really like the foreground where the stones appear to be melting the surrounding snow. Cool detail!
#36
Image Sharing / Re: Sandstone Rocks
Last post by Volker Harun - December 29, 2024, 01:32:42 PM
@mhaze: Very cool render, indeed.
Might be an issue with my screen, as I would suggest to soften the image or to sharpen it less.
#37
Open Discussion / Re: "Forester" - Terragen Comp...
Last post by itoustransita - December 27, 2024, 05:13:13 AM
Quote from: Aleksander on April 09, 2024, 10:17:48 AM
Quote from: JoshuaM on November 28, 2023, 12:26:13 AMThis is a longshot but does anyone have a version of "Forester" from 20 or so years ago? Or do any Terragen OGs remember using it? The download link seems to be non-functional on the website.
It is this very cool looking software that seems to work with Terragen 1 and POV Ray. I am planning on using the software for an art project of mine. I love the look of the old school website, I recommend checking it out.
Thank you!
Hi,
I don't know if you still need Forester, but I have original archive. I've purchased Forester on 05/06/2001.
Let me know if you need setup files.
Forester still works on Windows 10.
Regards
Hi Aleksander,
Sorry if I'm bothering you but could you share the original version of Forester with me? I am also using Win 10. Please check your message.
Thanks
#38
Image Sharing / Re: Great Northern
Last post by GeoDave - December 25, 2024, 02:11:30 PM
Brings back memories of riding Great Northern's Western Star from Chicago to Browning, Montana many years ago.  Very nice render, Gannaingh!
#39
Image Sharing / Re: muskoxen
Last post by Stormlord - December 24, 2024, 06:58:46 AM
Yes indeed, they're pretty far away, you don't really see them.
But the scenery is fine!

Best wishes to X-Mas Ulco!

STORMLORD
#40
Image Sharing / muskoxen
Last post by Dune - December 24, 2024, 05:47:39 AM
For a new commission I need muskoxen, so I made one. Just one, so far, and not too good yet. Testing it out.