[JAVA3D] Java3D is giving NullPointerException while rendering on two Canvas3D

2003-10-07 Thread Joachim Bratteli
Java3D is giving NullPointerException while rendering on two Canvas3D: java.lang.NullPointerException at javax.media.j3d.GeometryArrayRetained.updateAlphaInInterLeavedData(GeometryArrayRetained.java:2133) at javax.media.j3d.GeometryArrayRetained.execute(GeometryArrayRetained.java:2

Re: [JAVA3D] Behaviors Vs. Timers

2003-10-07 Thread Jeremy Booth
Hi More importantly the rendering thread can be 1/2 way through drawing something, you come along and move the object, but it's already drawn some parts (sub nodes maybe), and then it draws the next part in the new position and it all looks fairly horid, when I was using timers instead of behavio

Re: [JAVA3D] Automatically generated BoundingBox

2003-10-07 Thread Jeremy Booth
Hi My understanding (although I've not tried it myself) is that if you ask a branchgroup for it's bounds, it will tell you the bounds that includes *everything* inside it. Try it to test it, but I think thats right. Jeremy -- Homepage: http://www.computerbooth.com/ Codepage: http://www.newdawns

Re: [JAVA3D] Automatically generated BoundingBox

2003-10-07 Thread Michael Pfeiffer
Yes thats correct but it returns a BoundingSphere, not a BoundingBox. Le Tue, 7 Oct 2003 08:42:14 +0100, Jeremy Booth <[EMAIL PROTECTED]> a écrit: Hi My understanding (although I've not tried it myself) is that if you ask a branchgroup for it's bounds, it will tell you the bounds that includes *ev

Re: [JAVA3D] A new game

2003-10-07 Thread Ajay Kumar
I think this file contains virus.   Regards, Ajay === 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 i

Re: [JAVA3D] A new game

2003-10-07 Thread Ben Moxon
My AV software thought the same. -Original Message-From: Discussion list for Java 3D API [mailto:[EMAIL PROTECTED]On Behalf Of Ajay KumarSent: 07 October 2003 10:01To: [EMAIL PROTECTED]Subject: Re: [JAVA3D] A new game I think this file contains virus.   Regards, A

Re: [JAVA3D] A new game

2003-10-07 Thread Michael Pfeiffer
And I'm sure its one of these viruses which would not exist without Outlook and its integrated Virus-API ;-) On Tue, 7 Oct 2003 10:27:29 +0100, Ben Moxon <[EMAIL PROTECTED]> wrote: My AV software thought the same. -Original Message- From: Discussion list for Java 3D API [mailto:JAVA3D- [E

[JAVA3D] removing childs

2003-10-07 Thread dafna gordon
Hi All, i use a behavior to draw spheres. this behavior updates from other class and draws the spheres recording to the data in the other class. i want every time that the behavior is doing the updating it will remove all the spheres from the previous update and draw the new ones. i tried do

Re: [JAVA3D] removing childs

2003-10-07 Thread Lewis Walker
Title: Message Hi Dafna, You should be able to remove the BranchGroup itself that is the ultimate parent of all of your spheres. So - you are not removing all of the BranchGroup's children, but rather you are removing the BranchGroup. That works fine. (As long as you have set the relevant c

Re: [JAVA3D] removing childs

2003-10-07 Thread dafna gordon
Title: Message i tried doing it. i did:   BG.removeAllChildren(); and got the exception. i also defined the following capabilities to the BG ALLOW_CHILDREN_READALLOW_CHILDREN_WRITEALLOW_CHILDREN_EXTENDALLOW_DETACH   i also tried doing a detach(); to the BG before removing the children, but it

Re: [JAVA3D] removing childs

2003-10-07 Thread Lewis Walker
Title: Message Yes - I did mean remove the BranchGroup itself - I just detach() it, and then forget about it and let Garbage collection do the rest. Lewis.   -Original Message-From: Discussion list for Java 3D API [mailto:[EMAIL PROTECTED] On Behalf Of dafna gordonSent: 07

Re: [JAVA3D] removing childs

2003-10-07 Thread Michael Pfeiffer
Hi, I know this problem from J3D 1.2.1. The only solution I found, is, to use an additional BranchGroup which fulfills the condition described by the exception. Le Tue, 7 Oct 2003 15:12:09 +0200, dafna gordon <[EMAIL PROTECTED]> a écrit: Messagei tried doing it. i did: BG.removeAllChildren(); and

[JAVA3D] Picking

2003-10-07 Thread Carlos Vieira
Hi, Someone knows how to get geometryinfo or geometryarray from import com.sun.j3d.utils.geometry.Box. I want to do this because i want to create a shape3d object to use for picking purposes. Thanks in advance Carlos

Re: [JAVA3D] removing childs

2003-10-07 Thread ZACZEK, MARIUSZ P. (MARIO) (JSC-DM) (NASA)
I would highly recommend NOT REMOVING the spheres if you can avoid it.  The reason is because of the POOR garbage collection by Java3Dthis removal and reinsertion will cost you a lot. And I speak from experience because I wrote a program to display a 3D scatterplot using spheres which I woul

Re: [JAVA3D] Java3D is giving NullPointerException while rendering on two Canvas3D

2003-10-07 Thread Mike Pilone
This may be a case of bug 4846822, however that bug was supposed to be fixed in 1.3.1 final. It does still show up in the 1.3.1 beta on Linux. Just a guess from looking at the stack trace. As with all bugs on this list, you need to put together a simple test case and post it. -mike On Tue, 2003-

[JAVA3D] Virus Found in message "JAVA3D-INTEREST Digest - 6 Oct 2003 to 7 Oct 2003 (#2003-69)"

2003-10-07 Thread Lawrence L. Love
Symantec AntiVirus found a virus in an attachment you (Discussion list for Java 3D API <[EMAIL PROTECTED]>) sent to Recipients of JAVA3D-INTEREST digests <[EMAIL PROTECTED]>. To ensure the recipient(s) are able to use the files you sent, perform a virus scan on your computer, clean any infected