Open GoogleCodeExporter opened 8 years ago
[deleted comment]
Here is the screenshot of the error:
http://dl.dropbox.com/u/2454125/20110302_fidgen_error.PNG
Original comment by yanto.e...@gmail.com
on 2 Mar 2011 at 2:54
Attachments:
I' am also having this problem, were you able to slove it?
Original comment by franceso...@gmail.com
on 12 Jul 2011 at 1:13
The problem seems to be with the physics.update() function. Whenever the
physics.update() code is run, which happens the second time that FidGen.pde's
draw function is executed, the code falls over. By commenting out this line
(see below) the screen shows up as expected. I'm not sure yet what effect
commenting out this line will have on the program.
//partial code
noStroke();
pushMatrix();
pushMatrix();
//*************************************************************
//when this code is executed the Null Pointer Exception occurs
//physics.update();
//*************************************************************
println("Second fid.update: ");
fid.update();
AABB bounds=fid.getBounds();
Any clues why this is happening or the effects of commenting out this code?
Original comment by martyma...@gmail.com
on 13 Jul 2011 at 1:08
Seems that one of the nodes after initilialising procedure is not instanced.
i solved this pragmatically by adding a new code line like this:
[add in Fiducial.pde]
...
void update() {
// ******** add new row here ********
if (blacks == null) return;
// ******** end update: ********
avgBlack=new Vec3D();
Iterator i=blacks.iterator();
while(i.hasNext()) {....
in my case, it works after this patch regular. hope this helps.
Original comment by i...@schwemberger.de
on 20 Jul 2011 at 9:06
Hello guys... I´m having exactly the same problem, any ideas if there are
problem running Fid.gen in Windows 7 64 bits?
Im new in to processing, and cannot fix code problems by my self...
I´m having this message "The constructor VerletParticle (Vec3D) in undefined"
and this line of code gets highlighted (where it says "super (pos);")
...
public FiducialNode(FiducialNode p, int numChildren, Vec3D c, Vec3D pos) {
super(pos);
parent=p;
if (p!=null) level=p.level+1;
centre=c;
...
Any help will be apreciated...
Thanks in advance.
Julian.
Original comment by basin...@gmail.com
on 7 Sep 2011 at 10:01
Original issue reported on code.google.com by
yanto.e...@gmail.com
on 2 Mar 2011 at 2:46