We closed this forum 18 June 2010. It has served us well since 2005 as the ALPHA forum did before it from 2002 to 2005. New discussions are ongoing at the new URL http://forum.processing.org. You'll need to sign up and get a new user account. We're sorry about that inconvenience, but we think it's better in the long run. The content on this forum will remain online.
Page Index Toggle Pages: 1
3d Surface library (Read 12594 times)
3d Surface library
Jul 20th, 2006, 10:32am
 
I've made a library to easy display 3d surfaces in processing.
Take a look at the examples:
http://www.eskimoblood.de/applets/surface/applet1/

http://www.eskimoblood.de/applets/surface/applet2/

http://www.eskimoblood.de/applets/surface/applet3/

Download:
http://www.eskimoblood.de/applets/surface/surface.zip

Also take a look at my flickr set:
http://www.flickr.com/photos/eskimoblood/sets/72157594205347986/
Re: 3d Surface library
Reply #1 - Jul 20th, 2006, 10:27pm
 
Way cool! Smiley
Re: 3d Surface library
Reply #2 - Aug 17th, 2006, 1:48pm
 
I've updated the library. Now you can draw lines and pipes with the surface coords.

www.eskimoblood.de/applets/surface/surface02.zip
Re: 3d Surface library
Reply #3 - Aug 30th, 2006, 6:26am
 
For someone who is totally new to this, how might I go about playing around with your examples?

I've placed the surface folder in my libraries directory for processing.

Should everything work after that?

I'm getting the following error which leads me to believe there's something I'm missing:

Semantic Error: Type "Surface" was not found.
Re: 3d Surface library
Reply #4 - Aug 30th, 2006, 12:50pm
 
Yes, it should work if the library is in processingRoot/libraries/surface/library. Do you import the library in your sketch?

import surface.*;
Re: 3d Surface library
Reply #5 - Sep 21st, 2006, 5:18pm
 
drawSegment(int,int) was not found in type surface.Surface

I get this error by just using your code for testing...
Re: 3d Surface library
Reply #6 - Sep 22nd, 2006, 4:34pm
 
Yeah, drawSegement is changed to drawVertSegment(startPhi, startTheta, endPhi, endTheta) in the second  version.
Re: 3d Surface library
Reply #7 - Oct 4th, 2006, 8:09am
 
Please give the library a web page and documentation so we can post it from the libraries index on the website.
Re: 3d Surface library
Reply #8 - Oct 4th, 2006, 10:23am
 
It's on the way.
Re: 3d Surface library
Reply #9 - Nov 20th, 2006, 11:53am
 
how´s it going with the documentation? i can´t wait till it´s done. i am feeling kind of clueless without it...
and another question:

can i run the surface library in openGL too?
i tried it in eclipse and got this error message:

Exception in thread "Thread-2" java.lang.NoClassDefFoundError: javax/media/opengl/GLEventListener
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:164)
at processing.core.PApplet.createGraphics(PApplet.java:1040)
at processing.core.PApplet.createGraphics(PApplet.java:969)
at processing.core.PApplet.size(PApplet.java:872)
at processing.core.PApplet.size(PApplet.java:815)
at eskimo4.setup(eskimo4.java:23)
at processing.core.PApplet.handleDisplay(PApplet.java:1237)
at processing.core.PGraphics.requestDisplay(PGraphics.java:568)
at processing.core.PApplet.run(PApplet.java:1406)
at java.lang.Thread.run(Thread.java:613)
Re: 3d Surface library
Reply #10 - Nov 20th, 2006, 1:21pm
 
I hope we will finish the documentation this week.

Normally the lib will work in the OPENGL Mode.
Page Index Toggle Pages: 1