I am currently working with the Keystone library, which enables to map projections onto surfaces. The library uses an offscreen buffer (PGraphics object) to draw the sketch. I’ve written a simple programm, consisting of a costum class and some methodes, which I would like to display on the offscreen. I’ve tried to extend the PGraphic3D class with my methodes and classes inorder to invoke them with the offscreen object, however, I’ve failed implementing them correctly. Consequently, I was wondering, if it is even possible to extend the classes PGraphics/ PGraphics3D ?
It’s definitely possible. I have to do this in PraxisLIVE to work around some Processing issues. Make sure you’re setting up the parent, primary and size.