usnistgov / NetSimulyzer

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

Is there any option to display the actual x, y and z axis with some arrow-line? #35

Open igs3000 opened 2 years ago

igs3000 commented 2 years ago

Hello Evan,

Is there any option to display the actual x, y and z axis with some arrow-line?

Because, in the 3D scene, we lose our sense of direction without those lines. (ha ha ha.... :-)

But if you decide to add this Axis option, then consider implementing separate display of axis for positive and negative directions. (most of the users will not wish to see the negative part of the axis).

Another BIG Wish In addition, the axis, if there will be an option to display a 3D grid, then it will be easy for us to estimate the location in which we want to see/fix a 3D object.

Charles Pandian

bpe2 commented 2 years ago

Hey Charles,

We've definitely discussed this since I do agree it's hard to keep track of the current perspective. I was thinking of adding some sort of UI element like the compass in Blender:

Screenshot from 2021-10-21 03-21-36

I haven't implemented an easy way to add UI elements to the rendered scene yet, so it might take a little bit.

I've considered a short-term solution, like a 3D model with labeled axes, but I'm not sure how I feel about that.

Evan

igs3000 commented 2 years ago

_

"I've considered a short-term solution, like a 3D model with labeled axes, but I'm not sure how I feel about that."

_

Hello Evan,

Just an option for enabling and disabling labeled XYZ axis will be good - nothing wrong in it. Even Omnet++and Aqua3D (the modified version of Nam) are having this simple feature. It will be very helpful to understand the orientation of nodes in the scenario.

But the axis should not be permeant - because it will spoil the elegance of the simulated scene (we should have the option for enabling and disabling its visibility)

For your information, yesterday only I installed Blender and started to learn and use it for the first time in my life (only for guessing the angle and twist needed to make it get correct orientation on our simulation).

Of course, that compass display of Blender is elegant.

But still I can not understand the lines that are displayed in the scene (below or above the model) - because those lines doesn't have labels (or I do not know how to show labels on those lines).

So, the conventional axes are very good for understanding. In addition to that, you may add a compass like one.

Charles Pandian