Ok. So i guess i should rephrase my previous message. I read it twice and
it a bit clumsy and hard to understand what exactly do i want to ask about.
First of all when we deal with tools interaction it's better to see it in
action, so here is the video: 
https://urldefense.proofpoint.com/v2/url?u=https-3A__youtu.be_Bu-5F959RYcqY&d=DwIBaQ&c=76Q6Tcqc-t2x0ciWn7KFdCiqt6IQ7a_IF9uzNzd_2pA&r=GmX_32eCLYPFLJ529RohsPjjNVwo9P0jVMsrMw7PFsA&m=iXGx3tgRku9XxL6QKca4bKDqNkNQyUmEWpbUS2r1qW0&s=Gc__V9v7859AWdArOe2x3B36Tj2wjaTYxEBOlad2S1U&e=

Here is a simple test plugin:
https://urldefense.proofpoint.com/v2/url?u=https-3A__www.dropbox.com_s_7pjcr1coycsnesr_PickTestTool.xsiaddon-3Fdl-3D0&d=DwIBaQ&c=76Q6Tcqc-t2x0ciWn7KFdCiqt6IQ7a_IF9uzNzd_2pA&r=GmX_32eCLYPFLJ529RohsPjjNVwo9P0jVMsrMw7PFsA&m=iXGx3tgRku9XxL6QKca4bKDqNkNQyUmEWpbUS2r1qW0&s=hmR-RVI2XfuMITwHu-GMRMCKYTvCdYvt7PnnTln009A&e=
Just run PickTestToolStart command and hover mouse over geo.

And here is a new PickVertex() functione code:
https://urldefense.proofpoint.com/v2/url?u=https-3A__www.dropbox.com_s_wzypuavvifsygqr_PickVertex.cpp-3Fdl-3D0&d=DwIBaQ&c=76Q6Tcqc-t2x0ciWn7KFdCiqt6IQ7a_IF9uzNzd_2pA&r=GmX_32eCLYPFLJ529RohsPjjNVwo9P0jVMsrMw7PFsA&m=iXGx3tgRku9XxL6QKca4bKDqNkNQyUmEWpbUS2r1qW0&s=9NGLXNf2hRCdZbAvwVk6mES0rqOb0mP9HwMcgJxl-lI&e=
I made it more readable, remove some stuff and add new filtering formula
that brings result close to what we want but i am not sure about this
formula.

Here is the formula:
if (        closest_param <    ( (vx + vy) / edge_vect.GetLength()
)*0.01        )

If parameter value of current cursor projected to the closest edge is
smaller than 0.01 part of current relative(or SCREEN size) edge size than
we highilte this vert.
Any help is greatly appreciated.
------
Softimage Mailing List.
To unsubscribe, send a mail to [email protected] with 
"unsubscribe" in the subject, and reply to confirm.

Reply via email to