Heatmaps for Halo Custom Edition
I'm having quite an interest in heatmaps recently. They actually are quite useful for debugging and other neat little things. I know there's a heatmap generator out there right now (thanks IG!), but it just barely cuts it.
I'm wondering if anyone here, including those who made the first heatmap tag collector, would be interested in expanding on the idea and make actual heatmaps for Halo. There's an idea that's been sitting in the back of my mind for the website, and for it to work perfectly, we'd need heatmaps to be created as color images. It's definitely more difficult than just putting dots on an image, so it would take a little thinking. I'm not even sure how much work it would take someone to do this. If anyone has any thoughts (logical ones), then please don't hold them back.
Re: Halo Custom Edition Heatmaps
Well, I assume the map has x,y coordinates, right? The way I would create a heatmap is getting a list of coordinates (the kills/deaths/whatever), adjusting a radius for each dot, and using the resulting circles' intersections, create an image with the heatmap colors representing certain concentrations of intersections. I'll try to put this in image form if it's not as clear as I'm thinking it is.
Re: Halo Custom Edition Heatmaps
The main problem I see with heatmaps is getting an overhead view of the map, then taking points in the map's 3d space and plotting them on that view. Collecting statistical information is the easy part
Re: Halo Custom Edition Heatmaps
COuldn't you get the app to spawn planes instead of spheres. Than just apply a transparent mat so that the more planes in an area, the more opaque it is?
Re: Halo Custom Edition Heatmaps
Quote:
Originally Posted by
Kornman00
The main problem I see with heatmaps is getting an overhead view of the map, then taking points in the map's 3d space and plotting them on that view. Collecting statistical information is the easy part
What about rendering a topview image of the map, then plotting it on that?
Re: Halo Custom Edition Heatmaps
Thats one way of doing it, but that requires you to have the source level geometry (ie 3dsmax) and bitmaps\shaders (if you really want it to look right). Doing something like b.net stats requires a generic method which can be ran in game for instance so any map can be done.
From there you would have something stitch multiple overhead views together so you could have a wide, high precision landscape view to plot on. Then using view frustum with screen <-> world matrix math you could begin plotting points. The engine has the functions do such things, but I've only researched where they are in the tool code. So in theory, OS could be made to not only stitch a few overhead captures together, but to also perform the plotting math at the end of the game (or as a game is played using a simular system as a halo 3 saved film).
It could be taken further to extending tool\sapien to auto-generate tag data (which could be inserted into the 'yelo' tag for OS to operate with) which determines the location spots for the overhead (among other things) to goto by analyzing the bsp geometry and boundries. Stuff that I'm sure Bungie is already doing with their Halo 3 codebase and tools
Re: Halo Custom Edition Heatmaps
Well let's say that getting an overhead view of the level isn't an obstacle. If I was going somewhere with this, I would just get the views from Max. I don't think I would generate heatmaps for every level - only those which are "the best" and the most played.
Do you think there could be a way to bring an image into an app and then assign the left, right, top, and bottom bounds for the coordinates of the image? It would create a grid, essentially, and then the app could place a dot at the coordinates of the image where there was a kill. Think of something similar to Google Earth (the way it works, not the click and drag ability, though that would be pushing it for awesomeness).
Re: Halo Custom Edition Heatmaps
Like Kornman has already said the hard part is plotting the locations onto a 2d image. I remember trying to track players location in real time with Keihatsu.
Skyline and I were thinking about heatmaps for CE just a day ago lol weird huh.
Re: Halo Custom Edition Heatmaps
Well if I was going to design something, I would want to be able to use it myself, since I don't have 3dsmax.
You would need the 3d bounds (not just the 2d as you're thinking) of the view frustum image. Having 3d information would simplify the process of doing a heatmap view in a google-maps way (which actually isn't all that difficult to implement).
You would start with a overhead view which encompasses the entire map. Just like b.net's overhead views, these would have to fit into a single "capture". When I say a single "capture", imagine that you're in a debug camera mode and you just looked down at the ground, and started going up. At the point where you can see the entire lay of the land is when you're at the point where you encompass the level in your view frustum and can get it all in one "capture"
Then you would figure out how far you want to be able to scale up the magnifcation which would then determine the math in solving the grid "capturing" so you obtain a higher detail of the land, all while being able to scale that captured image down to allow different zoome levels. These gridded captures would be stitched in a fashion which isn't too different from how Yelo on H2 Xbox did its high-res screen shots. Grid "capturing" would just be lowering the camera down closer to a defined grid of the map, then like say, stitching it with other grid captures until you have a whole which matches that single "capture", but at a much higher LOD.
Re: Halo Custom Edition Heatmaps
The "faked" 3d representation (3ds max thing) would need to be scaled perfectly to the size of the map, maybe not 1:1 ration but a constant ratio. So the halo 3d points would work scale down. This is the bit that has puzzled me and kinda grinded me to a halt on it. I'd need to experiment which actual figures and an overall picture laid out.
Do you have any 3d software package installed kornman?