|
Viewport Y-offset - how to find it?
|
|
04-27-2013, 09:41 AM
(This post was last modified: 04-28-2013 04:19 AM by micheus.)
Post: #1
|
|||
|
|||
|
Viewport Y-offset - how to find it?
I need to make my own "vertex select" routine for a new plugin. So, I create some functions based on those already existent in Wings. The find_vertex converts the 3D coordinate into 2D (viewport coordinates).
The problem is that I'm always getting the Y coordinated with an offset of 75px. This is exactly the height used by title bar+menu bar+button bar by using only the default Geom window. ![]() I couldn't find the "magic" at Wings3d code. Can someone help me? Code: ... |
|||
|
« Next Oldest | Next Newest »
|
| Messages In This Thread |
|
Viewport Y-offset - how to find it? - micheus - 04-27-2013 09:41 AM
RE: Viewport Y-offset - how to find it? - micheus - 04-28-2013, 04:24 AM
RE: Viewport Y-offset - how to find it? - bmulder - 03-18-2014, 06:37 PM
|
User(s) browsing this thread: 1 Guest(s)




