Unfortunately when I try to open the .jar file in Terminal or X11 (the mac terminal emulators), I get an error message that the .jar file could not be opened and I should check the Java console for error messages. I have not been able to find a way to open the Java console on a mac outside of a browser. The Java console I have running in Safari is not showing any error messages.
I'm working on a program that reduces the complexity of a panelized wall geometry by replacing custom panels with standard panels, if their hausdorff distance (
http://en.wikipedia.org/wiki/Hausdorff_distance) is lower than a fixed tolerance.
Currently I am comparing local coordinates centered on the centroids of each of the shapes. Now I am looking for a way to minimize the hausdorff distance by finding an optimal rotation of the shape I am trying to match. any hints would be greatly appreciated.
I'm having the following problem using controlP5 and OCD damjker's camera in a 3D applet. If I change the fov of the camera that renders my 3d scene the gui also zooms in and out, even though I have a separate camera for the rendering of the gui.
A particularly strange aspect of this problem is that the problem does not occur on some computers and it never occurs when I run my app packaged as an executable. Any thoughts would be greatly appreciated.
Thanks,
Niko
Here's some code that suggests the structure of my program:
public void draw() {
...
//draw gui
guiCamera.feed();
pushMatrix();
translate(-width / 2, -height / 2);
noLights();
controlP5.draw();
popMatrix();
camera1.feed();
//draw all 3d geometry
...
}
//and here's the method that updates camera1's fov