monster860 / FastDMM

A robust BYOND map editor
GNU General Public License v3.0
35 stars 16 forks source link

Map screenshots #33

Closed optimumtact closed 7 years ago

optimumtact commented 8 years ago

We have the occasional requirement to produce high quality screenshots of our maps, which generally involves handstitching shots of dreammaker together to form a final map.

Is there potential to take FastDMM's render output and write it to a png file and where in the code should I look to investigate this?

d34d10cc commented 8 years ago

There is certainly potential. Where you would have to look would be beyond me.

monster860 commented 8 years ago

You could probably generate a giant OpenGL framebuffer and have it render the map to that. It would require no hand-stitching.

monster860 commented 8 years ago

Also, have you tried setting the "view" variable on the client in a local server to "31", and using byond's native screenshot functionality to take large screenshots? (Be warned, top and bottom rows will not have borders on the edges of a tile)

optimumtact commented 8 years ago

Yeah I found where the rendering is happening for the viewpoint, so I'll try with a giant framebuffer

we've used all the different methods in byond, what I want is an automated solution that I can drive from a commandline, so I thought I'd just wrap a layer around FastDMM's rendering

ZeWaka commented 7 years ago

This could probably be closed now, since this has been added.