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

Cannot display pointcloud #3186

Closed
scipione1 opened this issue Feb 1, 2019 · 1 comment
Closed

Cannot display pointcloud #3186

scipione1 opened this issue Feb 1, 2019 · 1 comment

Comments

@scipione1
Copy link

scipione1 commented Feb 1, 2019

I applied some filters to my depth frame and now I want to display the pointcloud.
filtered is my filtered depth frame, color_frame is the rgb frame, app is the OpenGL window and app_state is glfw_state.

`
points = pc.calculate(filtered);

pc.map_to(color_frame);

app_state.tex.upload(color_frame);

draw_pointcloud(app.width(), app.height(), app_state, points);`

No pointcloud is displayed. The app window appears with a black background but the points are not rendered on it. What am I doing wrong?

@ev-mp
Copy link
Collaborator

ev-mp commented Feb 1, 2019

Hello @scipione1 ,
The first two lines should be swapped. Check #1939 for details.
In case it still doesn't work - you may post a snippet of the reproduction code including the filtered for review

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

3 participants