Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CornerXYZSimple misses one axis #59

Closed
leftys opened this issue Jul 2, 2014 · 5 comments
Closed

CornerXYZSimple misses one axis #59

leftys opened this issue Jul 2, 2014 · 5 comments

Comments

@leftys
Copy link

leftys commented Jul 2, 2014

CornerXYZSimple is missing one axis line.
(Tested on commit f3eef2e)

@leftys
Copy link
Author

leftys commented Jul 2, 2014

I inspected the code and cannot understand it. I will try to debug it further.

@jlblancoc
Copy link
Member

Hi,

Are you sure it's not a typo in your code? I just tried with the example opengl_objects_demo, which shows a CornerXYZSimple, and it looks as expected, as in this doxygen page.

@leftys
Copy link
Author

leftys commented Jul 2, 2014

I made some further testing and found out, that the Z axis is only invisible as long, as the camera is not moved.

This is my setting:

    win->setCameraZoom(5); //tried multiple zooms
    win->setCameraAzimuthDeg(270-10);
    win->setCameraElevationDeg(10);
    axis = mrpt::opengl::stock_objects::CornerXYZSimple(1, 1);

@jlblancoc
Copy link
Member

Just tried it and all 3 lines are visible.. Could you please provide a simple .cpp + CMakeLists to be sure that I can reproduce the exact conditions?

Anyway, it seems likely that the problem is in the OpenGL drivers/engine so the problem might appear only on some platforms...

@jlblancoc
Copy link
Member

I'll close this because can't reproduce it, ok?

Cheers.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants