mrkite / TerraFirma

Mapping for Terraria
http://seancode.com/terrafirma
BSD 2-Clause "Simplified" License
278 stars 61 forks source link

So ... How to export PNGs? #56

Closed greysondn closed 4 years ago

greysondn commented 8 years ago

On Ubuntu. I know you're learning to love me.

New package worked fine to install and load, fog of war included.

mrkite commented 8 years ago

You can't export PNGs anymore. The feature has been disabled because of issues with Qt playing nice with OpenGL. I should try it again now that Qt has updated a few times... but previously, any attempts to read from an OpenGL surface resulted in a black image.

greysondn commented 8 years ago

Wouldn't hurt as it was the sole reason to use TerraFirma over alternatives for me - the ability to output full-resolution PNGs with my fog of war applied to them. Was kinda stoked, was going to do an "evolution of the map" thing with

greysondn commented 8 years ago

Pfft, fumble fingers.

... with that. I was going to do an "evolution of the map" thing with that.

IGBC commented 4 years ago

I opened the source in QtCreator and patched the button back in, wired it to MainWindow::save():

World_Map

Yea it works with Whatever version of Qt is shipping on archlinux now.

mrkite commented 4 years ago

Excellent news. I'll test it out on an integrated GPU just to be sure and then add that feature back in.

IGBC commented 4 years ago

Cool!

Its a shame the feature doesn't quite do what I want. I am currently picking apart the code to see how I would render the whole map, not just the current view. (preferably with or without textures)

mrkite commented 4 years ago

This is not back in yet due to changes in the way I compile Qt needing more testing.