Steve Jackson Games Forums

Steve Jackson Games Forums (https://forums.sjgames.com/index.php)
-   Ogre and G.E.V. (https://forums.sjgames.com/forumdisplay.php?f=24)
-   -   Announcement: New Map Bashing Tool - ScreenshotGrid (https://forums.sjgames.com/showthread.php?t=117756)

HeatDeath 10-11-2013 11:25 AM

Re: Announcement: New Map Bashing Tool - ScreenshotGrid
 
I may have misspoke myself there. The screenshot it grabs is the whole screen, so maximizing ScreenshotGrid should be unnecessary.

It wouldn't surprise me if Windows 7 or 8 behave slightly differently - XP is all I've got to test on.

Edit: It occurrs to me that what might be causing this is Screenshot grid not staying minimized for long enough. Right now it only stays down for a quarter of a second or so. If the Screenshot API in Win7 and 8 takes significantly longer, that could be an issue. If you want, I can trivially increase that interval up to a second or so and upload the new version tonight.

I can sort of see one use case for loading a background image - if you want to lay two or more grids onto the same background. But yeah, the workaround at this point would be to just load the output image into an image editor and then use the ScreenshotGrid again on that.

Remember, this is intended to be just one tool in a long toolchain to end up with a playable map. It's output is more to use as a reference when using (e.g.) Ogre Map Editor than to be a base for the final product.

I can look at the rounding math, it might look better if I consistently use Floor instead of Round wherever rounding is occurring - I'll have to experiment.

I don't know about making the grid lines antialiased. This is just using the GDI line drawing functions to draw the lines on an underlying bitmap, and I don't know if GDI supports antialiased lines without implementing it myself, which sounds like work :)

The feedback is all very gratifying, thank you.

[You like me! You really really like me! :) ]

adm 10-11-2013 11:46 AM

Re: Announcement: New Map Bashing Tool - ScreenshotGrid
 
Thank you, I am using Win 8, I just minimised screenshot grid down to where only the capture button was showing and got a quick usable image that way.

HeatDeath 10-11-2013 09:01 PM

Re: Announcement: New Map Bashing Tool - ScreenshotGrid
 
I have just uploaded ScreenshotGrid 1.01 to the same DropBox link.

There are two changes: The first is that during screenshot capture, it now stays minimized for half a second, instead of 64 milliseconds. This may be enough time for it to still be minimized when the screenshot is taken in Windows 7 and 8. Please let me know if that problem persists.

Windows 7 and Windows 8 may treat minimizing and maximizing differently. As it is completely unnecessary to maximize the ScreenshotGrid window for it to work, try leaving the window in its normal state and see if that works better.

The other change is that by changing where the hex grid code rounds sines and cosines to taking the ceiling of the decimal numbers, the hex grids look much more consistent and correct at a lot more zoom levles. The tradeoff is some increased line doubling. I can have it either way, so let me knwo if you have any kind of strong preference either way.

Thank you for your support!

sqw 10-12-2013 03:22 AM

Re: Announcement: New Map Bashing Tool - ScreenshotGrid
 
Cool, I'll give it another go over the weekend.

HeatDeath 12-25-2015 03:21 PM

Re: Announcement: New Map Bashing Tool - ScreenshotGrid
 
Bumping, so people can know about this if they didn't see it two years ago.
I probably oughta make sure this is in the Ogre tools sticky thread.

Download at https://www.dropbox.com/sh/gwiaixxbnuvr9px/5aC5UxZ_Fh

Buzzardo 12-25-2015 04:15 PM

Re: Announcement: New Map Bashing Tool - ScreenshotGrid
 
Quote:

Originally Posted by HeatDeath (Post 1964966)
I probably oughta make sure this is in the Ogre tools sticky thread.

To quote Bugs Bunny: "Ze trick, she is done!"

Proof

HeatDeath 12-25-2015 04:24 PM

Re: Announcement: New Map Bashing Tool - ScreenshotGrid
 
Thank you. Could you add a pointer to the thread maybe? The app is a little specialized and it may not be entirely clear what it's for and how you use it without the explanatory text in the announcement thread.

Thanks again!
Merry Chrismahanukwanzakah

Buzzardo 12-25-2015 04:33 PM

Re: Announcement: New Map Bashing Tool - ScreenshotGrid
 
Quote:

Originally Posted by HeatDeath (Post 1964976)
Thank you. Could you add a pointer to the thread maybe? The app is a little specialized and it may not be entirely clear what it's for and how you use it without the explanatory text in the announcement thread.

Thanks again!
Merry Chrismahanukwanzakah

Done again. :)

HeatDeath 12-25-2015 04:41 PM

Re: Announcement: New Map Bashing Tool - ScreenshotGrid
 
Quote:

Originally Posted by Buzzardo (Post 1964977)
Done again. :)

Thank you sir!

wolf90 12-27-2015 12:22 AM

Re: Announcement: New Map Bashing Tool - ScreenshotGrid
 
Not that it really matters, seeing as it's posted with its own sticky, but this really should be within the Ogre Tools thread…

Looks good!

D.


All times are GMT -6. The time now is 10:17 AM.

Powered by vBulletin® Version 3.8.9
Copyright ©2000 - 2024, vBulletin Solutions, Inc.