Re: [JAVA3D] PickPoint

2001-01-17 Thread Theron, Jannie
If I understand it correctly the get method assigns the point to the parameter variable, which you then use from there. Jannie -Original Message- From: Daniel Balaguer Yagan [mailto:[EMAIL PROTECTED]] Sent: Saturday, January 13, 2001 9:24 AM To: [EMAIL PROTECTED] Subject: [JAVA3D] PickPoi

[JAVA3D] Behavior Problems!

2001-01-17 Thread Thijs Maenhout
Hi there, I am having a problem with my PickBehaviors. I am using a Scale, Translate and a rotate behavior and they work fine. But they do not satisfy my needs. For example: When I rotate an object, it rotates itself around the origin. When I scale an object, it scales but also moves to the or

Re: [JAVA3D] Andy's int to float problem

2001-01-17 Thread John D
If I understand, you need to use r = 0.3f instead. No offense, but most of your problems have nothing to do with Java3D and are out of context here, don't you have any school friends that can help you with these java syntax problems. --- Andy Tay <[EMAIL PROTECTED]> wrote: > Hi Josh, > > Thanks

Re: [JAVA3D] Andy's int to float problem

2001-01-17 Thread Andy Tay
Hi Josh, Thanks for your help but.. i would like to put 0.3 into r and when i run it, it shows me that r must be a double and not a float. When i change the float r to double r. The rest of my program shows me alot of errors with the double r. Are there any way that i can set my r to read a de

Re: [JAVA3D] Multiple Views

2001-01-17 Thread Josh Richmond
Hi Zak, In the image I sent, there is a TransformGroup as the parent to each ViewPlatform. This TransformGroup defines the position and orientation of the "camera". In my sample, this transform is in the World/Universe co-ordinate frame. So, if you want two cameras situated along the X axis, b

Re: [JAVA3D] Lightweight Java 3D

2001-01-17 Thread Kyle Wayne Kelly
Ok, just to argue. Speed has never stopped progress at Sun before. Although slow, as Java invariably is, a 3D system made from just Java is advantageous to Sun. Speed never seemed to be a hindrance in the past e.g. any intepreted language will run slower than a language run directly by the machi

Re: [JAVA3D] 3D Games

2001-01-17 Thread Yazel, David J.
Unfortunately, like everything about 3d programming, there is no easy answer. There are many different techniques, but as a simple explanation the program needs to make sure objects don't collide in the first place. For objects to move they are being translated using some method. Lets say a tran

Re: [JAVA3D] Andy's int to float problem

2001-01-17 Thread Josh Richmond
Hi Andy, If all you want to do is make r, xc, yc, and zc into floats, but keep v as an int (which you need to do for your array declaration), just cast the calculation of v to an int: float r, xc, yc, zc, bvol; int v; bvol = ((xc+r)-(xc-r))*((yc+r)-(yc-r))*((zc+r)-(zc-r)); v = (int) (bvol*200

Re: [JAVA3D] Multiple Views

2001-01-17 Thread Zak
How do I define the location of the view? DO I define a vector to place it ? Zak === To unsubscribe, send email to [EMAIL PROTECTED] and include in the body of the message "signoff JAVA3D-INTEREST". For general help, send e

Re: [JAVA3D] Multiple Views

2001-01-17 Thread Josh Richmond
I don't know of any good reading sources, but here's a sketch of the scene graph I was using for a project with multiple views. Essentially, multiple ViewPlatforms are attached to the Locale with a different TransformGroup for each. You can ignore the Switch and Camera geometry shown: it's jus

[JAVA3D]

2001-01-17 Thread Andy Tay
Does anyone knows how to set all my int values to float.. Cos i try to change my int v; to float but they show me an error that say    Incompatible type for new. Explicit cast needed to convert float to int. coordinates = new Point3f[v];   Andy   private Geometry sphereGeometry() {     int r

[JAVA3D] Textures

2001-01-17 Thread Zak
Can anyone guide me throught placing a texture(already formatted) onto a Shape3D object? I have tried the examples yet, it says that it has an error loading the image.   Zak   

[JAVA3D] Multiple Views

2001-01-17 Thread Zak
Does anyone know any sites( other than Sun.com) where I can read on Multiple Views of the same scene.   Thanks Zak

Re: [JAVA3D]

2001-01-17 Thread Ahmed Shakil
I tested your code, works perfect for me. -Original Message-From: Andy Tay [mailto:[EMAIL PROTECTED]]Sent: Wednesday, January 17, 2001 10:22 AMTo: [EMAIL PROTECTED]Subject: [JAVA3D] I try to set my MainFrame to be 400, 400 and even 500, 500.. But when i run the program.. It

Re: [JAVA3D]

2001-01-17 Thread Cromwell Enage
Hello, Andy. I assume you're trying to run the program as an application. My fellow coders and I have had a few problems using MainFrame, so instead we just extend java.awt.Frame; then, on initialization: setLayout(new BorderLayout()); add("Center", canvas3D); setSize(400, 400);

Re: [JAVA3D] Lightweight Java 3D

2001-01-17 Thread Jeremy E. Denton
The basic issue is this (as far as I grasp it): Heavyweight means that the virtual machine gets the native OS to do the drawing for a component. IE: VM: Draw me a button at this location. Lightweight means that the virutal machine does the drawing itself from something that *looks* like the nati

[JAVA3D] 3D Games

2001-01-17 Thread Christopher Michael Morris
I am a Master's student in Computer Science and I'm wondering about the feasibility of using Java 3D for game development. I am pretty new to Java 3D (as well as Java) and have a general question about collission detection as it relates to games. If an object can only be in collision with one othe

Re: [JAVA3D] Lightweight Java 3D

2001-01-17 Thread Doug Twilleager
There are a number of terms here that are getting overloaded. First is lightweight. Most people refer to lightweight in the Java world to refer to Swing's lightweight components. Lightweight components have the property that parent/child window trees share the same native window resource for re

[JAVA3D]

2001-01-17 Thread Andy Tay
I try to set my MainFrame to be 400, 400 and even 500, 500.. But when i run the program.. It always give me a standard size which I couldn't change it.    Andy     public void init() {     setLayout(new BorderLayout());    Canvas3D canvas3D = new Canvas3D(null);    add("Center", ca

Re: [JAVA3D] How to REALLY get humanoid content into a Java3D application?

2001-01-17 Thread Paraskevas Orfanides
We never tried to run it as an applet. All we needed at the time was a stand-alone application running locally on the machine. Making it an applet was in the future plans. But I understand that most people who tried to do something like that had the same problem... --- Siau Tan Long <[EMAIL PR

Re: [JAVA3D] Dark CAVES

2001-01-17 Thread Michael Schulman
About Java 3D and SGI and CAVES - Java 3D can be used for CAVE environments. The real question here is what to do about SGI. The Java 3D development team creates the API and the implementation for Solaris (SPARC) and Windows (various flavors). We license this technology to systems vendors to port

[JAVA3D] pb with transparent texture on SGI

2001-01-17 Thread Gatien Mellion
Hi! (again) I'w working on SGI Indigo2 impact IRIX 6.5 & java 3D 1.1.3, and it seems there's some problems with the transparent texture. I have - a white plane - a texture with some pixels colored and some transparent I would like my plane to have the colors of the texture. But when I u

[JAVA3D] Lightweight Java 3D

2001-01-17 Thread Bob Gray
Title: Lightweight Java 3D Is there anyone out there thinking about doing some kind of Java 3D to Java 2D conversion? Maybe "conversion" isn't the right word.  I've seen some 3D stuff done with Java 2D.  For what it was, it wasn't too bad.  I am wondering if there is any thought about havin

Re: [JAVA3D] LineStripArray problem

2001-01-17 Thread Dvorak, Daniel J.
The LineStripArray can be used to make polygon outlines, for example. The Strip Vertex Count is an array with length equal to the number of polygons you want to draw, and each position in the array has an int that specifies how many vertices make up that particular polygon. I believe the Color3f

Re: [JAVA3D] Dark CAVES

2001-01-17 Thread J. Lee Dixon
You can't really run Java3D in an "emulation" mode. That would really mean that Java3D would have to include software-only versions of all the 3D calls it makes. You CAN put DirectX in emulation mode, and on Linux you can use Mesa instead of OpenGL for emulation, but you can't run Java3D on Macs

Re: [JAVA3D] Dark CAVES

2001-01-17 Thread Yazel, David J.
Hard to get hardware accelleration and be "lightweight" at the same time. You can always run java3d using emulation mode, which is basically a software redering device, I would expect that to run on any system. But if you want hardware acelleration then you need to talk to graphics cards, and for

Re: [JAVA3D] How to REALLY get humanoid content into a Java3D application?

2001-01-17 Thread Siau Tan Long
Are you using VRML97 to load your vrml model? Did you get it running as applet in the browser? How? I always get this: java.security.AccessControlException: access denied (java.lang.RuntimePermission createClassLoader) - Original Message - From: "Paraskevas Orfanides" <[EMAIL PROTECTED

Re: [JAVA3D] Java3D and thread safety?

2001-01-17 Thread trefftz
On Tue, 16 Jan 2001 09:06:30 +0100, Dipl. Ing. Paul Szawlowski <[EMAIL PROTECTED]> wrote: >Hi Kevin ! > >Thanks for your reply. > >> >> >I thought that all Behaviors are executed in the same thread ? >> >> It does today, but that could change in the future. Btw, when I said >> "AWT event behavi

Re: [JAVA3D] Dark CAVES

2001-01-17 Thread Bob Gray
Title: RE: [JAVA3D] Dark CAVES How do you handle the "graphics pipeline per screen" problem that Manuel writes about?  Do you have special Java or Java 3D code to handle this?  If so, is it available for others to use?   Bob Gray -Original Message-From: Giuseppe Conti [mailto:[EMAIL

Re: [JAVA3D] How to REALLY get humanoid content into a Java3D application?

2001-01-17 Thread Paraskevas Orfanides
I actually have been working in a team with a similar project for the last year. Programming th humanoid wasn't quite my project, however, I did construct the graphics. We used Poser4 to construct the human. From there I exprorted it in 3ds formmat. For the purpose of our program, we wanted ea

Re: [JAVA3D] Dark CAVES

2001-01-17 Thread Kyle Wayne Kelly
Title: RE: [JAVA3D] Dark CAVES Why doesn't Sun write a lightweight Java3D?  It would work on all platforms.  Swing is lightweight, why not Java3D.  Isn't system independence Java's true philosophy. - Original Message - From: Bob Gray To: [EMAIL PROTECTED] Sent: Wedn

Re: [JAVA3D] Dark CAVES

2001-01-17 Thread Giuseppe Conti
Title: RE: [JAVA3D] Dark CAVES Dear Manuel and Bob,I don't know exactly what your problem is but we are currently using SGI1.1.3 with our Onyx2 running a Reality Centre and works fine. As I wrote youfew weeks ago now our projectors are in perfect synch and the generalperformance is good.I gue

[JAVA3D] LineStripArray problem

2001-01-17 Thread Zak
Can someone help me -What is a Strip vertex count? And when I am settng the colors of the line, I keep getting Null Pointer exceptions, yet my Color3f array and VertexStip array are the same size Thanks, Zak === To u

Re: [JAVA3D] Dark CAVES

2001-01-17 Thread Bob Gray
Title: RE: [JAVA3D] Dark CAVES This is bad news for me.  I was just about to search the Java3D archives for the notes on using Java 3D in a CAVE on SGI hardware.  I have an opportunity to use a CAVE and thought I'd be able to use my existing Java 3D programs... From this note, it seems to

Re: [JAVA3D] How to REALLY get humanoid content into a Java3D application?

2001-01-17 Thread David
To run a test, just go to any halflife site and grab a textured human, translate it using 3dexploration into a 3ds file and import it using the Starfire loader. I don't use 3dmax myself, but our modellers do. Here is a note from one of them describing to me how he did our dragonman figure, hope

[JAVA3D] Dark CAVES

2001-01-17 Thread Manuel Oliveira
Dear all, A while back I inquired about using Java3D to manage a CAVE with SGI hardware. The people from SUN were helpful and pointed out the need for Java3D 1.2 (current version on SGI is 1.1.3). After some delay, I got a reply from the SGI folks. It was not encouraging. Basically, Java3D 1.2 d

Re: [JAVA3D] Pb with texture on SGI

2001-01-17 Thread David
You did not set the TransparencyAttributes for the shape, and you didn't define vertex colors. Thats probably part of the problem. Dave Yazel - Original Message - From: Gatien Mellion <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Wednesday, January 17, 2001 4:11 AM Subject: [JAVA3D]

Re: [JAVA3D] archives

2001-01-17 Thread Jochen Vandewalle
http://archives.java.sun.com/archives/java3d-interest.html -Original Message- From: Gatien Mellion [mailto:[EMAIL PROTECTED]] Sent: woensdag 17 januari 2001 10:20 To: [EMAIL PROTECTED] Subject: [JAVA3D] archives Hi, where can I find the archives of the java3D mailing list? I found thi

Re: [JAVA3D] How to REALLY get humanoid content into a Java3D application?

2001-01-17 Thread Rudolf J.C. Buijs
Hi Dave, John et al. - Thanks for all the replies. They are very helpful. I gather that you are using 3dmax to define your models. And either StarFire's 3ds loader or a custom file loader to get them into Java3D. Is there any way I could get my hands on a sample humanoid model (incl textures) to

[JAVA3D] Pb with texture on SGI

2001-01-17 Thread Gatien Mellion
Hi! I'w working on SGI Indogo2 impact IRIX 6.5 & java 3D 1.1.3, and it seems there's some problems with the transparent texture. first I made a BufferedImage, transparent pixel are created with "new Color(0.0f, 0.0f, 0.0f,1.0f);" then an ImageComponent2D, then a texture. And I create the plan.

[JAVA3D] archives

2001-01-17 Thread Gatien Mellion
Hi, where can I find the archives of the java3D mailing list? I found this adress http://www.mail-archive.com/java3d-interest%40sun.com/index.html#00100 but the most recent message date is 09/1999 then I try to subscribe the mail-list, but it is one day I have no answer... would I be the

Re: [JAVA3D] Shout3D 2.0 with OpenGL acceleration is out!!

2001-01-17 Thread Scott Otterman
thanks a lot for the info chris! even though the product seemed well designed and its future development very promising my company never really paid much attention to shout3d due to its lack of hardware acceleration support (being limited to a mere 300x200 applet window size because of bad perform