Thats basically how I debug right now as well.  Even the power of a printf
(or a log4j if we're getting fancy) doesn't tell you when/why something
didn't get drawn.

I draw lots of quads, all data-driven.  Some of the quads I request to be
drawn are illegal (quads must be rectangles, its possible to get 4 points
that cross so as to not make a valid rectangle).  It would sure be helpful
to get an error log or exception for the 1 out of 1000 that was illegal so I
could fix it. (For example).

Thanks.

Brian

-----Original Message-----
From: Discussion list for Java 3D API
[mailto:[EMAIL PROTECTED] Behalf Of Ben Moxon
Sent: Thursday, July 31, 2003 7:09 AM
To: [EMAIL PROTECTED]
Subject: Re: [JAVA3D] how do you debug this stuff?


I use the most sophisticated possible solution:

System.err.println("Vector2 now is ("+Vector2.x+", "+Vector2.y+",
"+Vector2.z+")");

What?

Why are you all looking at me like that?


-ben

-----Original Message-----
From: Brian Tarbox [mailto:[EMAIL PROTECTED]
Sent: 31 July 2003 12:01
To: [EMAIL PROTECTED]
Subject: [JAVA3D] how do you debug this stuff?


A somewhat tongue in cheek question but how _do_ you debug?
Lots of times I create a scene graph and nothing appears.
I see no support for logging, and the draw code doesn't seem to return
errors or throw exceptions.

So, how are folks debugging their scene-graphs and transformations?

Brian Tarbox

===========================================================================
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff JAVA3D-INTEREST".  For general help, send email to
[EMAIL PROTECTED] and include in the body of the message "help".

===========================================================================
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff JAVA3D-INTEREST".  For general help, send email to
[EMAIL PROTECTED] and include in the body of the message "help".

===========================================================================
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff JAVA3D-INTEREST".  For general help, send email to
[EMAIL PROTECTED] and include in the body of the message "help".

Reply via email to