Life after GenCon
by
, August 24th, 2016 at 04:29 (13972 Views)
First, I'd like to extend a special thanks to everyone who stopped by the booth at GenCon. It was a long 5 days, but I enjoyed meeting members of the community and, hopefully, we encouraged a few more people become Fantasy Grounds users.
Work continues on the port, as expected. The majority of the work on the controls is complete. Anyone who has built a ruleset or an extension knows that the all of the desktop objects are built of a series of controls: windows, buttons, formattedtext, etc. That's the bulk of what you see during an FG session. I'm focusing more now on the singleton objects like the radial menu.
In my copious free time, I still like to get some work in on the fun stuff. Doug had commented on the previous line-of-sight (LOS) video that it would be great if an image could be used as a mask for the LOS occlusion. We don't want to do per pixel LOS calculations, both for performance and memory—but we could trace the image alpha and generate the occluders from that. On Saturday, I added some tech to the LOS preview to do just that.
https://youtu.be/qVppbivpWS0
In the sample video, the mask generates 814 occluder segments in 2.8 seconds (the time varies based on map size and complexity). Even with the time to create the mask in Photoshop, that's a pretty big time savings. Most of the mask was created using magic wand selections, so that didn't take too much time either.