I am writing a Processing sketch that will run as an applet.
How do I use the loadStrings() method to load a file from an URL relative to the applet folder (i.e. a file "example.txt" contained in the applet folder)?
Note that
loadStrings("example.txt") will only work to read the file from the sketch folder when run locally/as a standalone application. When the applet is run, the "example.txt" will refer to a file somewhere on the local machine, not on the server. Additionally, loadStrings cannot take a Java URL class (and, besides, I want to avoid using classes not present in Processing spec so that I could have a project that works in ProcessingJS as well).
As a result, Processing 2.0 won't support 3D on slightly older hardware such as netbooks. Processing 2.0a doesn't render 3D on any of the computers I own because the Intel GMA 945 graphics card doesn't support OpenGL 2.0
The questions are:
1)What the hell were you guys thinking? You kill softrenderer and OpenGL 1.5 renderer at the same time. I am making sketches that I want other people to see, not just people with desktops or newer laptops.