|
From: Nikolai V. C. <emp...@gm...> - 2018-12-03 23:54:04
|
Here is some more info on what Justin is trying to accomplish: The radars he wants to simulate/mimic: 1 - Inverse synthetic-aperture radar 2 - Synthetic-aperture radar 3 - Ground radar 4 - Ground radar for moving objects etc etc. But once we got capability for modifying canvas images real-time or through some other method like fragment shader, it will be usable for many things, for example wxr radar etc etc. So for example what he has running now he does 192 3D intersection calls each frame in nasal. This has (on his PC) unnoticeable effect on framerate. However having more than around 40x40 resolution has big effect on framerate, due to the canvas paths. Here is some FG screenshots, first 2 is in higher res: https://cdn.discordapp.com/attachments/233850308156063744/517953928009220116/unknown.png https://cdn.discordapp.com/attachments/233850308156063744/517953841434460182/unknown.png https://cdn.discordapp.com/attachments/233850308156063744/518959133932650499/unknown.png https://cdn.discordapp.com/attachments/233850308156063744/518959066827980811/unknown.png Here is an video: https://www.youtube.com/watch?v=33gF7KPjYAk So before I attempt to do the setPixel, is there a better but also simple way? For example give access to allow nasal to populate a texture that is then sent to effect framework ala. how noise is done now. Regards - Nikolai |