Garry's Mod

Garry's Mod

Stop Motion Helper
Switch from JPEG to TARGA?
Hello.

When I started experimenting with the SMH tool, I also realized that it is possible to take screenshots in TARGA format in Gmod, instead of JPEG.

(For those who might not be familiar with image formats, TARGA, unlike JPEG, is a lossless format. It means TARGA images have a WAY higher quality than JPEG, at the cost of a bigger file size)

The problem is that the "smh_makejpeg" command, like its name suggests, only takes screenshots in JPEG format.

I'm not a programmer, but my theory is that "smh_makejpeg" is bound to the "jpeg" command (which creates JPEGs), and not the “screenshot” command (which creates TARGAs).

Is it possible in a future update to create a “smh_maketarga”-like command which would render animations in TARGA sequences?

(If not, I could still repeat a hundred times “smh_next; sceenshot” per shot…) *sob*

Cordially,
TGCP.
Last edited by That Gray Cartoon Pony; Jul 2, 2018 @ 6:55am
< >
Showing 1-5 of 5 comments
Winded  [developer] Jul 2, 2018 @ 10:11am 
Hi,

I've written down your request, it should be easy to implement but I make no promises, since I've been lacking the time and motivation to continue this project (as you might see from when the last update was). But if life doesn't get in the way, I may do an update sometime soon. Love your animation style, btw :)
Originally posted by Winded:
Hi,

I've written down your request, it should be easy to implement but I make no promises, since I've been lacking the time and motivation to continue this project (as you might see from when the last update was). But if life doesn't get in the way, I may do an update sometime soon. Love your animation style, btw :)

Nice!

In fact, if it's possible to have both "smh_makejpeg" and “smh_maketarga” commands, it would be perfect, because max quality JPEGs can prove to be sufficient in certain case scenarios, and because I just realized how much TARGAs are heavy.

(I mean, 1GB of screenshots for a 9 second animation?! Come on!) x3

If not, it's ok. It's already nice that you managed to respond this quickly. :)

(Thanks) :3
Winded  [developer] Jul 4, 2018 @ 10:20am 
Can you tell me how TGA rendering works? All I find from google is devshots_screenshot which is no longer a command.
Originally posted by Winded:
Can you tell me how TGA rendering works? All I find from google is devshots_screenshot which is no longer a command.

It's hard for me to tell. All I can say is that when I write "screenshot" in the console, it saves a TGA file in the GarrysMod\garrysmod\screenshots folder. No additional information pops out from the console.

However, from what I also looked up, it may be possible that "devshots_screenshot" was the original name of "screenshot".
IvanTheRexouium Jul 22, 2018 @ 11:11am 
Originally posted by That Gray Cartoon Pony:
Originally posted by Winded:
Can you tell me how TGA rendering works? All I find from google is devshots_screenshot which is no longer a command.

It's hard for me to tell. All I can say is that when I write "screenshot" in the console, it saves a TGA file in the GarrysMod\garrysmod\screenshots folder. No additional information pops out from the console.

However, from what I also looked up, it may be possible that "devshots_screenshot" was the original name of "screenshot".
This is correct, it was later renamed to "screenshot", and I can confirm that command saves a uncompressed TARGA file, I started using it recently.
Last edited by IvanTheRexouium; Jul 22, 2018 @ 11:12am
< >
Showing 1-5 of 5 comments
Per page: 1530 50