File tree Expand file tree Collapse file tree 1 file changed +8
-8
lines changed
extensions/2.0/Khronos/KHR_gaussian_splatting Expand file tree Collapse file tree 1 file changed +8
-8
lines changed Original file line number Diff line number Diff line change @@ -53,27 +53,26 @@ Extending glTF node:
53
53
"accessors" : [
54
54
{
55
55
"type" : " VEC3" ,
56
- "componentType" : 5126 // FLOAT
57
- },
56
+ "componentType" : 5126
58
57
{
59
58
"type" : " VEC4" ,
60
- "componentType" : 5121 , // UNSIGNED_BYTE
59
+ "componentType" : 5121 ,
61
60
"normalized" : true
62
61
},
63
62
{
64
- "type" : " VEC4" , // quaternion
65
- "componentType" : 5126 // FLOAT
63
+ "type" : " VEC4" ,
64
+ "componentType" : 5126
66
65
},
67
66
{
68
- "type" : " VEC3" , //scale
69
- "componentType" : 5126 // FLOAT
67
+ "type" : " VEC3" ,
68
+ "componentType" : 5126
70
69
}
71
70
],
72
71
"meshes" : [
73
72
{
74
73
"primitives" : [
75
74
{
76
- "mode" : 0 , // POINTS
75
+ "mode" : 0 ,
77
76
"attributes" : {
78
77
"POSITION" : 0 ,
79
78
"COLOR_0" : 1 ,
@@ -172,6 +171,7 @@ vec3 calculateConic(vec3 covariance2D)
172
171
float det = covariance2D.x * covariance2D.z - covariance2D.y * covariance2D.y;
173
172
return vec3(covariance2D.z, -covariance2D.y, covariance2D.x) * (1. / det);
174
173
}
174
+ ```
175
175
176
176
```glsl
177
177
//https://github.com/graphdeco-inria/diff-gaussian-rasterization/blob/59f5f77e3ddbac3ed9db93ec2cfe99ed6c5d121d/cuda_rasterizer/forward.cu#L330
You can’t perform that action at this time.
0 commit comments