Hi
Andy,
You
can't construct a point3f with a single value, you need to specify three, (one
for each axis), to make up the co-ordinate.
If you
want to cast the int into a float you can turn it into an Integer and then use
Integer.floatValue(); but you'll still need the two other value
Hi, Karsten !
Sorry, I didn't understand you. You meant the policytool provided by JRE.
OK, I'm going to test it.
Dani
Hi Dani
you have to edit your policy file to set the applets permissions on files and/or urls,
or
get a certificate for yout access.
For development and testing try:
Just t
Hi all !
I know that Java3D supports intersection / colision detection of objects. But does
anybody know if it's possible to generate objects with the union / intersection of
another objects in the scene ? (I mean dinamically generation, with user's interaction
like translation or rotation). H
It does not.
Dave Yazel
> --
> From: Daniel Moscoso[SMTP:[EMAIL PROTECTED]]
> Reply To: Discussion list for Java 3D API
> Sent: Thursday, January 18, 2001 8:16 AM
> To: [EMAIL PROTECTED]
> Subject: [JAVA3D] Generating objects with the union / intersection of
>
I'm not familiar with the scaling behavior but the way that the other
behaviors needed corrected is basically a coordinate transformation.
You may need to modify the scaling behavior so that it remembers the
objects position, then translates it to the origin, scales it and then
translates it back
On Thu, 18 Jan 2001, Yazel, David J. wrote:
> It does not.
[snip]
> > I know that Java3D supports intersection / colision detection of objects.
> > But does anybody know if it's possible to generate objects with the union
> > / intersection of another objects in the scene ? (I mean dinamically
Hey -
I was curious if anyone's noticed the problem of using Java3D in an applet.
What I notice is that if the browser's window is moved or resized, the 3D
object/scene remains in it's original position. Thus if I have a scene with
a single rotating sphere and move the window to the right half o
Paul,
We have definitely experienced the same problem. Our assumption was that
we weren't passing an event down to the canvas somehow, but if you are
seeing the same behavior it could be a fundamental difference between
applications and applets.
Any ideas?
--Mark
At 09:05 AM 1/18/2001 -0500,
I would say the union is possible. As for the intersection, I can't see it
happening. Union simply means all of object A and all of object B unite to
make an object C. I have never attempted it, but I think this may work:
Once you have detected that the two objects are coliding, and the user
re
The scaling of an object is done as written below by Eric. If you
see that the scaling is also influencing the position then you have:
1. The object is not possitioned at origo (center of the object)
2. The coordinates of the object are off-origo.
The first is not that difficult. You have to rem
Yes somthing to the effect:
Q: Does Java3d support boolean geometry operations:
A: no.
Hehe
> --
> From: Justin Couch[SMTP:[EMAIL PROTECTED]]
> Reply To: Discussion list for Java 3D API
> Sent: Thursday, January 18, 2001 9:23 AM
> To: [EMAIL PROTECTED]
> Subject:
Hello!
Is it possible to draw only a prtof the cylinder ..?
(in which the base is filled arc2d) ..
Thanks
Firas
===
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff JAVA3D-INTERE
Paul,
I'm not seeing what you are, Andy is using the int [v] to create the
Point3f[] array.
He goes on to create the individual Point3f with "coordinates[i] = new
Point3f ();" so I don't see a problem with the Point3f.
Andy,
I don't see where you are using a float to create the array in th
Well thats not really a solid object boolean union, which I assumed is what
they were looking for. To do the merge I would think you would need to
construct a new mesh, which Java3d does not support doing inherently. Maybe
I am splitting hairs here. But I don't want anyone to be misled and thin
Yep, seen it here too, on two different machines. Turning off hardware
acceleration for DirectX has no effect. I also tried turning off "Show
window contents during drag". Again, the same problem.
I think it's a browser problem.
-Lee
> -Original Message-
> From: Mark Ferneau [mailto:
I am trying to track my objects coordinates while it moves. Is there any
prediefined methods I can use to track the center of the given object( ie
Sphere)?
Thanks
Zak
===
To unsubscribe, send email to [EMAIL PROTECTED] and
I know it's not quite creating the new mesh. However, in effect it is the
same thing, since, to my knowledge, it will not even attempt to render the
parts that are hidden. So the extra vertices will be (almost) as good as
non-existant. You are right, though. It only "looks" like a union. But
((BoundingSphere)Node.getBounds()).getCenter()
> --
> From: Zak[SMTP:[EMAIL PROTECTED]]
> Reply To: Discussion list for Java 3D API
> Sent: Thursday, January 18, 2001 11:53 AM
> To: [EMAIL PROTECTED]
> Subject: [JAVA3D] Coordinates of Geometry
>
> I am trying to
Also, i am trying to to detect if it has moved(it = Sphere).
How can I do this?
Zak
===
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff JAVA3D-INTEREST". For general help, sen
I have been aware of this method. However, I was wandering if it gives the
actual coordinates of the object in question, or just the coordinates
relative to its movement from its original position. I never really tested
it...Let me be more specific:
I used VRML97 to load some objects. By defaul
Look at the ModelClip demo which comes with Java3D.
-Original Message-
From: firas [mailto:[EMAIL PROTECTED]]
Sent: Thursday, January 18, 2001 7:09 AM
To: [EMAIL PROTECTED]
Subject: [JAVA3D] Drawing a Part of a cylinder
Hello!
Is it possible to draw only a prtof the cylinder ..?
(in whi
Under certain condition, my j3d application's popup
does not repair itself when it becomes invisible.
I have spent about a week investigating the problem,
going through swing/awt paint/event code and pretty
much did all I can do. I need some help from J3d folks.
I am not sure this is a j3d or s
I am trying to set up a routine that will check for
movement of an object. I want to be able to tell the location(coordinates of an
object) relative to the screen.
How can I make it check all the time for changes in
the object?
Zak
Is the object moving through a behavior? Objects don't move by themselves.
The same behavior that moves the object of course "knows" its being moved.
The location relative to the screen could mean several things. Do you mean
in relation to the view? Do you need the distance from the view to the
I am using the Muse Behavoirs to manipulate the object. I need to get the
positon the object is at and the distance from the View...
Zak
- Original Message -
From: "Yazel, David J." <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, January 18, 2001 2:41 PM
Subject: Re: [JAVA3D]
Well, Objects sometimes do move by themselves if you are using Alpha interpolator.
-Original Message-
From: Yazel, David J. [mailto:[EMAIL PROTECTED]]
Sent: Thursday, January 18, 2001 12:41 PM
To: [EMAIL PROTECTED]
Subject: Re: [JAVA3D] Checking for movement
Is the object moving through
Hello all.
I have the next problem, I will remove objects of a
escene and changed to others.
I'm use the method removeChild of the class
BranchGroup, but don't doing nothing.
Do you have a example to do it?..
Thanks
Elio
_
Do You Yahoo!
Isn't that just a behavior? Behaviors are just methods that alter the scene
graph. Behaviors can be triggered by elapsed time, frames, events, etc. To
my knowledge objects don't move themselves. But perhaps I am being too
literal.
> --
> From: Ahmed Shakil[SMTP:[EMAIL PROTECT
Hi Elio
When u r making a BranchGroup which u need to remove. first set the capability for
that branch group
bg.setCapability( ALLOW_DETACH );
Now when u need to remove this just call
bg.detach();
Next time u want to add just simply addChild again
root.addChild( bg )
To get the distance to the view:
1. Get the transform which is translating the object and get the translation
vector. This only works if the shape itself is built around the origin and
then translated, as most are.
2. get the view transform, gets its translation vector.
3. calculate the distance
Use detach() on a BranchGroup() and make sure the capabilities are set on
the BranchGroup to ALLOW_DETACH. You cannot remove a child on a active
scenegraph, you have to detach a branch group.
> --
> From: Elio Vega[SMTP:[EMAIL PROTECTED]]
> Reply To: Discussion list for Java
> From: Zak <[EMAIL PROTECTED]>
>
> I am trying to set up a routine that will check for movement of an object. I
want to be able to tell the location(coordinates of an object) relative to the
screen.
>
> How can I make it check all the time for changes in the object?
Try using the attached uti
If the shape wasn't build in the origin, is there a way to find these
coordinates? (i.e. find the coordinates where it was constructed so that
the translation vector can get added to that?)
Thanks in advance,
Paris
--- "Yazel, David J." <[EMAIL PROTECTED]> wrote:
> To get the distance to the vie
33 matches
Mail list logo