You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Nov 22, 2023. It is now read-only.
it seems the importation of ply file report error, and why it not support typical pcd file ?
pointcloud-viewer/src/external/glhelper/glhelper/shaderobject.cpp, (729)
==== Shader Code ================================
1: #version 450 core
2:
3: #define class class_property
4:
5:
6: // ==== Input Buffer ====
7: layout(location = 0)
8: in float x;
9: layout(location = 1)
10: in float y;
11: layout(location = 2)
12: in float z;
13:
14: // ==== Output Buffer ====
15: struct vertex_t
16: {
17: vec3 coordinate;
18: uint color;
19: };
20:
21: layout(std430, binding=0)
22: buffer impl_output_buffer
23: {
24: vertex_t impl_output_vertex[];
25: };
26:
27: // ==== Helper Functions ====
28: int to_scalar(in ivec3 v){return (v.x + v.y + v.z) / 3;}
29: uint to_scalar(in uvec3 v){return (v.x + v.y + v.z) / 3;}
30: float to_scalar(in vec3 v){return (v.x + v.y + v.z) / 3;}
31: double to_scalar(in dvec3 v){return (v.x + v.y + v.z) / 3;}
32:
33: // ==== Actual execution ====
34: void main()
35: {
36: impl_output_vertex[gl_VertexID].coordinate =
37:
38: // ==== COORDINATE ====
39: vec3(x, y, z);
40: // ====================
41:
42: impl_output_vertex[gl_VertexID].color = packUnorm4x8(vec4(vec3(
43:
44: // ==== COLOR =========
45: uvec3(255) /* not set */
46: // ====================
47:
48: ), 0) / 255.);
49: }
50:
The text was updated successfully, but these errors were encountered: