Re: [JAVA3D] Loaders in applets

2001-09-14 Thread Fergus Murray
Well, I've actually given up and won't be on this list after today, unless I subscribe again later at a different address, but in case it helps anyone else here is my HTML file. I'm afraid it's weird and cluttered; I've always been a little bit vague about how all the different ways of including

Re: [JAVA3D] Loaders in applets

2001-09-14 Thread Fergus Murray
>did you add the codebase attribute? >archive="Viewer.jar, MS3DLoader.jar, >ledatastream15.zip"> Yes. I've tried it with a dot, with the actual path to the applet, and without the codebase attribute. I wonder if I've got any chance of getting a different loader to work by the end of today. I'm

Re: [JAVA3D] Loaders in applets

2001-09-13 Thread Fergus Murray
>Just a guess... >I had a similar problem with the .obj file loader until I realized that the >texture loader wasn't using the current directory to look for the specified >texture file. Try specifying the path of your vrml file; e.g., VrmlLoad >.\vrml_file.wrl The texture loader might use that pat

Re: [JAVA3D] Loaders in applets

2001-09-13 Thread Fergus Murray
>You can define the classpath needed with the syntax below. This is how I >display my applet. I haven't worked with the NCSA loaders, so your mileage >may vary. > > > >All the jars will be loaded over the net rather than off your local drive. Thanks Kevin... this sounds good, but doesn't actua

[JAVA3D] Loaders in applets

2001-09-13 Thread Fergus Murray
Apologies if this is a stupid question, but how do you use a loader in an applet? I'm trying to convert my application using the NCSA loaders to an applet, and I get >> java.lang.NoClassDefFoundError: ncsa/j3d/loaders/ModelLoader at soccer.client.LoadedModel.(LoadedModel.java:55)

Re: [JAVA3D] Animating imported models

2001-09-13 Thread Fergus Murray
>I am currently animating imported VRML97 models using Sun's old VRML/Java3D= > loader. While I don't import VRML behaviours, it's a similar problem to = >yours, so you might be able to use the same approach.=20 > >Basically, I tag the nodes of my model in the VRML with DEF tags: > >DEF rootNode T

[JAVA3D] Animating imported models

2001-09-04 Thread Fergus Murray
What I am trying to make is a program with animated humanoids walking and running around, at a rate and in a direction which may vary from frame to frame. It would be good if I could make them fall over from time to time, and so on, as well. Right now, I am managing to import models just about o

[JAVA3D] Sun Lightwave loader

2001-09-04 Thread Fergus Murray
Isn't Java's Lightwave loader (com.sun.j3d.loaders.lw3d.Lw3dLoader) supposed to handle LWO files? The J3D.org listing says LWO, but it seems like it only works with LWS files - all the LWO ones I've tried give me 'Exception parsing file: java.io.IOException: Bad String Token (wanted LWSC, got FOR

Re: [JAVA3D] can't find ncsa.j3d.loaders.vrml97.VRML?

2001-09-03 Thread Fergus Murray
Joachim, your advice sounds very sensible - I found the other lib\ext directory, but it won't let me write anything to it - it says 'The source file may be in use,' erroneously. I'm baffled by this. Further to my previous query, I realised that I hadn't been getting the same error as Adrian befo

Re: [JAVA3D] can't find ncsa.j3d.loaders.vrml97.VRML

2001-09-03 Thread Fergus Murray
Scratch that - it turns out I just needed to include jre\lib\ext in my classpath. This seems pretty weird to me - it looks like it's finding the Java3D jars in the same directory without havingto be told where to look. Anyway, it's working now and that's the main thing. Apologies if I've wasted

Re: [JAVA3D] can't find ncsa.j3d.loaders.vrml97.VRML

2001-09-03 Thread Fergus Murray
Did anyone ever solve this? It sounds like I'm getting almost exactly the same error Adrian had - I can compile my file which is supposed to use the NCSA Portfolio loader, but when I try to run it I get 'Exception in thread "main" java.lang.NoClassDefFoundError: ncsa/j3d/loaders/ModelLoader.' My

Re: [JAVA3D] Full screen, hardware acceleration, texture maps

2001-08-21 Thread Fergus Murray
>> always this slow in Java3D, or is my graphics card to blame or something? >Definitly your GFX-Card. Matrox G200 is a business office card not a >3d/gamer card so it's fillrate is awfull low. I would suggest to upgrade >it at least to a G400 which is equal to a TNT2. I think the G200 lies >somew

[JAVA3D] Full screen, hardware acceleration, texture maps

2001-08-21 Thread Fergus Murray
Is the OpenGL Full-Screen 'workaround' technique of using a Window object sized to fill the current screen enough to gain the full advantage of hardware acceleration? Does it depend on what graphics card you're using? I'm using a Matrox Millennium G200, in case that makes a difference. My progr

[JAVA3D] Getting the frame rate

2001-08-20 Thread Fergus Murray
Is it possible to find out what frame rate a Java3D app is running at? It seems like an obvious thing that almost every Java3D programmer would want to use at some point, but I've been searching around for one without success... Thanks - Fergus C. Murray http://fergusmurray.members.beeb.net/

Re: [JAVA3D] TransformGroup & Transform3D

2001-08-16 Thread Fergus Murray
J.D.: >Yes you can use transform3ds directly on Vector3f, Point3f, etc. Which >comes handy IMHO. I use it from time to time without a TG. So you can. I admit I'd missed that. A.R.T-C.: > In addition, one of the heuristics for OO design is to make each class > represent one concept.

[JAVA3D] TransformGroup & Transform3D

2001-08-15 Thread Fergus Murray
Can someone explain to me why the functionality of Transform3D isn't just built into TransformGroup? A TransformGroup always has exactly one Transform3D associated with it, doesn't it? Is there any way to use Transform3D other than as a component of a TransformGroup? Wouldn't it save quite a lo

Re: [JAVA3D] Changing the position of the ViewPlatform in the scene graph - MultiTransformGroup

2001-08-06 Thread Fergus Murray
I want to make my camera orbit my scene when someone moves a slider. The obvious way to do this would be to transform it some way away from the action, and then apply a rotation. However, after quite a few hours of struggling with the problem I'm still baffled about how I can do this using a Sim

Re: [JAVA3D] Motion Capture & Java3D

2001-08-01 Thread Fergus Murray
Francesco, It would be great to have a database of downloadable motion-captured animation data available. What form are you storing the data in? You might find it useful to talk to some H-Anim (humanoid animation) people about this, assuming it is humanoids whose motion you are capturing... v

Re: [JAVA3D] Rotating objects about their own axes/Over-large attachments

2001-07-30 Thread Fergus Murray
How about filtering out attachments to this list which are over 100k or so? I'm on such a fast connection at work that I haven't been bothered on this particular list, but it seems to me that the capability to send bandwidth-guzzling, inbox-overloading monster attachments is far more trouble than

Re: [JAVA3D] Jerkiness

2001-07-26 Thread Fergus Murray
>The way I understand it, the only way we're guaranteed that the >rendering thread won't step on scene graph updates (or vice >versa) is for us to complete all the scene graph updates in the >processStimulus() method of an active Behavior. Yes... Soon after I posted that message I tried changing

Re: [JAVA3D] A new Java Games API & the Sony PS2 running Linux & Java ...

2001-07-26 Thread Fergus Murray
I'm just going to copy Jeff Kesselman's responses to this from the H-Anim list... >> At 02:29 PM 7/25/01 -0400, P. Flavin wrote: > A new Java Games API will support Networked Games, >and Java & VRML work together for fast animation >with Java3d and does games on the web without Java3d. Um, I'

[JAVA3D] Jerkiness (source)

2001-07-25 Thread Fergus Murray
I forgot to attach the complete source to the previous message. Here it is, just in case. //Comment out the following package statement to compile separately. // package com.javaworld.media.j3d; import java.awt.*;import java.util.*;import java.awt.event.*;import javax.media.j3d.*;import javax.

[JAVA3D] Jerkiness

2001-07-25 Thread Fergus Murray
I've been experimenting with animating a swarm of T's based on a trig function, and most of the time it looks okay but sometimes the trailing T jerks horribly, and sometimes the whole lot do. Is this likely to be just because I'm not using behaviours to control the animation, or might something e

Re: [JAVA3D] Running Java applications

2001-07-23 Thread Fergus Murray
Thanks a lot Charles, Corysia... I've now deleted the Classpath entry thoughtlessly inserted by QuickTime, and it's all working fine. How infuriating (yet characteristic) that Micro$oft completely changed the procedure for editing Classpath, while leaving the old method apparently available but

[JAVA3D] Running Java applications

2001-07-20 Thread Fergus Murray
Well, I managed to find out about the Java2 plugin HTML thing... I just needed to include 'Swing' in my search, even though I'm not actually using Swing. I've realised that specifying the -cp . option with java.exe allows me to run applications in the current directory (why does the correspo

[JAVA3D] Running Java3D apps

2001-07-20 Thread Fergus Murray
Okay, I figured out that the HTML file was failing to specify Java2 for some reason, so by butchering an HTML file that did I was able to fix it and can now run the example applets in alright NS. I'm a bit surprised that the examples I'm working with came with HTML which doesn't do the job, thou

[JAVA3D] Running Java3D applets

2001-07-20 Thread Fergus Murray
Hello all, I seem to remember I had Java3D applets running alright a couple of weeks ago (before I was seriously considering using it myself), but now when I try to run one I get 'Applet Tennis1 class Tennis1 got a security violation: method verification error' in NS, or 'com.ms.security.Secur

[JAVA3D] Controlling unpredictable motion

2001-07-19 Thread Fergus Murray
Perhaps I'm just being dense, but I get the impression that Java3D Behaviors and Interpolators are good for doing things which you know the 'shape' of in advance, and/or things which are triggered by user interaction, but not so great if you want to do something like read a stream from a network a

Re: [JAVA3D] Picking transformed Objects?

2001-07-18 Thread Fergus Murray
Does anyone know if anyone has given any serious thought to using POV-Ray as the basis for realtime 3D graphics - perhaps using a POV-Ray loader for Java3D? I've always thought POV-Ray was a rather beautiful language - enormously much more elegant and powerful than VRML, for instance - and it str

Re: [JAVA3D] VRML, EAI, Script nodes, tutorials

2001-07-18 Thread Fergus Murray
>I believe most VRML browsers just ask for the HTML Browser's VM and fire >the code to that. Basically that means the same restrictions as any >applet. Right... yes, I thought this was more-or-less what was going on. > See the DIS-Java-VRML working group as they do a lot of > networking + script

Re: [JAVA3D] VRML/EAI?

2001-07-18 Thread Fergus Murray
>I doubt it. Somehow I'm still on the list there (the bloody thing >refuses to remove my subscription - says I'm not subscribed!) and there >is one email every couple of months. Basically the working group wound >up when I left it. Not much extra work was done after that. The spec was >done and wa

Re: [JAVA3D] VRML/EAI?

2001-07-18 Thread Fergus Murray
>> disappointingly slow - I'm struggling to get 10 fps with 22 boxes and a >> sphere, and although that's with a fair bit of other processing going on I >Hmm that's quite a lousy performance don't you think this could be a >problem related to the VRML viewer? Maybe no HW-Acceleration >support. I'

Re: [JAVA3D] VRML/EAI?

2001-07-18 Thread Fergus Murray
>I have seen your message. I am also going to work on a project of using >VRML, Java3D and Java EAI. Would you give me some journal or paper about >using the JAVA EAI and why you feel it is not good? I would like to get some >more details before I move to Java 3D. There are quite a few tutorials,

Re: [JAVA3D] Java3D MPEG4 VRML Encoder/Decoder

2001-07-18 Thread Fergus Murray
Motjaba, I think there is actually quite a lot of demand for *any* MPEG4 BIFS encoder/decoder/player which works properly. You may just be asking the wrong people. I don't know if you've tried any of what's available by way of players, but from what I understand there is currently much left t

Re: [JAVA3D] VRML/EAI?

2001-07-13 Thread Fergus Murray
Cheers Justin, Tina... What I'm doing involves a Java program (applet, for preference) controlling a bunch of 3D figures as per a stream coming in - in its current incarnation, the figures are just VRML boxes but ideally, in the end, it would be nice if they look at least a bit like humans - with

[JAVA3D] VRML/EAI?

2001-07-13 Thread Fergus Murray
Hello everyone, I've been working with Java and VRML using the EAI, but I'm being frustrated by the sloth of it, its habit of causing a time-consuming Access Exception every single time I leave Netscape in spite of apparently scrupulous resource-freeing, and also the fact that it doesn't seem t