[JAVA3D] Xj3D Dev release 30 May

2003-05-31 Thread Justin Couch
Been a looong time since the last dev release, so it's time to push another one out. There's been quite a few big changes go through the system. These are aimed at simplifying the codebase and starting to get our way into the X3D scripting implementation work. Here's the basic summary of the major

[JAVA3D] how to integrate human speech with InputDevice

2003-05-31 Thread Ralf Bednarz
i try describe my problem for the second time, because i still don't have an answer found to my problem. i want to know if it is possible to process spoken commands, received with the java speech api, in java3d. my project is about a car simulator, that is controled via the human speech. i read

[JAVA3D] how to control the speed of PickMouseBehavior

2003-05-31 Thread Yi
Hi, all: I have a question on how to control the speed of PickMouseBehavior, esp. after I call the method of setupCallback. In my application, the setupCallback() gave me the information of transformation I need, but the movement,such as translation, became very big, how can I control it? Pleas

Re: [JAVA3D] 3D Studio MAX

2003-05-31 Thread Martin Frey
Hi andrei in my programs i do the same. i make a class that hold the shape3D and every other information i need. An other way is to attach a UserData-Object to every shape3D which's holding these informations. i don't know which way is better, but i prefer the first, that's why i can create behavio

Re: [JAVA3D] COLOR_3 + TranspAtt

2003-05-31 Thread N. Vaidya
Don't know if this is deliberate or an oversight, but noticed this quirk with IndexedGeometryArray specification. For example, if I specify an IGA as follows: IndexedTriangle Array ita = new IndexedTriangleArray ( tverts.length / 3,

Re: [JAVA3D] problem with axis of revolution

2003-05-31 Thread Smith, David
Do the faces line up with the original profile? Sounds like a problem in geometry/face creation. This depends greatly on the algo/techniques you are using. You might be creating facets with the wrong surface normals/orientation. Also will depend on the lighting in your scene. May appear flat e

[JAVA3D] problem with axis of revolution

2003-05-31 Thread McCormick, Brian
Hello all, Essentially, I'm creating a surface of revolution by revolving a 2d profile around the profile's vertical axis. The problem I'm running into is this. Let's say I define a sample profile as shown below: (0.0, 0.5), (0.8, 1), (1, 1), (0.2, 0.5), (0.2, 0.0) The object should look rou

Re: [JAVA3D] Isometric Projection

2003-05-31 Thread Justin Couch
R K Shyamprakash wrote: Can somebody tell me is it possible to have isometric projection in Java 3D. if yes, how to achieve this. No, it's not possible to do it. That is a 2D-only technique. -- Justin Couch http://www.vlc.com.au/~justin/ Java Architect & Bit Twiddler

Re: [JAVA3D] blending two textures using an alpha mask

2003-05-31 Thread Martin Traverso
Thanks Dave. I tried it and it worked like a charm.   Originally, I was trying to render everything onto one surface, but I realized that can't be done without preprocessing the textures. I see the trick here is to use two overlapping surfaces and render each texture with it's associated alp

Re: [JAVA3D] DOM interface for j3d/xj3d?

2003-05-31 Thread Justin Couch
josh wrote: Firstly, I apologize if this is a FAQ, but I did search the archives a bit before I composed this. No, not a FAQ. Nobody has been really interested in it. Second: is there any way to access the j3d or x3d data structures via the DOM APIs? No. If not, is there any work being done or ta

Re: [JAVA3D] J3d Collision Detection Library

2003-05-31 Thread Justin Couch
Justin Couch wrote: No. This is purely object to object collision. Bh... try again: purely viewer to object collision. -- Justin Couch http://www.vlc.com.au/~justin/ Java Architect & Bit Twiddler http://www.yumetech.com/ Author, Java 3D FAQ Maintainer

Re: [JAVA3D] J3d Collision Detection Library

2003-05-31 Thread Justin Couch
Zak Nixon wrote: Has anyone used the collision detection library from j3d.org? Yeah, me :) Can someone send me a snippet of code to make the collision detection behaviors work? To make it work, you need to make sure that you either clock it yourself with your per-frame behaviours or that you use t