Planetside Software Forums

General => Terragen Discussion => Topic started by: followthegik on December 23, 2020, 06:05:44 PM

Title: Render view display while command line rendering
Post by: followthegik on December 23, 2020, 06:05:44 PM
Is it possible to launch the render view display when rendering from the command line? I've used the info here to launch a commandline render on windows https://planetside.co.uk/wiki/index.php?title=Windows_Command_Line_Reference_(TG3)  but it appears by setting the -r flag the gui and render view  cannot be launched with a additional flag. 

It would be nice to set a render off from the command line and still view the progress in the renderview.  I'm looking at it mainly as a way of making sure the scene and render are locked together and preserved  though some python scripts that take the scene file as opposed to launching a render within the gui, but still interested in seeing the render progress  (unlike you would with a straight farm render)
Title: Re: Render view display while command line rendering
Post by: WAS on December 23, 2020, 06:10:55 PM
The command line is a separate entity, designed for headless usage. You could just view the resulting tiff images in temp to see their progress. I don't know if this will mess up the render though. I'd try to use a viewer that only reads the image, not open for read/write.
Title: Re: Render view display while command line rendering
Post by: Matt on December 30, 2020, 08:02:55 AM
I will add some new arguments to override the -hide flag that is automatically set when rendering with -r.

By the way, updated documentation for TG4 is here:
https://planetside.co.uk/wiki/index.php?title=Command_Line_Reference
Title: Re: Render view display while command line rendering
Post by: WAS on December 30, 2020, 04:39:01 PM
Oh I didn't even know it could  display any graphic elements as I mainly just use it over SSH. I should try tunneling in with graphics support.
Title: Re: Render view display while command line rendering
Post by: followthegik on January 04, 2021, 12:28:05 PM
Thanks matt,
That sounds like what I'm looking for