Re: [JAVA3D] Transparency again

2000-06-14 Thread Andreas Ebbert
Hi, this post is now over a week old. Has noone understood what my problem was, or is the solution so simple that nobody cared to answer? Maybe the rogram example was not so clear. What it should display is the following: There are six spheres, each sitting in the corner of an hexahedron. These

[JAVA3D] WakeUp on KEY EVENT auto activate the JFrame parent ????

2000-06-14 Thread Christophe DUPUIS
Hello When I use a Behavior with AWTEvent Key in a graph, when the mouse goes over the Panel3D, even if the JFrame isn't activated (not in front) the JFrame is autoactivated (push to front). Why ? How retrieve Key event without this auto activation ??? Sample code : WakeupCriterion []

[JAVA3D] Random X,Y,Z

2000-06-14 Thread John Mizzi
Is there a simple way of displaying an Object in 3D simple universe by supplying x,y,z coordinates? I suppose something like graphics.draw(x, y ..) but using graphics3D. I looked through the examples but did not find an example in the 3D demo. Any direction will be much appreciated. Tha

Re: [JAVA3D] JAVA3D installation

2000-06-14 Thread John Mizzi
Make sure that the PATH is pointing to the c:\JDK1.2.X or c:\jdk1.3 not the jre directory. Me being I java lover I have the latest version c:\JDK1.3. Try this and see how you go. Manuel Urbina wrote: > Hello John and everybody else; > > Thanks for responding...I followed your instructions, but

Re: [JAVA3D] Simple setup question

2000-06-14 Thread John Mizzi
Make sure you set your PATH to point to the new JDK, set the CLASSPATH to also point to the 3d JAR files. John Asish Law wrote: > I downloaded Java 2 version 1.3 and Java 3D version 1.2 > > After installing both the above, I tried compiling and running a > demo program under C:\jdk1.3\demo\java

[JAVA3D] german tutorial

2000-06-14 Thread pac man
can anyone tell me if there is a germen java3d-tutorial??? ___ http://www.firemail.de - Ihr Briefkasten im Web. Einfach, schnell, sicher. Neu! Jetzt auch mit kostenlosem Fax-Empfang und Voicemail!

[JAVA3D] Mixing Java3D Nodes and VRML worlds

2000-06-14 Thread Ole Vilmann
I want to load a VRML model, change the color of the VRML world (it is one single object that must change color as a whole) and transform it to the origo of my java 3d world. I can see that I can get the transformgroup of a DEF named VRML world in the java 3D faq (I dont have any DEF named shapes

[JAVA3D] Development of Java3D

2000-06-14 Thread Markus Junginger
Hello Java3D Developers and Users, I'm very interested in the Java3D Technology. Last year i wrote a 3D Chat with it to leran the basics of J3D. Now i'm considering to develop a sophisticated online game based on Java and Java3D. Java isn't the fastest choice but i think it's fast enough. The game

Re: [JAVA3D] Transparency again

2000-06-14 Thread Bob Gray
I don't have an answer for you, but I feel and share your pain! I have for a *long* time (and a long time ago) complained about transparency problems in Java 3D. I finally gave up. I had situation of transparent spheres and solid cylinders. When a transparent sphere moves in front of a cylinde

[JAVA3D] Doom style example posted (with source)

2000-06-14 Thread Daniel Selman
All, I have quickly posted my Java 3D example from the SUN Solutions CD here: http://www.tornadolabs.com/News/Doom_Example/book.html I will clean up the presentation a little once when I get the chance, but it will allows those of you interested to take a look at the code and start playing with

Re: [JAVA3D] Transparency again

2000-06-14 Thread Daniel Selman
Andreas, There are a number of issues with transparency, not all related to Java 3Ds implementation as it is a generally hard problem for renderers to solve in an efficient manner. I suggest you look at: http://www.tornadolabs.com/News/Doom_Example/6_texani.html And: http://www.tornadolabs.com/N

Re: [JAVA3D] Transparency again

2000-06-14 Thread J. Lee Dixon
Well, I played around with this for a while (very frustrating)... First I will say that yes I did see the problem. Certain spheres were blended with their background, whereas other spheres merely hid their background... very strange and unpredictable. At one point, I affect the problem by merely

[JAVA3D] how do I set an image for bgd?

2000-06-14 Thread Chris Gates
How do I set an image as the background of a scene?   Much thanks in advance, CG

[JAVA3D] Solution?! [JAVA3D] Transparency again

2000-06-14 Thread Andreas Ebbert
Hi, I found a solution, which is not at all satisfactory, but it works. J. Lee Dixon's hint, that removing the cylinder makes the scene work led me to the right track: I made ALL objects transparent, but set the transparency to zero when there should be no transparency. I have no idea how this

Re: [JAVA3D] Transparency again

2000-06-14 Thread Andreas Ebbert
Hi, first of all, I am glad, that I am not the only one, having this problem. J. Lee Dixon wrote: Well, I played around with this for a while (very frustrating)... First I will say that yes I did see the problem. Certain spheres were blended with their background, whereas other spheres merel

Re: [JAVA3D] non-smooth animations on Sun Ultra60 with either Eliteor Expertgraphics

2000-06-14 Thread Karen Lu
We've seen similar problem on Ultra80 with Elite3d-m3,m6 using OpenInventor. It is an OpenGL problem. We reinstalled OpenGL a couple of times with Sun's latest patches. This solved the problem. You might want to try that. Karen Blair MacIntyre wrote: > > We recently got some Ultra60s with bo

Re: [JAVA3D] Mixing Java3D Nodes and VRML worlds

2000-06-14 Thread Jack Gundrum
I load a VRML file and then access the geometry without using the node DEFS with the following VrmlLoader loader = new VrmlLoader(); Scene s = null; try { s = loader.load(reader); } catch (F

Re: [JAVA3D] Development of Java3D

2000-06-14 Thread Michael Schulman
Markus and others - Sun is putting alot of engineering resources into Java 3D. The development of Java 3D is a high priority within Sun. The actual work comes out of the Sun division that sits with the OpenGL and hardware graphics engineers. We have ongoing plans for future releases. Regarding t

[JAVA3D] change of elements in a 3D scene

2000-06-14 Thread Brice Deregnaucourt
Hi, I have a 3D scene with 3 elements. I would like to change 2 of them inside a loop and then see on the screen the resultant "animation". That work without any user interface but with one, I'm just able to see the final scene after a wait with a white screen during which the "animation" run...

Re: [JAVA3D] how do I set an image for bgd?

2000-06-14 Thread Ching Lai
CG,   Here is sample code to create image for scene background. Assume _canvas3D and _topTG is an instance of Canvas3D and TransformGroup you created early.      // Create the root of the branch graph    BranchGroup objRoot = new BranchGroup() ;    // Create mouse behavior

Re: [JAVA3D] how do I set an image for bgd?

2000-06-14 Thread Greg Hopkins
Like this:-    // Create the root of the branch graph BranchGroup objRoot = new BranchGroup();    // Create a bounds for the background and lights BoundingSphere bounds = new BoundingSphere(new Point3d(0.0,0.0,0.0), 100.0);    // Set up the background TextureLoader bgTexture = new Text

[JAVA3D] out of memory error in java 3D

2000-06-14 Thread Kelvin Chung
Hi Ching, A bug is filed for this problem (bug ID 4345204). This is fixed in the next v1.2.1 beta release. Attach is an example modify from your test program to help clean up the memory. This will work in next release. (1) Before add("Center", c), we need to remove previous canvas from

[JAVA3D] Movement over a surface

2000-06-14 Thread Kevin Bartholomew
I have developed a Linearray to represent a flat surface. I would like to move an object over this surface, without colliding. For example, If the surface had a mountain on it, I would like to be able to move the the object over the mountain not through it. The shape raises and falls with the cont

[JAVA3D] Loading terrains

2000-06-14 Thread Kevin Bartholomew
Instead of developing a surface(terrain) for scratch using Java3D arrays(linearray, quadarrays, etc)is it possible to load a surface or terrain developed in another CAD package. If so, which package, where can I find such a loader, how do I implement this using Java3D, and which file format should

[JAVA3D] Collision Prevention

2000-06-14 Thread Kevin Bartholomew
I would like to know if it is possible to prevent a collision from occurring between two or more object. For example, say I have two cubes rendered in a scene and I use mouse picking to drag cube1 in the direction of cube2. Once a collision is detected cube2 will stop. If this is possible can som

[JAVA3D]

2000-06-14 Thread Paul Byrne [RU-UK]
Hi, There is a bug in the Java3D API which results in the incorrect rendering of multiple transparent objects. The good news is there is a workaround for the problem in Java3D 1.2. When creating a transparent object set a default RenderingAttributes object in the appearance eg : Transp

Re: [JAVA3D] Graphic operations on texture images

2000-06-14 Thread Kasparian, Raffi J.
Uma, Thanks. This required me to bite the bullet and upgrade to java3d 1.2 which I have now done. After checking out the TextureByReference demo, it looks like this method will work for me. Unfortunately, my program which was working in v1.1.3 is behaving differently in v1.2 so I have to tend to

[JAVA3D] Close to the user

2000-06-14 Thread Rob Kooper
Hi, I'm trying to figure out how to put an object (plane) so close to the user that there is no space for anything else. I tried to take a pixel on the screen and converting it to 3D using imageplatetovworld, and I have tried to attach objects to the viewplatform geometry (but at what distance). T

Re: [JAVA3D] Graphic operations on texture images

2000-06-14 Thread Kasparian, Raffi J.
Thanks, Ballard for the help. I received an email from Uma pointing out the byReference option in ImageComponent2D (available only in java3D 1.2). It looks like that will speed up my programs image editing. As far as modifying the image, BufferedImage = ImageComponent2D.getImage() Graphics = Buff

[JAVA3D] version 1.2 broke my lighting effects

2000-06-14 Thread Kasparian, Raffi J.
I have recently upgraded from Java 3D 1.1.3 to Java3D 1.2. This has been and still is a painful process. Several things that worked correctly in my program under 1.1.3 are broken in 1.2. One of them on which I need help concerns lighting. My distilled lighting method is something like the followi

Re: [JAVA3D] Close to the user

2000-06-14 Thread Blair MacIntyre
A thought that occurs to me is that this problem, and some of the issues that arise when combining 2D/3D windows, would be at least partially solved if Java-3D + Swing/AWT supported the ability to easily use overlay planes. If I could create a Frame/Panel/etc in the main planes or the overlay pla

Re: [JAVA3D] version 1.2 broke my lighting effects

2000-06-14 Thread Kelvin Chung
Hi, >MIME-Version: 1.0 >Date: Wed, 14 Jun 2000 15:25:42 -0400 >From: "Kasparian, Raffi J." <[EMAIL PROTECTED]> >Subject: [JAVA3D] version 1.2 broke my lighting effects >To: [EMAIL PROTECTED] > >I have recently upgraded from Java 3D 1.1.3 to Java3D 1.2. This has been and >still is a painful proces

[JAVA3D] back ground example

2000-06-14 Thread Mr. Bleu
here is an example // Set up the background TextureLoader bgTexture = new TextureLoader("p3.jpg", this); Background bg = new Background(bgTexture.getImage()); bg.setApplicationBounds(bounds); theRoot.addChild(bg); -- J. Stone [EMAIL PROTECTED] ===

Re: [JAVA3D] Close to the user

2000-06-14 Thread J. Lee Dixon
Is there a specific reason why you would not want to draw it during the postRender() function? At that time, everything else is drawn and you can force something to be drawn "in front" of everything else, like a heads-up-display. This method is preferred (IMHO) since trying to put something on t

Re: [JAVA3D] version 1.2 broke my lighting effects

2000-06-14 Thread Kasparian, Raffi J.
Oops! Thanks for helping me debug my program, Kelvin. I actually knew that the BoundingLeaf had to be added to the scene graph. I never realized that it wasn't. That's all it took. On to the next problem... Raffi -Original Message- From: Kelvin Chung [mailto:[EMAIL PROTECTED]] Sent: Wed

Re: [JAVA3D] Close to the user

2000-06-14 Thread Blair MacIntyre
--On Wednesday, June 14, 2000 3:42 PM -0400 "J. Lee Dixon" <[EMAIL PROTECTED]> wrote: > Is there a specific reason why you would not want to draw it during the > postRender() function? At that time, everything else is drawn and you can > force something to be drawn "in front" of everything else,

[JAVA3D] Several views of the same object!

2000-06-14 Thread Bruno Sousa Caiado
Hello everybody:)   I´m trying to put in the same window diferent views of the same object (an upper view, side views, etc...) My problem is that i would like to add "real time animation" to all the views, i´ll explain: i would like all the views to move when i move one of them with the mous

[JAVA3D] Java3D consultants/companies

2000-06-14 Thread Edward Becker
Does anyone know of any Java3D companies/consultants that will perform custom work based on a basic set of requirements? Please let me know, I am having a lot of trouble finding any. Anything from somebody learning Java3D and willing to take on an interesting challenge, to an experienced team o

[JAVA3D] Viewing volume

2000-06-14 Thread Roopesh Shendge
Hi, How do I change the Viewing volume? By Viewing volume I mean the area in which the rendering is performed. By defualt the viewing volume is x-axis: -1 to 1 y-axis: -1 to 1 z-axis: -1 to 1 How can I change the above settings? Thanks Roopesh ===