Re: [JAVA3D] Java 3D

2004-01-23 Thread Fausto Mancini
to be or not to be... this is the real problem - Original Message - From: "N0223108" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Thursday, January 22, 2004 5:06 PM Subject: [JAVA3D] Java 3D Dear Sir/Madam, I am a PhD student at the University of Newcastle upon Tyne. I have carried

Re: [JAVA3D] Starfire Loader

2004-01-23 Thread Paul Brown
Quick answer: URL url = new java.net.URL("jar:file:/C:/dir/archive.jar!/whatever/model.3ds"); String base = "jar:file:/C:/dir/archive.jar!/whatever/"; Loader3DS loader = new Loader3DS(); loader.setURLBase(base); Scene scene = loader.load(url); -Paul ===

[JAVA3D] Which WakeupCriterion to use?

2004-01-23 Thread André Meyer
Hi, I've got a problem using a WakeupCriterion. My scenegraph contains a set of MorphBehaviors. Now I'd like them to invoke their processStimulus() method if the control class says "lets go". But which WakeUpCriterion should I use? I thought of WakeupOnAWTEvent, but somewhere I read this works o

Re: [JAVA3D] Which WakeupCriterion to use?

2004-01-23 Thread Michael Pfeiffer
Hi, I'm not sure is it is what you are looking for, but there is a WakeupOnBehaviorPost which allowes some kind of user-defined wakeups by calling postId(int postId) (a method from class Behavior). Michael On Fri, 23 Jan 2004 02:53:27 -0700, Andrà Meyer <[EMAIL PROTECTED]> wrote: Hi, I've got a

Re: [JAVA3D] Which WakeupCriterion to use?

2004-01-23 Thread André Meyer
Thanks for quick replay. But as far as I have understood WakeupOnBehaviorPost will only work if another behavior posts a wakeup signal. In my case I want a non-behavior class to post this wakeup signal to all behaviors. Best regards, André ===

Re: [JAVA3D] Starfire Loader

2004-01-23 Thread Ben Logan
Hi Thanks for the help, much appreciated! There is still a problem though, with textures. Here is the code; URL url1 = cl.getResource(fileName); int index = url1.toString().lastIndexOf("/"); String temp = url1.toString().substring(0, index+1); Inspector3DS loaded3DS = new Inspector3DS(url1); Sy

Re: [JAVA3D] Starfire Loader

2004-01-23 Thread Paul Brown
I'm afraid that all I can think of is that using URL, the address is case sensitive. Check that out. And is there really that space in your filename 'ceiling .jpg'? If you turn on the logging, I think the loader tells you exactly what the path and filename are for the texture image that it's expect

Re: [JAVA3D] Starfire Loader

2004-01-23 Thread plewe
Hm, you refuse to lookup the working code samples, so I did it for you: public FiledObjectLoader( URL url ) { mURL = url; mLoader3DS.setLogging(false); // turns on logging to a disk file "log3ds.txt" mLoader3DS.setDetail(0); // sets the level of detail to be logged

[JAVA3D] stereo image visualization with Java3D

2004-01-23 Thread Xiao-Hong Zhu
We developed an app for stereo image visualization using Java 3D. Please take a look at http://www.geocities.com/zteksoft/stereo Thanks, Xiao-Hong __ Do you Yahoo!? Yahoo! SiteBuilder - Free web site building tool. Try it! http://webhosting.yahoo.com/ps/sb/ ==

Re: [JAVA3D] stereo image visualization with Java3D

2004-01-23 Thread Michael Pfeiffer
I experimented with anaglyphs too. So what I'm interested in is, what framerates do you get with your solution? My problem is, that filtering and merging the two images for the left and right eye is really slow because of the high amount of data and the relatively slow painting-speed of the Buffere

Re: [JAVA3D] stereo image visualization with Java3D

2004-01-23 Thread Florin Herinean
I've never played with software stereo. Why don't you use the hardware stereo capabilities ? I'm generating normal, 1 eye images, and then I'm activating the stereo capabilities from the control panel of the graphic card. That way, everything is done in the hardware itself and I'm not experienci

Re: [JAVA3D] stereo image visualization with Java3D

2004-01-23 Thread Michael Pfeiffer
What kind of hardware stereo capabilities should I use? I don't have an VR-helmet and I work with an TFT so that shutter-glasses would be useless too. I don't know what kind of graphics card you use, but mine also doesn't supports anaglyphs directly :-) On Fri, 23 Jan 2004 16:16:03 +0100, Florin He

Re: [JAVA3D] stereo image visualization with Java3D

2004-01-23 Thread Florin Herinean
Ok, you're right. I haven't thought about TFT displays. I'm using a GeForce 4 Ti 4600 with nVidia reference drivers 45.23 which supports anaglyphs out of the box. I've just played yesterday with anaglyph stereo glasses my son received in a banzai comics magazine. However, usually I'm using shutt

[JAVA3D] ? OrbitBehavior vs MouseBehavior ?

2004-01-23 Thread ZACZEK, MARIUSZ P. (MARIO) (JSC-DM) (NASA)
Back in December, someone mentioned that OrbitBehavior is most likely faster than MouseBehavior because in MouseBehavior you keep your eye stable and move the scene, but in OrbitBehavior you move the eye. I've implemented in my program an OrbitBehavior and I can also comment it out and put in a Mo

[JAVA3D] WakeupOnAWTEvent with more than one Canvas3D

2004-01-23 Thread Michael Pfeiffer
Hi, I use a Universe which works similar to the SimpleUniverse but with more than one Canvas3D. Now my problem is, if I want to use a WakeupOnAWTEvent-Behavior, it works only for the last of the Canvas3D which have been attached to this universe. Is there a possibility to force this Behavior to wo

Re: [JAVA3D] Java 3D

2004-01-23 Thread trz
Michael Pfeiffer wrote: Sorry, what you give aren't information but opinions. Or in other words: you only tell us that "people say, J3D is dead". There is no information about the source where you get this information from (beside the strange "we know it because we heard it"). Check this list archi