Re: [JAVA3D] Audio sourced from MediaContainers

2002-11-21 Thread Guy Carpenter
I've not figured out how to translate a call like this simpleU.getViewer().createAudioDevice(); for use with a non-simple VirtualUniverse. I did spent some time working with this approach: AudioEngine3D a3d = new AudioEngine3D(physicalEnvironment); physicalEnvironme

Re: [JAVA3D] Running Java3D in Multipipe

2002-11-21 Thread Mark Hood
> Date: Thu, 21 Nov 2002 13:41:54 -0500 > From: Mojtaba <[EMAIL PROTECTED]> > > As mentioned in my last email, we have Java3D working on SGI ONYX > machines for a CAVE configuration. However, we've only been able to work > with SINGLE pipe. It would be a great improvement if we could run o

Re: [JAVA3D] global coordinates after transformation

2002-11-21 Thread Brad Christiansen
Hi, You use the method get getLocalToVworld() on the shape. Have a read of the javadoc for this method for the details. Cheers, Brad > Jens Allendörfer wrote: > > Hi everyone, > I'm currently working with a scene built up with the ObjectFile loader. > That means that I have several Shape3Ds in

[JAVA3D] UnsatisfiedLinkError, is this driver problem ?

2002-11-21 Thread Masanori Yano
Hi all, (BWhy does HelloUniverse issue the following errors? (BI use java3d-1_3-windows-i586-opengl-sdk.exe on windows2000. (B (B$ java -classpath . HelloUniverse (Bjava.lang.UnsatisfiedLinkError: useSharedCtx (Bat javax.media.j3d.Canvas3D.useSharedCtx(Native Method) (Bat jav

Re: [JAVA3D] Yellow Screen

2002-11-21 Thread Mike Pilone
Do you have any yellow objects in your scene? Maybe you forgot to translate away from one of the groups (i.e. it is above the view group)? You probably want to attach the view group to the locale, and the object side of the graph to the locale as well so you know the view size will get to all obje

Re: [JAVA3D] Running Java3D in Multipipe

2002-11-21 Thread Paul Gordon
You can see how this is done at the top of the ConfiguredUniverse file: // NOTE: The GraphicsDevice order in the array is specific to the local // site and display system. These assignments may need to be adjusted. // (NewScreen left1) (NewScreen center 0) (NewScreen right 2) (NewScreen fl

Re: [JAVA3D] Running Java3D in Multipipe

2002-11-21 Thread Jack Gundrum
GraphicsDevice[] allScreenDevices = GraphicsEnvironment.getLocalGraphicsEnvironment().getScreenDevices(); System.out.println("Found " + allScreenDevices.length + " screen devices"); for (int i = 0; i < setScreens; i++) {graphicsDevices[i] = allScreenDevices[i];} At 01:41 PM 11/21/2002 -0500, you

Re: [JAVA3D] MouseTranslateBehavior NullpointerException

2002-11-21 Thread Kelvin Chung
Hi Desiree, BoundingLeaf is used as scheduling bound in this test program but it is not attach to scenegraph. It is an application error to do so. However Java3D can handle it better by disable the behavior or throw a more meaning Exception which bug 4782718 - NPE if boundingLeaf in Scheduling

[JAVA3D] Running Java3D in Multipipe

2002-11-21 Thread Mojtaba
Hello, As mentioned in my last email, we have Java3D working on SGI ONYX machines for a CAVE configuration. However, we've only been able to work with SINGLE pipe. It would be a great improvement if we could run our Java3D application in MULTIPIPE mode. Does anyone have any idea on how to do this?

Re: [JAVA3D] OBJ loader and texture maps

2002-11-21 Thread Julian Gomez
on 11/21/02 06:20, Emanuel Brzostowski at [EMAIL PROTECTED] wrote: > Yes, to get it to work, you need the .obj file (including texture > coordinates etc. and also links to the Materials you want to use). The > Materials of the > Object are stored in a seperate file - the .mtl file wich also may con

Re: [JAVA3D] Audio sourced from MediaContainers

2002-11-21 Thread John Wright
Alan, we've used: AudioDevice audioDev = simpleU.getViewer().createAudioDevice(); in our 3D worlds but we did have unpredictable problems (locking up after a random amount of time, often HOURS later) but can't specifically identify sound as the exact problem but it clearly increased the frequency

Re: [JAVA3D] Audio sourced from MediaContainers

2002-11-21 Thread Alan Hudson
Guy Carpenter wrote: I'm trying to set the sound source for a pointSound. If I load sound data from a MediaContainer created from a URL, like this, it works: MediaContainer sample = new MediaContainer("file:/d:/vrml/doodoo.wav"); sound.setSoundData(sample); However if instead I create t

Re: [JAVA3D] Triangulation problems (with test case)

2002-11-21 Thread Mattijs Janssens
Try starting from the vertex with the largest internal angle. White Morph wrote: Hi Mattijs, Thank you for your reply. You seems have a better way to do the triangulation. I also believe there must have some better ways to do that. I tried AutoSEA, a software for acoustics modelling, which alway

Re: [JAVA3D] Triangulation problems (with test case)

2002-11-21 Thread White Morph
Hi Mattijs, Thank you for your reply. You seems have a better way to do the triangulation. I also believe there must have some better ways to do that. I tried AutoSEA, a software for acoustics modelling, which always shows a better triangulation than my Java3D application with the same model. You

Re: [JAVA3D] Thread Safety with addChild()

2002-11-21 Thread John Wright
I wouldn't mind hearing Sun's engineers talk a bit more about any thread safety pitfalls or issues that might exist. We have a client/server world and our customers log in and we do plenty of dynamic updating. Everything more or less works. Every now and then we have a strange issue but in genera

Re: [JAVA3D] OBJ loader and texture maps

2002-11-21 Thread Emanuel Brzostowski
Hi Julian, Yes, to get it to work, you need the .obj file (including texture coordinates etc. and also links to the Materials you want to use). The Materials of the Object are stored in a seperate file - the .mtl file wich also may contain textures (actually the links to some graphics files). Sa

[JAVA3D] Yellow Screen

2002-11-21 Thread Jennifer Mc Gannh
Hi there, I originally had an applet containg two BranchGroups - one for the view and one for the content. However, I then split the content into several different individual BranchGroups and then added all those BranchGroups to another main content BG. Everything compiles fine but I get a yellow s

[JAVA3D] global coordinates after transformation

2002-11-21 Thread Jens Allendörfer
Hi everyone, I'm currently working with a scene built up with the ObjectFile loader. That means that I have several Shape3Ds in the scene. My target is now to add a Transformgroup above such a Shape3D object. If I now change its transformation, the coordinates of the Shape3D object will rema

Re: [JAVA3D] How to Make .obj file

2002-11-21 Thread Mattijs Janssens
Hi, this is a simple obj format description of a cube with unit length. The 'g' statement specifies a group of faces. On the web there are various descriptions of the format(e.g. http://www.royriggs.com/obj.html). v 0 1 1 # 1 v 0 0 1 # 2 v 1 0 1 # 3 v 1 1 1 # 4 v 0 1 0 # 5 v 0 0 0 # 6 v 1 0 0 # 7

[JAVA3D] How to Make .obj file

2002-11-21 Thread Ayman El_Gharabawy
i just want to make file .obj of any shape to load it in my class how to make a file .obj === To unsubscribe, send email to [EMAIL PROTECTED] and include in the body of the message "signoff JAVA3D-INTEREST". For general help,

Re: [JAVA3D] Triangulation problems (with test case)

2002-11-21 Thread Mattijs Janssens
Hello, I had some problems with long-small triangles using some triangulation routine as well. I got some good ideas from the paper "Efficient Triangulation of Simple Polygons" (Godfried Toussaint, McGill University) which should be somewhere on the web. The idea is that you take any vertex, find

[JAVA3D] Rasters and stereo mode

2002-11-21 Thread Elisabeth Thorsen
I use the RasterTextLabel.java class from j3d.org to draw labels at the sides of a box (the box is a LineArray). The rasters work fine when I don't use stereo mode. When I use stereo mode everything else is in stereo, but the rasters are not rendered in the "correct depth". They appear to be clos

Re: [JAVA3D] Diffuse Color Problem in Java3D 1.3

2002-11-21 Thread Martin Frey
Hi Andrew i mean, that if you get a white color on an object, you have not associatet an appearance on this object. that was it in my case i didn't have problems with any color in diffuse and the others (ambient, specular, emissive) - Martin - Original Message - From: "Andrew Davison" <[

[JAVA3D] MouseTranslateBehavior NullpointerException

2002-11-21 Thread Desiree Hilbring
Hi, I try to add a MouseTranslate Behavior in a scene, where the view branch graph is not created using SimpleUniverse. The program teminates with the following exception: java.lang.NullPointerException at javax.media.j3d.BehaviorRetained.updateTransformRegion(BehaviorRetained.java:458)

[JAVA3D] OBJ loader and texture maps

2002-11-21 Thread Julian Gomez
Has anyone had success loading texture maps with the ObjectFile loader? It's loading them, but it's not generating any txc's, so things look pretty strange. -- Dr. Julian "a tribble took it" Gomez ** http://www.polished-pixels.com ===