Hi all,
I've set up a 3D model and now I would like to export images from the model in transparent png form (that is the background to be transparent). I have read many blogs and posts here and there but I can't figure out how to make this work.
I've tried Amnon's approach ( http://amnonp5.wordpress.com/2012/01/28/25-life-saving-tips-for-processing/) but it apparently doesn't work for P3D. I get an error saying “isRecording(), or this particular variation of it, is not available with this renderer.” This would have been perfect as it wouldn't mess with the code in draw.
Now I am trying to figure out how to create the PGraphics object and draw to it (I think this is what I'm supposed to do) in the draw loop which still keeping everything working with PeasyCam. I'm just not sure how I need to do this.
I have posted my entire sketch plus two data files you need to work with it here. There is a ".dat" file which you are asked to load first. And then there is a ".out" file that you need to load after.
Any help is appreciated.
Regards,
Ali
I've set up a 3D model and now I would like to export images from the model in transparent png form (that is the background to be transparent). I have read many blogs and posts here and there but I can't figure out how to make this work.
I've tried Amnon's approach ( http://amnonp5.wordpress.com/2012/01/28/25-life-saving-tips-for-processing/) but it apparently doesn't work for P3D. I get an error saying “isRecording(), or this particular variation of it, is not available with this renderer.” This would have been perfect as it wouldn't mess with the code in draw.
Now I am trying to figure out how to create the PGraphics object and draw to it (I think this is what I'm supposed to do) in the draw loop which still keeping everything working with PeasyCam. I'm just not sure how I need to do this.
I have posted my entire sketch plus two data files you need to work with it here. There is a ".dat" file which you are asked to load first. And then there is a ".out" file that you need to load after.
Any help is appreciated.
Regards,
Ali
1