Hi, I´m fairly new to processing and programming in general.
I had help putting it together so far using onlinesources, but now Im kinda stuck, so I have this sketch with a 3d object, OBJ file and i have a class with buttons where I want to be able to with one of the buttons change color of the 3d object.
I can get the button in place but I can´t really figure out how to make it work with the obj file. I also wonder how it´s possible to add another button (button2) from the same class, and make it say, have a zoom option. Plus how to get the colorsquare to show up in the upper left corner. Im quite lost at the moment so all help is appriciated. The code is inserted below (I tried another way to randomize the color but that is now inside comments):