I'm just starting to get the hang of using eclipse but I can't find any way to export the application I am making to an EXE file. Am I missing something? In processing it's one click.
The tutorial for eclipse just says to import core.jar but then if I want to use PImage or Opengl I have to import more jars. Can't I just include all the files from "processing/core" from the start?
Eric Christiansen Andrey Pavlenko and Andrey Kamaev have written an amazing autoupdating wrapper for OpenCV. Could we implement something like this for other C libraries too? There are a lot of openframeworks libraries like MSAfluids that would work amazingly well in processing.
/** * Load and Display an OBJ Shape. * * The loadShape() command is used to read simple SVG (Scalable Vector Graphics) * files and OBJ (Object) files into a Processing sketch. This example loads an * OBJ file of a rocket and displays it to the screen. */
And it works nicely but then I wanted to change the color of the rocket so I said
rocket.disableStyle();
fill (255,0,0);
shape (rocket);
But nothing happened? How do I pick the color for an OBJ shape?
I tried doing this with an OBJ that didn't have a material and thus appeared gray. disableStyle seems to take away the color in that case but fill still won't do anything.
After the removal of the JavaScript and android mode I tried installing them with "add mode"
The Mode Manager opens, I click "install", it downloads and then I just get ""could not move mode "JavaScript Mode" to the sketchbook". Am I supposed to set some special permissions?
In the console I have a lot of "could not delete" red text.
I've written a small program that makes plant shapes in 2D with thick lines and used strokeCap (ROUND) to make them look organic.
Now I want to transition to 3D but thick lines look terrible in P3D and strokeCap does not work at all. I've looked into replacing the lines with boxes or other 3d primitives but I can't figure out how to use the translation/rotation system in my case.
I did not use it in 3D as my algorithm generates X1,Y1,X2,Y2 coordinates for my lines. Changing the way it works would be more trouble than it's worth
How can I use the lines as a guide to "wrap" them in some 3d objects? For example I would love it if I could write box(X1,Y1,Z1,X2,Y2,Z2,WIDTH,HEIGHT) and create a box or cylinder around the line.
If I want to draw a sphere I just have to call sphere (100) and processing makes one.
There's little info on displacement mapping in processing (2 threads in this forum mostly) but all I've found involves drawing the sphere vertex by vertex manually.
Is there a way to do a simple displacement mapping of a sphere surface? I just want to add some noise so I can get a more "planetoid" look. Similar to what this is doing:
http://vimeo.com/43377260
In the background refference
http://processing.org/reference/background_.html we can see background () can accept an alpha value. What does this do? Setting the alpha to different values doesn't seem to do anything.
I made this simple code to test out something about colors but whenever I try to run it the whole thing is excruciatingly slow. It takes 5 minutes just for the window to appear.