sorry,
var sv:ScreenVertex=cam.screen (_interpPlane, _interpPlane.vertices[0]);
 trace((sv.vx+_view.width*.5)+""+":"+(sv.vy+_view.height*.5));


On Thu, Apr 15, 2010 at 4:49 PM, Michael Iv <[email protected]> wrote:

> var sv:ScreenVertex=cam.screen (_interpPlane, _interpPlane.vertices[0]);
>  trace((sv.x+_view.width*.5)+""+":"+(sv.y+_view.height*.5));
>
> all this runs on enter frame
>
>
> On Thu, Apr 15, 2010 at 4:49 PM, Michael Iv <[email protected]> wrote:
>
>> Plane
>>
>>
>> On Thu, Apr 15, 2010 at 4:48 PM, Fabrice3D <[email protected]> wrote:
>>
>>> do you pass a model that has been rendered? what is type?
>>>
>>> Fabrice
>>>
>>> On Apr 15, 2010, at 3:25 PM, Michael Iv wrote:
>>>
>>> Fabrice , on the same opportunity I would like to ask also why
>>> ScreenVertex  .vx and .vy return NaN ?
>>>
>>> On Thu, Apr 15, 2010 at 4:21 PM, Fabrice3D <[email protected]> wrote:
>>>
>>>> if you do look at Plane3D, thats correct. Y is inverted.
>>>> and i i recall screen makes use of it, or at least similar plane hittest
>>>> calcs.
>>>>
>>>> Fabrice
>>>>
>>>>
>>>> On Apr 15, 2010, at 2:37 PM, Michael Iv wrote:
>>>>
>>>> It is not what the camera.screen returns . it returns vertex position X,
>>>> Y , Z and i can clearly see that X and Z are right  but Y is inverted.
>>>> what you are talking about is unpojecting to screen .
>>>>
>>>> On Thu, Apr 15, 2010 at 3:33 PM, savagelook <
>>>> [email protected]> wrote:
>>>>
>>>>> Flash's stage origin is at the top left.  X & Y get larger as you move
>>>>> right and down, respectively.
>>>>>
>>>>> On Apr 15, 5:44 am, Michael Iv <[email protected]> wrote:
>>>>> > hi all , I was experimenting with getting object's vertex
>>>>> camera.screen()
>>>>> > coordinates . It looks that it is ok except of one thing: the Y
>>>>> coords look
>>>>> > flipped . Is this due to inverted nature of camera  projection? or I
>>>>> am
>>>>> > missing something .
>>>>> >
>>>>> > --
>>>>> > Michael Ivanov ,Programmer
>>>>> > Neurotech Solutions Ltd.
>>>>> > Flex|Air |3D|Unity|www.neurotechresearch.com
>>>>> > Tel:054-4962254
>>>>> > [email protected]
>>>>> > [email protected]
>>>>>
>>>>>
>>>>> --
>>>>> To unsubscribe, reply using "remove me" as the subject.
>>>>>
>>>>
>>>>
>>>>
>>>> --
>>>> Michael Ivanov ,Programmer
>>>> Neurotech Solutions Ltd.
>>>> Flex|Air |3D|Unity|
>>>> www.neurotechresearch.com
>>>> Tel:054-4962254
>>>> [email protected]
>>>> [email protected]
>>>>
>>>>
>>>>
>>>
>>>
>>> --
>>> Michael Ivanov ,Programmer
>>> Neurotech Solutions Ltd.
>>> Flex|Air |3D|Unity|
>>> www.neurotechresearch.com
>>> Tel:054-4962254
>>> [email protected]
>>> [email protected]
>>>
>>>
>>>
>>
>>
>> --
>> Michael Ivanov ,Programmer
>> Neurotech Solutions Ltd.
>> Flex|Air |3D|Unity|
>> www.neurotechresearch.com
>> Tel:054-4962254
>> [email protected]
>> [email protected]
>>
>>
>
>
> --
> Michael Ivanov ,Programmer
> Neurotech Solutions Ltd.
> Flex|Air |3D|Unity|
> www.neurotechresearch.com
> Tel:054-4962254
> [email protected]
> [email protected]
>
>


-- 
Michael Ivanov ,Programmer
Neurotech Solutions Ltd.
Flex|Air |3D|Unity|
www.neurotechresearch.com
Tel:054-4962254
[email protected]
[email protected]

Reply via email to