|
||||||
Views:
1,848,198 |
![]() ![]() ![]() |
08-26-25 02:59 PM |
||||
Guest: Register | Login |
0 users currently in Works in Progress | 1 bot |
Main - Works in Progress - SVG Is Hard (1) |
Zoinkity |
| ||
![]() Gator Level: 11 Posts: 40/41 EXP: 4650 Next: 1335 Since: 10-16-24 Last post: 1 day Last view: 1 day |
Golf courses are flat [citation needed] and have been messing around with automatically generating map images as SVGs from their models.
So all well and good? Not quite. If we're going to be realistic here, they have to be piped into an outside editor. 1) Rotation will clip off the edges (as seen above!) unless the bounding box is precomputed and piped into the viewBox, but that doesn't account for how much is actually used image data. Other option is to use scaling to compensate, but aegh that's annoying. Fitting and centering is equally frustrating. 2) Hole maps sort of need their own clipped bounds post-rotation so yay more math. 3) Rendering a shadow 100% duplicates the image. That would need to be translated on a global metric, not in user space. So yeah, math is hard but batch operations in image editors are not. Automation is kinda necessary. There are ~5000 of these things after all and each needs a minimum of three images, usually four. (Crazysauce you can just copy an SVG into a message...minus 10000 chars of circles though.) |
ArceusI |
| ||
![]() Gator Level: 10 Posts: 43/44 EXP: 4376 Next: 38 Since: 01-13-25 From: Homeless in Columbus, Ohio in the United States Last post: 23 hours Last view: 23 hours |
AI does exist, but unfortunately it's not without it's own faults. So automation with AI for this kind of work seems far off. But hey, you never know! (Though, what does SVG stand for?) ____________________ My love for Arceus is eternal. KHInsider Video Game Music for music needs (APPROVED BY ADMIN) |
Zoinkity |
| ||
![]() Gator Level: 11 Posts: 41/41 EXP: 4650 Next: 1335 Since: 10-16-24 Last post: 1 day Last view: 1 day |
SVG? Something vector graphics. Scalable?
Current plan is to still have it generate an initial SVG then feed a bunch of commands into GIMP's command line interface. A vector art program is less ideal in this case. It actually does need to be a raster image in the end due to a bunch of the things you need to provide to the minimap entry as far as reference points go like which pixels act as keys. Part of this is being super-picky about the output replicating the originals for existing maps. Really should just finish this one course manually and leave the automation for the future, but... Minimaps are unique to the N64 games but they changed considerably between them. Not too thrilled with the newer version, and really the in-game grid overlay is much cooler (and scalable to a degree), but at least three of them are mandatory. |
ArceusI |
| ||
![]() Gator Level: 10 Posts: 44/44 EXP: 4376 Next: 38 Since: 01-13-25 From: Homeless in Columbus, Ohio in the United States Last post: 23 hours Last view: 23 hours |
Posted by Zoinkity Interesting, that sheds some new light on the N64 as a whole! ____________________ My love for Arceus is eternal. KHInsider Video Game Music for music needs (APPROVED BY ADMIN) |
Main - Works in Progress - SVG Is Hard (1) |
![]() ![]() |
Acmlmboard v2.5.6+neo (2024-08-13) © 2005-2025 Acmlm, Emuz, NinCollin, et al. |
MySQL - queries: 58, rows: 411/420, time: 0.060 seconds. |