usnistgov / NetSimulyzer

A flexible 3D visualizer for displaying, debugging, presenting, and understanding ns-3 scenarios.
Other
34 stars 8 forks source link

Manipulating 3D Scene with mouse is not working as explained in the Documentation #34

Open igs3000 opened 2 years ago

igs3000 commented 2 years ago

Hello Evan,

Manipulating 3D Scene with mouse is not working as explained in the Documentation. (My Debian may steal those mouse events - I do not know :-) :-) )

Left Mouse + Move: Move the chart view -I didn't tested it

Scroll Up, + or =: Zoom In -Not working in main 3D window

Hold Ctrl (Windows/Linux) or cmd (macOS) to zoom horizontally only -Not working in main 3D window Hold Alt to zoom vertically only -Not working in main 3D window Scroll Down, or -: Zoom Out -Not working in main 3D window

Hold Ctrl (Windows/Linux) or cmd (macOS) to zoom horizontally only -Not working in main 3D window Hold Alt to zoom vertically only -Not working in main 3D window R: Reset Zoom -Not working in main 3D window

Arrow Keys: Scroll Chart -I didn't tested it

The only working thing with mouse is :

(Left Click + Move mouse left-right-down-up) - It is Just tilting the camera view left, right up and down from center. In fact, this mouse move is not at all mentioned in your documentation.

Other things are not at all working with mouse - I may be doing something wrong. Please explain.

In fact, for your information, handling the 3D scene only with keyboard is very slow and not friendly (even though we can speed it with settings).

Another Suggestion: If we click on the node, it is setting camera from its perspective. It is good.

But If you add six buttons in the toolbar for setting camera views from top, bottom, left, right, front back. It may be easy for implement but will give excellent experience to the users. (from bottom, I mean, little from the simulated ground surface).

Charles Pandian

bpe2 commented 2 years ago

Not a problem. I can just transfer this issue to the NetSimulyzer project.

As far zooming and the Ctrl and Alt modifiers go, I'm afraid those only work when zooming in/out on the chart view. The controls that affect the 3D scene are only the ones listed in the 'Camera' section of the controls. However, if you think zooming in the 3D scene would be useful, that wouldn't be too tough to implement.

I like the suggestion about the predefined camera angles. I'd probably stick them in the 'Camera' menu, though.

igs3000 commented 2 years ago

Hello Mr. Evan,

Sorry. I may be offending your view and expectation on a practical network visualization tool. But I want to share my opinion on this.

In fact, during my earlier discussion with Mr Tom Anderson on ns-3 group about the topic on "Need for a good 3D visualizer for ns-3", he mentioned a link of your presentation video at WNS3 2021 Tutorials .

While watching the video, I noticed that you gave considerable importance to the “chart features” that are available in your visualizer. But in my openion, that kind of charts from a 'single simulation run' may be an interesting thing while teaching a simple aspect of a simulation.

But, for scholarly research works, scholars and their supervisors not at all show any interest on the outputs of a network visualizer at all. Because they only concentrate on "analysis on the results" that are derived from a batch of simulation runs. They prepare graphs/charts from the only average of several runs of a simulation with different parameters.

So, in my opinion, a 3D visualizer's role in the visualization of the 3D scene is more important than showing some 2D/3D charts. (sorry if I am offending your views).

So, I think, nothing wrong in redirecting mouse events to the 3D scene to manipulate camera. (just think about using Blender only with keyboad). Even it is possible to share mouse events with charts also, then it will be good.

Charles Pandian.