It would be great to see this code! And this weekend - presuming you mean
today (Saturday) or tommorrow - would be really great, we're just finishing
up increment 1 of our project (distributed robot simulation) and would like
to be able to include something like this in this increment (it would be
pushing it, but we're used to not sleeping much). When you say that you've
rewritten mouse and picking behaviors does that mean mainly adding new
functionality or fixing problems in the original code. We haven't done much
adding of functionality, but we've found we've had to fix a few problems in
mouse behaviors and also in PickResult. Also we had big problems with
collision detection, so we had to interface to PQP (a C++ free collision
detection library) for that.
We'll probably post most of these changes to the list, when we clean them up,
but possibly not the collision detection stuff (a lot of work went into that,
and the person involved isn't as keen on open source as I am). By the way,
we're a 4th (final) year Software Engineering project at the University of
Melbourne, Australia, we're doing distributed robot simulation (primarily for
robocup at the moment) in Java, Java3D, Voyager (nice RMI/Corba interface -
transparent distributed computing), and a little C++ (for PQP/collision
detection). We did some prototyping in JPython/Java3D, but no JPython made it
into the real code (to my dismay).
Finally, a little plug - could someone PLEASE post a reply to my colleague:
Christopher William VAN-DE-VELDE - [JAVA3D] Use of behaviors to make many
changes to scene with offscreen rendering
There seems to be a bit of traffic on the list at the moment, which
suggests that people are reading it, and answering most queries. We would
really like this query answered.

Matt Pattison

Eric Reiss ([EMAIL PROTECTED]) [000923 02:54]:
> I have tackled and conquered this problem however not with a camera's view
> point but the viewers.
>
> I have extensively rewritten the mouse and picking behaviors to satisfy my
> problems but you would only have to do the mouse.
>
> I had plan to post my behaviors on the web and I will try to do it this
> weekend.
>
> The key for what I did was to pass a TransformGroup to the behaviors that
> had the view platforms transform in it.  In your case you would need to
> pass in the camera's transform.
>
> I didn't use he LookAt method or Euler angles, it is all matrix math.
>
> You do have some of the algorithm right in that you need to do a translate,
> a matrix multiplication and then the translate.  I don't remember the
> specifics.
>
> I can't do this at work now so I will get that stuff on the web this weekend.
>
> Nag me if I don't.
>
>
>
>
>
>
> At 09:08 AM 09/22/2000 -0400, you wrote:
> >In my project the user "orbits" around the object in the scene, always
> >looking at the object.
> >What doesn't work?  I'm guessing that your object goes out of view.  That's
> >probably because you're only translating, not rotating to keep the z-axis
> >pointing directly away from the object you want to see.  To do that uses a
> >little trig, or you can use the LookAt method.
> >
> >Daniel
> >
> >-----Original Message-----
> >From: Hans RAKOTOMANGA [mailto:[EMAIL PROTECTED]]
> >Sent: Friday, September 22, 2000 6:28 AM
> >To: [EMAIL PROTECTED]
> >Subject: [JAVA3D] View Rotation
> >
> >
> >Hi all, i am trying to create a HomeWorld style visualization, ie : Rotation
> >of the camera around selected objects controlled via the mouse.
> >So i modified the mouse rotate behavior, attached it to the viewingplatform
> >of a simpleUniverse.
> >
> >In the behavior, i set translation to Origin, then perform an Euler
> >transform upon the viewingplatform's transform
> >and then translate back.
> >
> >This doesnt work however and i would like some feedback. ( i hope it isn't a
> >view_attach_policy or anything of the sort, otherwise i am
> >gonna shoot myself)
> >
> >Thanks alot.
> >
> >Hans
> >
> >===========================================================================
> >To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
> >of the message "signoff JAVA3D-INTEREST".  For general help, send email to
> >[EMAIL PROTECTED] and include in the body of the message "help".
> >
> >===========================================================================
> >To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
> >of the message "signoff JAVA3D-INTEREST".  For general help, send email to
> >[EMAIL PROTECTED] and include in the body of the message "help".
>
> ***********************************************************************
> Eric Reiss - http://www.sigda.acm.org/Eric/
> Email: [EMAIL PROTECTED]
>
> SIGDA Internet Server Manager - http://www.sigda.acm.org/
>
> Assistant Systems Manager - School of Engineering
> University of Pittsburgh
> ***********************************************************************
>
> ===========================================================================
> To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
> of the message "signoff JAVA3D-INTEREST".  For general help, send email to
> [EMAIL PROTECTED] and include in the body of the message "help".

===========================================================================
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff JAVA3D-INTEREST".  For general help, send email to
[EMAIL PROTECTED] and include in the body of the message "help".

Reply via email to