Confusiong Rendering
in
Programming Questions
•
3 years ago
It seams Processing does what it wants with me, then i try drawing something like this in P3D or OPENGL
Then Processing will just render nothing so i tested if the code is executed and it is.
So why the fuck did this all work then i still used 2D.
I only changed because i didnt want to rezize my pictures all the time but now its only gray.
I have this thought that my processing is broken.
Maybe some of you have encountered similar problems and can tell me what to do
ps: dont say i should not use classes, project got to big to change that now.
- PImage a=loadImage("picture.jpg");
- beginShape();
texture(a);
vertex(0, 0, 0, 0);
vertex(100,0 , 1, 0);
vertex(100, 100, 1,1 );
vertex(0,100 , 0, 1);
endShape();
Then Processing will just render nothing so i tested if the code is executed and it is.
So why the fuck did this all work then i still used 2D.
I only changed because i didnt want to rezize my pictures all the time but now its only gray.
I have this thought that my processing is broken.
Maybe some of you have encountered similar problems and can tell me what to do
ps: dont say i should not use classes, project got to big to change that now.
1
