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.
IndexProgramming Questions & HelpOpenGL and 3D Libraries › Stereo - Anaglyph / Active stereo rendering lib
Pages: 1 2 
Stereo - Anaglyph / Active stereo rendering lib (Read 8984 times)
Re: Stereo - Anaglyph / Active stereo rendering lib
Reply #15 - Apr 22nd, 2010, 4:08pm
 
OK, we've figured out the bug and are working on it... apparently some graphics cards that don't support active stereo rendering are throwing this error while others aren't. Hopefully we'll have a fix this weekend.
Re: Stereo - Anaglyph / Active stereo rendering lib
Reply #16 - Apr 22nd, 2010, 4:44pm
 
Hi guys, maybe that post will just piss u off loll but i tried the lib with the example offered with it and that makes my computer crash BIG TIME! lolll

i got a MacBook Pro
OSX 10.5.8
2.26 GHz Intel Core 2 Duo
4 Go (DDR3)
and NVIDIA GeForce 9400M 256 Mo

lolll i know its hard to fix a specific issue like this but i tought that would be good to call the bug.

thanks
Re: Stereo - Anaglyph / Active stereo rendering lib
Reply #17 - Apr 23rd, 2010, 4:48pm
 
We've updated the library and the demo files. There are now two examples folders, one for Anaglyph and one for Active stereo. Do not run the Active stereo example unless you know your graphics card supports Active mode; this can cause crashes as Bloom described. The Anaglyph test should now work on all computers. Passive stereo mode should also work on all computers with dual dvi outputs.

Let us know how it works! - Charlie
Re: Stereo - Anaglyph / Active stereo rendering lib
Reply #18 - Apr 24th, 2010, 11:22am
 
First i wanna thank u for ur quick answers Smiley

ok now ... hum i just put ur Stereo.jar in a folder called "library" and ur examples into a folder called "examples".

It seems to be ok by now but i got an error. Theres a confilct between processing and java version

here is my error

Code:
This version of Processing only supports libraries and JAR files compiled for Java 1.5.
A library used by this sketch was compiled for Java 1.6 or later,
and needs to be recompiled to be compatible with Java 1.5.
Exception in thread "Animation Thread" java.lang.UnsupportedClassVersionError: Bad version number in .class file
at java.lang.ClassLoader.defineClass2(Native Method)
at java.lang.ClassLoader.defineClass(ClassLoader.java:775)
at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:160)
at java.net.URLClassLoader.defineClass(URLClassLoader.java:254)
at java.net.URLClassLoader.access$100(URLClassLoader.java:56)
at java.net.URLClassLoader$1.run(URLClassLoader.java:195)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
at java.lang.ClassLoader.loadClass(ClassLoader.java:317)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:280)
at java.lang.ClassLoader.loadClass(ClassLoader.java:252)
at processing.core.PApplet.makeGraphics(PApplet.java:1311)
at processing.core.PApplet.size(PApplet.java:1142)
at processing.core.PApplet.size(PApplet.java:1102)
at AnaglyphTest.setup(AnaglyphTest.java:45)
at processing.core.PApplet.handleDraw(PApplet.java:1571)
at processing.core.PApplet.run(PApplet.java:1496)
at java.lang.Thread.run(Thread.java:613)
Re: Stereo - Anaglyph / Active stereo rendering lib
Reply #19 - Apr 24th, 2010, 1:59pm
 
Hi,

I´ve tryed the AnaglyphTest and it works!

...only in the download file in compiled library isnt file Stereo.jar in folder library...maybe it should be for somebody confusing...

Thanks!
Re: Stereo - Anaglyph / Active stereo rendering lib
Reply #20 - Apr 24th, 2010, 2:34pm
 
Ok i tried on my PC and i does works!
But its just not working on my mac.... sad
Re: Stereo - Anaglyph / Active stereo rendering lib
Reply #21 - Apr 24th, 2010, 7:29pm
 
@Bloom, you should be able to force Java 1.6 on your Mac by going to Utilities/Java Preferences and selecting 1.6 instead of 1.5. I use OSX 10.5.8 and it's working on my machine (with Processing 1.1). But we'll make sure to compile the project to be compatible with 1.5 in the near future and put the zip on the website soon.

@eggstempo, thanks for the heads up. We'll make it so that the zipped folder unpacks to the libraries folder properly.

-Angus
Re: Stereo - Anaglyph / Active stereo rendering lib
Reply #22 - Apr 26th, 2010, 7:04pm
 
Ahh, I just spent two days reading Bourke and playing around with stereoscopy with processing,  just to find that it's already been done..

I guess now we should port it to ProcessingJS =)
Re: Stereo - Anaglyph / Active stereo rendering lib
Reply #23 - May 19th, 2010, 12:19pm
 
Hi all.

I have tried the library in versions 1.0.9 and 1.1, using windows XP, and I always get the error message:

Code:
The package "stereo" does not exist. You might be missing a library.

Note that release 1.0, libraries must be installed in a folder named 'libraries' inside the 'sketchbook' folder.


As mentioned, I put the Stereo.jar in the libraries folder. Then tried to put it under a "stereo" folder. After seeing the error message I created a "libraries" folder in the sketchbook directory and put Stereo.jar in there as well.

I have installed and used  several libraries but never used a libraries folder in the sketchbook folder, always in the one inside processing.

I have checked the dependencies stated in the project's homepage and both files were found in "libraries\opengl\library" folder under processing.

I'm always testing with the AnaglyphTest sketch

I don´t know what else can I try, hope you guys can help me.

Thanks!
Pages: 1 2