If I understand you correctly what you want is for a Vector3d to be
facing the same direction. Do you want the vector in local or world
coordinates?
Assuming local coordinates then you could build a Transform3D using
your axis angle and then use it to transform a vector pointing along
the -Z axi
Hi Kevin, Dug,
it IS already possible to get the triangle that was intersected by pickray.
Method intersect() supplies the distance to the surface and so the hitpoint
can be calculated. In a second step the according geometry has to be checked
which triange does keep the hitpoint. That all takes
Hi,
Is there any examples available which demonstrates the use of
WakeUpOnBehaviorPost(). I am planning to use WakeUpOnBehaviorPost() to
perform tasks once the WakeUpOnCollisionEntry() is activated?
Thanks
Sunny Leung
===
Hi,
I have tried to detach a branchgroup inside a WakeupOnCollisionEntry()
behavior, although I can detach the branchgroup successfully, but the
behavior node which attached to that particular branch group seemed to still
running in the background after the detachment. Any ideas?
Thanks
Sunny L
Hi again,
try
Behavior.setEnabled(false);
Marco.
>Hi,
>
>I have tried to detach a branchgroup inside a WakeupOnCollisionEntry()
>behavior, although I can detach the branchgroup successfully, but the
>behavior node which attached to that particular branch group seemed to
still
>running in the b
Hi Sunny Leung,
1.) write your own Behavior class, something like
public class MyBehavior extends Behavior{
MyBehavior(Group root, Bounds bounds) {
this.setSchedulingBounds(bounds);
BranchGroup branchGroup = new BranchGroup();
branchGroup.addChild(this);
r
Hi,
I am new to java3d, but I am familiar with vrml. Thus I dare to ask the
following
question.
My alpha works fine, when it is created like:
Alpha alpha=new Alpha(-1,4000);
But I can't figure out how to start it once at a particular point in
time:
Alpha alpha=new Alpha(1,4000);
- Original Message -
From: Jon Barrilleaux <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, September 16, 1999 9:29 AM
Subject: Re: [JAVA3D] Rotation
> If I understand you correctly what you want is for a Vector3d to be
> facing the same direction. Do you want the vector in l
If I understand it, and it seems to work this way,
starttime of zero, IS the current time, so if you want to start
one second later, make starttime 1000. Not like VRML,
where start time is in the year 1970 and you have to use
two timers to get it to start at current time.
> -Original Message
This is not a java question, but does anybody
knows
where I could find sources of a DFAD loader
(Digital Analysis Data) to make my own one??
This is a file format to describe cartographic
features in digital form known geographic control.
Any suggestion would be welcomed !
David
HALLE.--
StartTime is initialized to the system time at the time Java 3D starts
up. If you want a behavior to start up at some point in the future,
the easiest way is to either change the start time:
alpha.setStartTime(System.currentTimeMillis()+1000);
or use the trigger time (although we just d
This sounds like a bug. Do you have a simple example program?
If so, please send it to [EMAIL PROTECTED] In the mean time,
the suggested workaround of disabling the behavior should work.
--
Kevin Rushforth
Java 3D Team
Sun Microsystems
[EMAIL PROTECTED]
>Date: Thu, 16 Sep 1999 18:11:
>Date: Wed, 15 Sep 1999 13:19:09 +0800
>From: Justin Couch <[EMAIL PROTECTED]>
>
>Kevin Rushforth wrote:
>
>> Using RELATIVE_TO_SCREEN should do what you want. Btw, we have
>> considered adding a variant of RELATIVE_TO_WINDOW that isn't centered
>> in X and Y--similar to RELATIVE_TO_SCREE
Thank you for your comments, we'll take them into consideration,
although we may not be able to address all of them for the 1.2
release.
--
Kevin Rushforth
Java 3D Team
Sun Microsystems
[EMAIL PROTECTED]
>Date: Wed, 15 Sep 1999 01:35:42 -0700
>From: Jon Barrilleaux <[EMAIL PROTECTED]>
>To: mai
Hi Tim,
My guess is the key because it doubles as a windows accelerator
function. I've had similar problems where the behavior seems to get "stuck"
when I'm using in combination with the arrow keys or .
However, in my scenario, the scene keeps moving, just doesn't accept keyboard
input anymore.
I haven't been able to figure out a solution, so I thought I'd post this
problem again
I define my own cylinders with QuadArrays. I also use Sphere objects in my
scene.
I define a plane (quadarray) and set its transparency to 0.5.
The plane cuts through some of the cylinders. Other cylin
Desiree Hilbring wrote:
> There is a Triangulator class in Java3D and how to use it you can find
> in the Sun Tutorial in chapter 3 Easier Content Creation subsection:
> 3.3 GeometryInfo
>
> Desiree
Is it posiible to communicate the exact website for triangulation
thank you
M. Prabha
>
>
>
> Hi Kevin, Dug,
>
> Java3D. My proposal is to supply the coordinates of the hitten triangle in
> method intersect(SceneGraphPath path, PickRay pickRay, double[] dist) of
> Shape3D in member dist.
> I also encountered another thing: the garbage collector gets really stressed
> when you try to pick
Hello
I'm fighting with this problem:
---
JAVA caused an invalid page fault in
module J3D.DLL at 016f:10001d4d.
Registers:
EAX= CS=016f EIP=10001d4d EFLGS=00010202
EBX=007aad3b SS=0177 ESP=06a7e88c EBP=06a7e8c8
ECX=06a7ff64 DS=0177 ESI= FS=4127
EDX=00953e90 ES=0177 EDI=057b09a8 GS
On Thu, 16 Sep 1999, M.Prabhakaran wrote:
> Desiree Hilbring wrote:
>
> > There is a Triangulator class in Java3D and how to use it you can find
> > in the Sun Tutorial in chapter 3 Easier Content Creation subsection:
> > 3.3 GeometryInfo
> >
> > Desiree
>
>
>
> Is it posiible to communicate the
20 matches
Mail list logo