[JAVA3D] texture memory limit

2000-01-28 Thread Jimmy Talbot
Hi, Does Java3D have a "built-in" texture memory limit? I am using an SGI Visual PC. I have a scene that has 150 textures, all 512x512. I can display the scene just fine in VRML (so I know the machine can handle it); in Java3D, the *first* 10 textures or so don't display. I don't get any error me

Re: [JAVA3D] Loop-points in javax.media.j3d.Sound

2000-01-28 Thread Vladimir Olenin
CW> But as Warren pointed out, it is not supported by the Java Sound Mixer. I CW> have to go your way, Valdimir. The problem is that different wav files have CW> to be sychnronized to get the same effect but the java3D-api does not CW> provide any callback, when a sound playback has finished, so i

[JAVA3D] An error message.

2000-01-28 Thread Pei Jir Yeoh
Hello, does anyone know how to solve this?   'A' is a class which extends Group. When 'A' is called, it will display a Cylinder. 'A' also has a method called setValue which will change the height of the Cylinder by utilizing the Morph object.   'B' is a JPanel, which uses 'A' to create a lot

Re: [JAVA3D] Java3D Sound issues

2000-01-28 Thread Vladimir Olenin
U can play midi files together with Java3D, but not wavs. But it's quite natural - none 2 wav or midi files can be played concurrently in Windows, though 1 wav and 1 midi do can. That's because midi uses another 'output device' - synthesizer. U may also wish to check up the example i attached to m

Re: [JAVA3D] An error message :(

2000-01-28 Thread Gupta, Vineet TEC
Are you sure you have set the capability for the shape?       Vineet -Original Message-From: Discussion list for Java 3D API [mailto:[EMAIL PROTECTED]]On Behalf Of Pei Jir YeohSent: Thursday, January 27, 2000 3:21 PMTo: [EMAIL PROTECTED]Subject: [JAVA3D] An error message :(

[JAVA3D] IDEs Using JBuilder 3 Foundation

2000-01-28 Thread N CHILTON
Has anyone managed to set up JBuilder 3 Foundation to work with Java3D? There is obviously more to it than just installing J3D in the foundations JDK. Currently I'm using FreeJava, which is nice for editing, but being a JBuilder2 user would prefer to see if I can use JBuilder3 foundation thanks

Re: [JAVA3D] Java3D Sound issues

2000-01-28 Thread Vladimir Olenin
Hi all, Back to this sound problem (at last!). Ok, first, in the file attached to original letter (Readme.release) i found > The Java Sound engine supports the following 8- and 16- bit, > linear and u-law, mono and stereo sound sample file formats: AU, > AIFF, WAV, and PCM. No

[JAVA3D] Canvas3D reusing

2000-01-28 Thread Vladimir Olenin
I've run into serious problem. Nor that it is something new or unexpected, but time has come to solve it. So, i have the following exception thrown: > java.lang.RuntimeException: DirectDraw does not have enough memory to perform the >operation. > at javax.media.j3d.Canvas3D.updateTexture(N

[JAVA3D] benchmarks

2000-01-28 Thread Hock, Gregg
Does anyone have any URL's for benchmark sites? We have already worked with BenchJ3D from Tornado Labs and would like to find some comparison results from other benchmarks. Cheers, Gregg === To unsubscribe, send email to [EM

Re: [JAVA3D] camera model

2000-01-28 Thread Janet Song
Hi Actually i was also looking for that coz i want the exact location of the Projection Plane so that i can compute the dimensions of this plane using the Field -Of-View which u can set. If i am not mistaken, in OpenGL the Projection Plane is the same as the front clipping plane. so that woul

Re: [JAVA3D] unfolding problem of box

2000-01-28 Thread Carsten Lojewski
On 25 Jan, SUBSCRIBE JAVA3D-INTEREST peter wrote: > dear all: > i try to animate the process of unfolding a box, and the box is formed by six planes >of rectangle. But when i rotate the rectangle with 90 degree along the share edge, it >is found that the rectangle is rotate around the centre. It

Re: [JAVA3D] Orbiting the View around an object

2000-01-28 Thread Dvorak, Daniel J.
I'm trying to do the same thing. I had to write my own behavior class. I've had some success doing all the math and multiplying Transform3D matrices, but not full success. I've looked at the "lookAt" method in Transform3D, but then I still have to calculate which way I want to be "up" in the vie

[JAVA3D] Geometry

2000-01-28 Thread Istvan Racz
Hi, I load an object from a VRML file ( it can be for ex. a cube ) and I want to find its vertices. And after that I want to put it into a "brick". How can I do these? Thanx, any answer can help me a great ! === To unsubscr

Re: [JAVA3D] Loop-points in javax.media.j3d.Sound

2000-01-28 Thread Chris Wewerka
Thanks for the answers, Vladimir and Warren. > Chris, i do VERY doubt that Java3D supports such things as > markers (and can only wonder how u can say to Java3D which segment to > play). I myself used separate short wavs (from 2k up to 10k) for each > event. I got the idea from the java3d-docum

Re: [JAVA3D] Object Bounds -- Please Help!

2000-01-28 Thread Vladimir Olenin
Joerg, try to turn bounds auto-computing off (sphere.setBoundsAutoCompute(false) method) and see if anything changes (it really should). vladimir -=V=- >---<=>---< Join in Java community now! http://JavaCafe.VirtualAve.net/ >---<=>---< In your

Re: [JAVA3D] Object Bounds -- Please Help!

2000-01-28 Thread Stephan Haut
Hi Joerg! Try this: > Here we go: > > // Sphere created with: sphere = new Sphere(0.2f) --> sphere.setBoundsAutoCompute(false); //Maybe it helps! > // Capability Bits set > > BoundingSphere sb = new BoundingSphere(new Point3d(0f,0f,0f),0.2d); > System.out.println("Created Bounding Sphere: "+

Re: [JAVA3D] Orbiting the View around an object

2000-01-28 Thread G . Veith
Hi Dean, this is a simple example that describes how to let rotate your viewpoint around an object. The object has to be in the center of its coordinate system. The viewpoint has to be in the same coordinate system as the object in question. If not, you first have to apply some coordinate transfo

Re: [JAVA3D] more vecmath questions...

2000-01-28 Thread Hardy Henneberg
Evan Drumwright wrote: > Lily, > > I need to rotate about an *object's* x,y, and z axes, rather than the > coordinate system's axes. Unless there is something that I am missing, I > cannot rotate around x, y, and z simultaneously. I first must rotate around > one axis, then around another, and

Re: [JAVA3D] Moving the view around on a sphere

2000-01-28 Thread G . Veith
Hi Daniel, if you want to let rotate an object around an arbitrary axis in an arbitrary coordinate system, you have to transform the object into that coordinate system. Then transform it into the origin of that coordinate system and apply rotation. You can get a transform3D consisting of all rota

[JAVA3D] Object Bounds -- Please Help!

2000-01-28 Thread Joerg Baus
Excuse my impertinence on the bounds topic. Could somebody from the Java3D-Team or anybody else explain the miracle of bounds objects. How does Java3D compute bounds ? Why are setBounds() Operations ignored? The following code snippet reveals strange results (at least for me) in a live scenegrap

[JAVA3D] NormalGenerator??

2000-01-28 Thread Barry Walsh
Hello, I have had troubles with the NormalGenerator. I have used QuadArrays of varying sizes and, found that for some of my files, the NormalGenerator will generate more normals than there are vertices for the QuadArray. For example, I have a QuadArray with 6 polygons, 24 vertices, and the Nor

[JAVA3D] Scaling objects with mouse

2000-01-28 Thread Frédéric Chopard - BaK
I'm desperatly searching a way of scaling objects (in fact only Box primitives) with the mouse. The scale could be non-uniform, depending on the move of the mouse. I try to modify MouseTranslateBehavior this way and I always get a BadTransformException ... non-affine transform. Is there a problem

Re: [JAVA3D] stop the renderer, but keep background sound playing

2000-01-28 Thread Kelvin Chung
Hi Jimmy, Have you try v1.2beta1 ? This version fix the problem. Please try the program in the attachment which is modified from SimpleSound. Note that using canvas.stopView() will stop the sound scheduler but using canvas.stopRenderer() will not. If you have a test program that don't wor

Re: [JAVA3D] Human Animation : VRML in, Video out ... W O R K S ! ! !

2000-01-28 Thread Martin Baker
Paul, This looks interesting, I would like to know more,. Have you, or anyone else, done any of the following in Java3D: * Keyframe Animation - if so, do you hold every frame in a seperate scenegraph? can you generate in-between frames? * Joints, Inverse Kinematics? * Bones with skin deformation?

Re: [JAVA3D] Pixel Coordinates to Model Coodinates

2000-01-28 Thread Gary L. Graf
I agree with your comments. I will be the first to admit that I am not a professional Java3D developer but right off hand I don't know how to access the depth of the z-buffer at the desired x-y location. It seems to me that without it you will have to run down the line of sight until you find

Re: [JAVA3D] Question on texture mapping by reference

2000-01-28 Thread Uma Sabada
Lining: byReference and Yup are what is needed to prevent an internal copy. However, this does not guarantee that Java3d will not make a copy. In any case, the performance of the byreference case should be equal to or better than the by-copy case. Please send

[JAVA3D]

2000-01-28 Thread Chen Lu
Hi I have loaded some files with my application.When I reload the some vrml files that error happen. It's out of memory.But I have 128M memory and have 600M virtual memory, and I have detach BranchGroup before reload action. How can I release memory quickly for new load action.     thx Chen L

Re: [JAVA3D] Orbiting the View around an object

2000-01-28 Thread Uwe Trostheide
Hello Dean, Thursday, 27 January 00, you wrote: DK> Hi, DK> I want to be able to orbit my view around the center of object in 3D space. Currently I am rotating my view which causes my object to disappear from view and so I have to pan over to where the object is. I want to be able to orbit

Re: [JAVA3D] camera model

2000-01-28 Thread Janet Song
Hi Actually i was also looking for that coz i want the exact location of the Projection Plane so that i can compute the dimensions of this plane using the Field -Of-View which u can set. If i am not mistaken, in OpenGL the Projection Plane is the same as the front clipping plane. so that woul

Re: [JAVA3D] Orbiting the View around an object

2000-01-28 Thread Jimmy Talbot
Hi, > I want to be able to orbit my view around the center of object in 3D > space. Currently I am rotating my view which causes my object to A rotation is applied about the origin; so, if you want to rotate about the center of an object (say its center is at (cx, cy, cz)), first translate what

[JAVA3D] stop the renderer, but keep background sound playing

2000-01-28 Thread Jimmy Talbot
Hi, In my application I want to periodically stop the renderer to use my cpu cycles somewhere else. However, I'd like to keep a background sound playing; right now (as far as I know), if I stop the renderer, the background sound stops playing. Is there any way around that? Thanks Jimmy ===

[JAVA3D] An error message :(

2000-01-28 Thread Pei Jir Yeoh
Does anyone know how to solve this problem?javax.media.j3d.CapabilityNotSetException: GeometryArray: no capability to get vertex formatWhen I set the capability to get the vertex format, it only leads to another kind of error..   This problem occurs when I am using Morph.

[JAVA3D] Picking

2000-01-28 Thread Claude Fuhrer
Hello I've an application which use some PickRays... With java3D 1.1.3 the picking action find some of the picked object. With java3d 1.2b, the same application i've just recompiled doesn't find any picked object... What are the difference between PickRay v1.1.3 and pickRay v1.2 ? thank you

[JAVA3D] Object Bounds -- Please Help!

2000-01-28 Thread Joerg Baus
Excuse my impertinence on the bounds topic. Could somebody from the Java3D-Team or anybody else explain the miracle of bounds objects. How does Java3D compute bounds ? Why are setBounds() Operations ignored? The following code snippet reveals strange results (at least for my) in a live scenegrap