[JAVA3D] AW: [JAVA3D] Draw 2d circle on 3D canvas

2003-04-01 Thread Florin Herinean
I've already seen several answers to your question, but I'm coming with my suggestion too.   I'm supposing that you want to have not a raster image of a circle, but a real 3d circle that you can manipulate like any other shape3d. If it's not the case, just forget that email.   For that, yo

Re: [JAVA3D] Draw 2d circle on 3D canvas

2003-04-01 Thread Jeremy Booth
Joerg 'Herkules' Plewe wrote: Would you mind to share your code? j3d.orgs overlay system is very fancy but also a lot of code and not-so-easy to integrate in other frameworks. Hi I've uploaded the hud zip to the early access part of the resources page on http://www.newdawnsoftware.com , it contai

Re: [JAVA3D] Draw 2d circle on 3D canvas

2003-04-01 Thread Joerg 'Herkules' Plewe
Thx so far, but access is denied (code 403 = Forbidden) - Original Message - From: "Jeremy Booth" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Tuesday, April 01, 2003 11:09 AM Subject: Re: [JAVA3D] Draw 2d circle on 3D canvas > Joerg 'Herkules' Plewe wrote: > > Would you mind t

Re: [JAVA3D] Draw 2d circle on 3D canvas

2003-04-01 Thread Jeremy Booth
Joerg 'Herkules' Plewe wrote: Thx so far, but access is denied (code 403 = Forbidden) oops, fixed :) Jeremy -- PGP key: http://www.computerbooth.com/pgp.html Homepage: http://www.computerbooth.com/ === To unsubscribe, se

[JAVA3D] Destroying VirtualUniverse

2003-04-01 Thread Anirban Bhadore
hi everyone, It looks like there is no way to dump an universe after use. VirtualUniverse.removeAllLocales() is generally used to get rid of the universe which in turn checks and detaches all the branch groups added to the locales, which takes lot of *time* if the scene graph is complicated and la

[JAVA3D] AW: [JAVA3D] Destroying VirtualUniverse

2003-04-01 Thread Florin Herinean
I've run across your problem in the past, and the only solution I was able to find was to reduce the complexity of the scenegraph. By carefully constructing your model, you can avoid a too refined scenegraph. Now I'm able to detach very complicated models in less than 1 sec, while before I needed m

[JAVA3D] AW: [JAVA3D] AW: [JAVA3D] AW: [JAVA3D] J3d memory issues

2003-04-01 Thread Florin Herinean
Well, I don't know what you're doing. That kind of scenegraph shouldn't produce any headache. I see 3 spheres and several lines. The text in front of the scene is also part of the scene ? If it's part of the scene, then the text is more complicated than all of the rest. How is the scene created ? W

Re: [JAVA3D] AW: [JAVA3D] Destroying VirtualUniverse

2003-04-01 Thread Anirban Bhadore
Thanks for the quick reply. I have also came to realize that the complexity in the graph actually creates problems of all kinds. I have already started thinking of simplifying the graph which seems to be a long activity on my part. One of the problems I face is - I need to provide functionality to

Re: [JAVA3D] Line Width in v1.3 DirectX version

2003-04-01 Thread Alessandro Borges
Hi Jasmine. I think we must ask Java3D team to put the readme.txt in a place easier to find it!!   From  readme.txt "Java 3D(TM) 1.3.1 Beta   README file for Win32/DirectX =Information on the Direct3D Implementation of Java 3D==

[JAVA3D] Strange Behavior

2003-04-01 Thread Grant Andrew Crofton
Hey. I'm working on a 1st person game demo in J3D for my uni project, and I have one or two questions you might be able to help me with. As you can probably tell from the questions, it isn't very advanced yet... In a simple Behavior I have written to deal with collisions, I am having difficultie

[JAVA3D] Full-Screen Frustration

2003-04-01 Thread Grant Andrew Crofton
Using some code from a forum, I have been trying to make my J3D app full screen. The main reason for doing this is so that I can change the resolution to whatever I want. GraphicsDevice dev = GraphicsEnvironment.getLocalGraphicsEnvironment().getDefaultScreenDevice (); GraphicsConfiguration gc = d

[JAVA3D] AW: [JAVA3D] Line Width in v1.3 DirectX version

2003-04-01 Thread Florin Herinean
Well, I must admit that I also am one of those guys who seldom read the readmes. Maybe it's because of the name :-) ?   Cheers, Florin    -Ursprüngliche Nachricht-Von: Alessandro Borges [mailto:[EMAIL PROTECTED]Gesendet: Dienstag, 1. April 2003 14:06An: [EMAIL PROTECTED]Betreff: Re:

[JAVA3D] BlackICE and Java

2003-04-01 Thread John Wright
I just thought I'd pass on an interesting tidbit. For the past week I've been trying to identify a "memory leak" in a Java3D program that I run (it runs for about 20 hours straight through a day). Well, after much fussing and testing it appears the problem is induced by the "BlackICE" firewall so

Re: [JAVA3D] RotPosPathInterpolator causes NullPointerException

2003-04-01 Thread David Ben-Yaacov
Kelvin, I could kiss you. But, since I'm in Omaha Nebraska, and you're probably somewhere much nicer, it will never happen. Anyhow, you mentioned the following: "Looks like an MT-safe issues when using SharedGroup, please send us a complete test case." As you had successfully presumed, the

[JAVA3D] Mid-Point of a line

2003-04-01 Thread Ben Logan
Hi Can anyone help me, what is the easiest way to find the mid-point of a line, I’m trying to add a label to some edges in a graph display system.   Regards Ben  

Re: [JAVA3D] Mid-Point of a line

2003-04-01 Thread Martin Traverso
Given the two endpoints A and B, the midpoint P of a line is (A + B) / 2. Thus, if   A = (xa, ya, za) B = (xb, yb, zb)   P = ( (xa + xb) / 2, (ya + yb) / 2, (za + zb) / 2)   I hope this is what you were looking for.   Regards, Martin         -Original Message-From: Discussion li

Re: [JAVA3D] RotPosPathInterpolator causes NullPointerException

2003-04-01 Thread Kelvin Chung
David Ben-Yaacov wrote: Kelvin, I could kiss you. But, since I'm in Omaha Nebraska, and you're probably somewhere much nicer, it will never happen. Anyhow, you mentioned the following: "Looks like an MT-safe issues when using SharedGroup, please send us a complete test case." As you had succ

Re: [JAVA3D] Draw 2d circle on 3D canvas

2003-04-01 Thread Silvio Simone
Hi, To create a 2D circle there are a simpler approach I used serval times.. Create a 3d Sphere and than uses only the body polygones --> 2D circle. If you dont have to create 500'000 thousands 2D circles there arent any memory problems doing that. - Original Message - From: "Jeremy Booth

Re: [JAVA3D] AW: [JAVA3D] Line Width in v1.3 DirectX version

2003-04-01 Thread Jasmine Kwok
yup, me too, I never thought of reading them at all. I just installed the openGL version and my codes work fine. The UnsatisfiedLinkError that occurred previously with the OpenGL version disappeared. Wierd. (I tried OpenGL version previously but the occurance of the exception forced me to tu

[JAVA3D] Drawing Plates on an Earth

2003-04-01 Thread Siew Ching Tan
Dear all, I am trying to construct an Earth using Java3D. However, I am not sure how to draw the plate lie on the same surface of the earth and also filled with color. Besides, I also not sure how to make the layer for the display, such that some plates can lie on top of other plates. Is there any

[JAVA3D] Transformation, light and normal vectors.

2003-04-01 Thread Taeksoo Jung
I made a program something like this. A branch group has a point light and a transform group. The transform group has a shape that has normals in it. When I update the transform, the coordinates seem to be also transformed, but the normals seem not. The ligth effect is abnormal. (So I changed the

[JAVA3D] GeometryUpdater

2003-04-01 Thread Martin Traverso
Hi all, I have a question about GeometryUpdaters. When I call the updateData() method on a GeometryArray object, does Java3D guarantee that the updateData() method of my GeometryUpdater will be called before the former returns? In other words, is the call to GeometryArray.updateData() synchronous?

[JAVA3D] Two Problems..

2003-04-01 Thread praveen kumar
Hi guys, I get this error whenever I run any Java3d program... - Exception in thread "main" java.lang.UnsatisfiedLinkError: C:\j2sdk1.4.0-rc\jre\ bin\J3D.dll: One of the library files needed to run this application cannot be f ound at java.l