[JAVA3D] Read VRML, set ALLOW_CHILDREN_EXTEND, Navigate with vrml97.jar : HaldenNavigation Demo. [was:] VrmlLoader ...

2003-07-31 Thread P. Flavin
You can Load VRML and Navigate around after setting --- ALLOW_CHILDREN_EXTEND bits ( as you asked ) using Sun's VRML Loaders ( vrml97.jar ) as has been described ( see below ) in the HaldenNavigation Demo. Load VRML, Navigate around using Halden Navigation Demo --

Re: [JAVA3D] New Java 3D/Networking Games Programming Chapters online

2003-07-31 Thread sprite avatar
Dear Andrew,   I'd like to give my thanks to you.I've read your book and it helped me a lot,go on with it.   Good luck (Andrew_Davison) <[EMAIL PROTECTED]> wrote: Dear All,I've been working on a book tentatively called:Java Programming Techniques for 2D, 2.5D, 3D, and Network Gameshttp://fivedots.

[JAVA3D] question about SimpleUniverse and OrbitBehavior interaction

2003-07-31 Thread McCormick, Brian
All, I'm writing code to compute the mouse cursor's location in the 3d world as the mouse moves on the Canvas3D. I'm using the SimpleUniverse and OrbitBehavior classes. I'm getting what seems to be reasonable results at first, but after I rotate the view platform using the OrbitBehavior, things c

Re: [JAVA3D] setting capability bits for the viewing platform attached to the simple universe

2003-07-31 Thread Mark Hood
> Date: Thu, 31 Jul 2003 11:07:32 -0400 > From: "McCormick, Brian" <[EMAIL PROTECTED]> > > I'm getting the following error while running my code: > >javax.media.j3d.RestrictedAccessException: Cannot modify capability bits > on a live or compiled object > > The code that is causing it is

[JAVA3D] VrmlLoader and applet ! : applets __ CAN __ read local files, Java applications can write / save to your hard drive.

2003-07-31 Thread P. Flavin
Web page appets __ CAN ___ read "local" files, ( from whereever the web page is ) it can read files from the server when the web page is on the serer, it can read local files from your hard drive, when the web page and class files are on your hard drive, but only files in the directory

[JAVA3D] Fw: Loaders and Animation

2003-07-31 Thread Giuseppe Montano
  Hi everybody! This is the first time I write in this ml. I'm a new Java3D user, too. I've read the "Getting started with Java3D" downloaded from Sun. My question is: is possible write very complex 3D objects by code? In my case, I've to create a human face and animate it. It seems to be

Re: [JAVA3D] how do you debug this stuff?

2003-07-31 Thread Mona Wong-Barnum
> 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? In support... I do the same (: Mona ===

Re: [JAVA3D] VrmlLoader and applet!

2003-07-31 Thread Alessandro Borges
Just a tip about applet loading 3D models, not related to policies: To load a wrl model your client will need also a VRMLLoader, as vrml97.jar some workrounds: * pack your classes with a vrml loader; * use Java3D embedded support to OBJ, instead; If someone has more ideias please share with us ;-

Re: [JAVA3D] VrmlLoader and applet!

2003-07-31 Thread Silvio Simone
For savtey issue you cannot load/save files from an applet You should have two "java.policy" files on your HD. Here You should give additional permission rights Example File location: c:\java\jre\lib\security\java.policy c:\programs\java\jre1.4.1\lib\security\java.policy adding this line will wor

[JAVA3D] setting capability bits for the viewing platform attached to the simple universe

2003-07-31 Thread McCormick, Brian
All, I'm getting the following error while running my code: javax.media.j3d.RestrictedAccessException: Cannot modify capability bits on a live or compiled object The code that is causing it is the second line shown below: simpleUniverse = new SimpleUniverse(this); simpleUniverse.getViewin

[JAVA3D] VrmlLoader and applet!

2003-07-31 Thread Cassia Trojahn dos Santos
Hello, I'm trying load a vrml file in an applet, with VrmlLoader. But, I got the following exception: exception: java.security.AccessControlException: access denied (java.lang.RuntimePermission createClassLoader) Do you had this problem before? How to handle it? Following my fragment code:

Re: [JAVA3D] how do you debug this stuff?

2003-07-31 Thread John Wright
Works for me. {grin} - John Wright Starfire Research Ben Moxon wrote: > > 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 Messa

Re: [JAVA3D] oh no, Sun is killing this mailing list

2003-07-31 Thread Nikolai V. Chr.
Nikolai V. Chr. wrote: I came to this conclusion after looking at the new reply address. It used to be: [EMAIL PROTECTED] Now it is:[EMAIL PROTECTED] Seems they are archiving us. It seems to be corrected now. Reply addresses is JAVA.SUN.COM again. Regards Nikolai ===

Re: [JAVA3D] how do you debug this stuff?

2003-07-31 Thread Brian Tarbox
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 t

Re: [JAVA3D] how do you debug this stuff?

2003-07-31 Thread Ben Moxon
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 P

[JAVA3D] how do you debug this stuff?

2003-07-31 Thread Brian Tarbox
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

Re: [JAVA3D] Web Server Delivers Java3d animation with JSP & Sun's Loaders; was: [ Yumetech's ] xj3d java.io.Reader [ fails ] again

2003-07-31 Thread P. Flavin
P. Flavin wrote: Yumetech's Xj3d loaders fail to work in a browser, Sun's VRML loaders work in a browser, with server delivered JSP pages, with animation ... what you want. http://archives.java.sun.com/cgi-bin/wa?A2=ind0307&L=java3d-interest&P=49925 Oops, let me correct an accidental omiss