[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index] [Thread Index]
[Monthly Archives] [List Home]

Re: [Virtools] TRANSFORMATION LACK 3d to 2d Screen



OK, I am back from lunch now and thinking more clearly.  A closer review of
the BG does not reveal the error that I suspected (sorry for casting
potential aspersions to the author!) but I now have a new theory.

I suspect that you are moving a hierarchy of some form, with the front
element placed at a constant -Z offset from the root of the hierarchy.
This, too, would account for the screen offset error because the front
element is not kept aligned with the ray between the camera and the target.
To fix this, you would have to make the front screen element the root of the
hierarchy.

Till, did I guess right this time?

David Callele

----- Original Message -----
From: "Till Helmbold" <helmbold@heretogo.com>
To: "Virtools-User-Group (E-mail)"
<virtools-user-group@lists.theswapmeet.com>; <support@virtools.com>;
<dujardin@virtools.com>
Sent: Wednesday, July 18, 2001 10:44 AM
Subject: [Virtools] TRANSFORMATION LACK 3d to 2d Screen


> Hallo from Berlin,
>
> we built a Mouse Following Zooming Interface, a group with 3D Entities,
> Camera & Light.
> We are using the Behav.Graph from the Dev.2.0 Disk called
> "PositionObjectOnMouse"
>
> (our actual step is online at: http://www.heretogo.com/ifsts)
>
> P R O B L E M
>
> Everything is working but we have a divergation. In the
> Top/Right/Left/Buttom Screen Area
> the Mouse is not in the center from the Interface.
>
> We analysed the "PositionObjectOnMouse" Behav.Graph and checked the Unit
> FOV for the Camera
> and the Calculator with the tan function. Is this the reason for the
> divergation at the screen corners?
> In the Screen Center everything is ok.
>
>
>
> V E R Y   I M P O R T A N T   P R O B L E M
>
> Now we have to add to this Interface our Buttons, 2dSprites.
> This Buttons should have a absolut position on the moving interface.
>
> How we can do that?
>
> How we can transform 3d Coordinates from an 3d Object (our Interface) to
> Screen Coordinates?
>
> To give all Buttons a absolut position "on" the Interface without
> divergation?
>
> or:
>
> To move all Buttons in the same way as we moving our Interface
> (3dObject).
>
> Thank You,
>
> Marcus & Till
>
>
>
> .*.*.*.*.*.*.*.*.*.*.*.*.*.*.*.*.*.*.*.*.*.*.*.*.*.*.*.
>
> HereToGo environment
> Till Helmbold
>
> Saarbrueckerstr. 22-24
> D-10405 Berlin
>
> Fon +49(0)30.44.35.97.12
> Fax +49(0)30.44.35.97.14
>
> F L A S H 4 r e q u i r e d !
> http://www.heretogo.com
> mailto:helmbold@heretogo.com
>
> .*.*.*.*.*.*.*.*.*.*.*.*.*.*.*.*.*.*.*.*.*.*.*.*.*.*.*.
>
>
> ...............................................................
> Distributed via the virtools-user-group list:
http://www.theswapmeet.com/numl.html
> To reply to the list instead of its author, use "Reply to All"
> To unsubscribe: send "unsubscribe virtools-user-group" to
Majordomo@lists.theswapmeet.com
> To subscribe: send "subscribe virtools-user-group" to
Majordomo@lists.theswapmeet.com
> To post a message: send it to virtools-user-group@lists.theswapmeet.com
> ...............................................................
>

...............................................................
Distributed via the virtools-user-group list: http://www.theswapmeet.com/numl.html
To reply to the list instead of its author, use "Reply to All"
To unsubscribe: send "unsubscribe virtools-user-group" to Majordomo@lists.theswapmeet.com
To subscribe: send "subscribe virtools-user-group" to Majordomo@lists.theswapmeet.com
To post a message: send it to virtools-user-group@lists.theswapmeet.com
...............................................................


Follow-Ups: References: