#1
|
|||
|
|||
Picking in multiple windows
Hello everyone,
I'm currently in the process of comparing Vizard and the TrueVision3D engine. Therefor I'm writing a simple test program in both environments. There are a few things that I haven't been able to accomplish in Vizard yet. The program has two viewports, one top-down and one 3D viewport. The scene consists of a floor and a cube, both of which can be dragged. I've managed to add two windows and got the dragging working (via viz.pick), but it only works in the main viewport. it completely ignores the two windows. I found that window objects have a pick method as well, so I could use that. My question is then how to determine which viewport to use for picking. In C# I set the active viewport on the mouse move event, but window objects don't seem to have the callback function. What is the correct way of doing this? Thanks in advance. |
Thread Tools | |
Display Modes | Rate This Thread |
|
|