>     I've just received an interesting Graphics assignment -- write an
> animated school logo applet that utilizes red-blue stereo. Now, I could
> use Java 1.1 like everyone else and limit myself to a postage stamp
> sized applet, but I have permission to use 1.2 and Java3D. The only
> hiccup is that according to my lecturer there is no practical way to
> do Red-Blue stereo with Java3D. I suspect that he is wrong, but I don't
> know how to do it using Java3D. Can I clear the Z-Buffer? Use two 3D
> contexts and blend them? Use one 3D context, render twice, combine and
> flip?

You might want to look over the Mixed-Mode Rendering of Java 3D and see if
that provides the support you need.  In Mixed Mode rendering Java 3D
will call a method, supplied by you, called renderField.  You will
get called twice: once for the left eye view and once for the right eye.


    Can you give me slightly more specific info? Which method(s) of which class(es) do I need to override? Are there any traps or pitfalls? Would I need to make all the objects transparent? Will the z-buffer be cleared between those function calls? Do I have to set up the two view matrices myself, or will Java do that for me?

Reply via email to