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 & HelpPrograms › PGraphics.cameraInv - updated Processing 1.01
Page Index Toggle Pages: 1
PGraphics.cameraInv - updated Processing 1.01? (Read 247 times)
PGraphics.cameraInv - updated Processing 1.01?
Dec 26th, 2008, 7:57pm
 
I am trying to run the "Modeling Sketch" from this URL:

http://www.contentismissing.net/?p=42

It was written before Processing 1.01, and it gets stuck on the following line with a complaint that "g.cameraInv cannot be resolved or is not a field"

Vector3f myLineStart = new Vector3f(g.cameraInv.m03, g.cameraInv.m13, g.cameraInv.m23);

The variable "g" is a PGraphics.  Does anyone know of a quick workaround to update this sketch so it will work for Processing 1.01 ??


The sketch uses the WiiRemote, and the video on the web page above looks very cool.  I'd love to be able to run it.

thanks!!

djones
Page Index Toggle Pages: 1