Re: [JAVA3D] same shape3d, different textures

2004-03-03 Thread Flavius Alecu
oh, well isn't that used for the same texture but to save cpu power? I've read that and what I can remember it's used to have the same texture but in different sizes? what I actually need is two different textures on the same level. Say I have two walls in the same shape3d, I want one to be a brick

Re: [JAVA3D] same shape3d, different textures

2004-03-03 Thread Florin Herinean
You can do it if your card supports multitexturing. Just set for one wall one texture coordinate set and for the other another texture coordinate set. But that's cumbersome. Much easier and intuitive is to just have two Shape3D's, one for each wall. Another option is to have one texture, which half

Re: [JAVA3D] same shape3d, different textures

2004-03-03 Thread Ben Moxon
The single texture with multiple areas technique is very widely used in games. Take a look at the models and textures for pretty much any first person shooter to see this in action. -ben -Original Message- From: Discussion list for Java 3D API [mailto:[EMAIL PROTECTED] Behalf Of Florin

Re: [JAVA3D] same shape3d, different textures

2004-03-03 Thread pumpkin
Hello On Wednesday 03 March 2004 10:46, you wrote: > oh, well isn't that used for the same texture but to save cpu power? ...mainly GPU-Power and video-memory... but correct so far. > what I actually need is two different textures on the same > level. fire up your browser, head over to the j3d-

[JAVA3D] TCB Quaternions interpolations

2004-03-03 Thread Alessandro Borges
Hi, In the javax.vecmath's quaternion the interpolation function uses the great circle interpolation. And the Java3D's TCB interpolation also uses the great circle spherical interpolation. I was looking for some papers about quaternion intepolation using TCB (Tension-Continuity-Bias) BSplines. Up

[JAVA3D] Clipping - turning off

2004-03-03 Thread Ben Logan
Hi I want to turn the clipping off during the execution of my program, how do I do this? What im doing currently; if (clip) { view[canvas].setFrontClipPolicy(View.VIRTUAL_EYE); float clipDistance = (float)mainWindow.zOrigin - 0.5f; clipDistance = clipDistance * -1; v

Re: [JAVA3D] Clipping - turning off

2004-03-03 Thread Justin Couch
Ben Logan wrote: Hi I want to turn the clipping off during the execution of my program, how do I do this? Place your entire world under a single TransformGroup and scale it to fit within the clipping plane ratio. For example, say you read the bounds of the content and it says the maximum size is 5

Re: [JAVA3D] Clipping - turning off

2004-03-03 Thread Olivier Tassy
Here is how it works for me if (clip){ modelclip.setEnable(0, true); modelclip.setEnable(1, true); ... }else{ modelclip.setEnable(0, false); modelclip.setEnable(1, false); ... } - Original Message -

[JAVA3D] WandViewBehavior in Conf

2004-03-03 Thread Ahmed Bayyari
  I wrote a Java interface for "trackd" that is working great, I get all the sensor and button values correctly from the wand, the only problem i'm having is controlling (rotating, scaling, translating) objects in a "ConfiguredUniverse" using the WandViewBehavior. I'm using a configuration file t

[JAVA3D] WandViewBehavior in ConfiguredUniverse

2004-03-03 Thread Ahmed Bayyari
Hi all, i'm trying to use the WandViewBehavior in a ConfiguredUniverse application.   I wrote a Java interface for "trackd" that is working great, I get all the sensor and button values correctly from the wand, the only problem i'm having is controlling (rotating, scaling, translating) objects i

Re: [JAVA3D] WandViewBehavior in ConfiguredUniverse

2004-03-03 Thread Paul Gordon
Hi Ahmed, We actually subclasses the wand behaviour, but I've left in the relevant config file lines for the basic usage. The likely culprit for a work device interface but no interaction is either not attaching the behaviour to the ViewPlatform (see the end of this message), or not assigning Butt

Re: [JAVA3D] WandViewBehavior in ConfiguredUniverse

2004-03-03 Thread Ahmed Bayyari
Thx for the fast reply Paul. I'm being able to grab and move the objects using the wandbut i can't perform any scaling, rotation, or translation. Not sure why. It's reading all my button values, it's just not interpreting them for the scale and rotate behaviors.   Here is my config file, it'll

[JAVA3D] Contact with Danilo Balby Silva Castanheira

2004-03-03 Thread T-Online
Does anybody know how to contact Danilo Balby Silva Castanheira, the developer of the J3D library for boolean operations? His page is located at http://www.geocities.com/danbalby/ but there I can't find a mail address to contact him. Michael

[JAVA3D] removing object at run time

2004-03-03 Thread David Murtagh
Anyone have any idea why I keep getting this error when i try and remove an object at run time using a "remove" button on a canvas. "no capability to write children" I can add objects at run time but cant remove them. I have the detach capability set on the branch group that i used to add the obje

Re: [JAVA3D] same shape3d, different textures

2004-03-03 Thread Flavius Alecu
yeah, I Guess I could use sets. That seems like the most simple way to solve this problem. Is there a place somewhere where I can read about this? How do texture sets work?? thanx From: Florin Herinean <[EMAIL PROTECTED]> Reply-To: Discussion list for Java 3D API <[EMAIL PROTECTED]> To: [EMAIL PRO

Re: [JAVA3D] removing object at run time

2004-03-03 Thread Brobbey,Isaac
did you set the capability for allowDetach() ? for the branchgroup , check the documentation of the java3D -Original Message- From: Discussion list for Java 3D API on behalf of David Murtagh Sent: Wed 3/3/2004 3:20 PM To: [EMAIL PROTECTED] Cc:

Re: [JAVA3D] removing object at run time

2004-03-03 Thread David Murtagh
I have the ALLOW_DETACH capability set for the Branch Group but i also have other capabilities set for it, this wouldnt matter, would it? -Original Message- From: David Murtagh <[EMAIL PROTECTED]> To: [EMAIL PROTECTED] Date: Wed, 3 Mar 2004 20:20:23 + Subject: [JAVA3D] removing object

Re: [JAVA3D] removing object at run time

2004-03-03 Thread Brobbey,Isaac
if you have more than one branch group involved,let's pretend you add the object to branchgroup A and later added A to branchgroup B, you have to set AllowDetach for each of the branch group that are involved. send some code snippets to clarify your point. Isaac Kwame

Re: [JAVA3D] removing object at run time

2004-03-03 Thread Kevin
You need one/some/all of the following capabilities set on the Group you are trying to change: ALLOW_CHILDREN_EXTEND ALLOW_CHILDREN_READ ALLOW_CHILDREN_WRITE kddubb On Wed, 2004-03-03 at 13:40, David Murtagh wrote: > I have the ALLOW_DETACH capability set for the Branch Group but i also have oth

[JAVA3D] importing animated 3ds models

2004-03-03 Thread Flavius
how does it work if I make a model in 3d studio max, say a dor opening or a character walking..how do I import the animation and control different animations in different situations?? thanx a lot === To unsubscribe, send emai