Huge performance hit by switching to opengl
in
Core Library Questions
•
1 year ago
Hi all,
I've set up a 3D model using P3D and have been trying unsuccessfully to add some gui controls using controlp5 to the sketch to manipulate the sketch. It appears that controlp5 doesn't get along with P3D very much and that's why it renders the texts very badly. I've tested the setup and it seems that by switching to opengl this issue is resolved.
However, upon switching to opengl, now my sketch is just unbearably slow and unusable. You can see the performance difference by just changing the render engine from opengl to p3d.
I have posted my entire sketch plus two data files you need to work with it here if anyone wants to take a look. 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.
I hope someone can tell me what I'm doing wrong with opengl because I just don't think there should be this much difference between the two! Just for reference I am using Processing 1.5.1.
Regards,
Ali
I've set up a 3D model using P3D and have been trying unsuccessfully to add some gui controls using controlp5 to the sketch to manipulate the sketch. It appears that controlp5 doesn't get along with P3D very much and that's why it renders the texts very badly. I've tested the setup and it seems that by switching to opengl this issue is resolved.
However, upon switching to opengl, now my sketch is just unbearably slow and unusable. You can see the performance difference by just changing the render engine from opengl to p3d.
I have posted my entire sketch plus two data files you need to work with it here if anyone wants to take a look. 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.
I hope someone can tell me what I'm doing wrong with opengl because I just don't think there should be this much difference between the two! Just for reference I am using Processing 1.5.1.
Regards,
Ali
1