Author Topic: external program for minimaps now with shadows you better believe it  (Read 3791 times)

does it only make a minimap of an area selected by the dup or can it generate for the entire map?

yo this is too rad. Just imagine if it were a client-sided add-on that gave you a map of the server in real time. Too bad that's next to impossible.
its not really that impossible - if you had a script log newly created bricks and fed them into a live-running minimap maker, the time it would take to update only the relevant chunks of the map should be pretty fast.

There is no need to generate the image externally if you tell Blockland to render orthographically. Surprisingly, orthographic rendering is as simple as a few memory edits and requires no DLL: (default lighting)

Shadows are trickier because the frustums need to be adjusted to force highest quality resolution, not impossible with patching but much easier with a DLL: (shadows)

The disadvantage of using real-time graphics for this is limited resolution, although it's the closest an in-game representation will look like. Ray tracing is better overall for customization but I think it's dumb to reinvent the wheel when extremely powerful and configurable renderers exist (Blender cycles). It's smarter to write a proper blb/bls importer and then let Blender do the heavy lifting. (something something abstraction)

but I think it's dumb to reinvent the wheel when extremely powerful and configurable renderers exist (Blender cycles). It's smarter to write a proper blb/bls importer and then let Blender do the heavy lifting. (something something abstraction)
i wanted to learn about how opengl works which has lead to me learning a lot about rendering and a lot about linear algebra so that's why i did this from scratch instead of using another renderer

does it only make a minimap of an area selected by the dup or can it generate for the entire map?
it's planned to do both
« Last Edit: April 17, 2018, 09:28:58 AM by Gytyyhgfffff »

I wrote something to make Blockland take screenshots with tiled rendering, which means splitting the frustum into multiple sections, rendering each and stitching the final result together. It also sets the correct shadow frustum to make extra crispy shadows. So I guess that solves the resolution problem.