Merge pull request #2476 from specklesystems/alex/sRGB-vertex-colors
sRGB Vertex Colors
This commit is contained in:
@@ -105,7 +105,7 @@ const getStream = () => {
|
||||
// prettier-ignore
|
||||
// 'https://speckle.xyz/streams/da9e320dad/commits/5388ef24b8?c=%5B-7.66134,10.82932,6.41935,-0.07739,-13.88552,1.8697,0,1%5D'
|
||||
// Revit sample house (good for bim-like stuff with many display meshes)
|
||||
'https://speckle.xyz/streams/da9e320dad/commits/5388ef24b8'
|
||||
// 'https://speckle.xyz/streams/da9e320dad/commits/5388ef24b8'
|
||||
// 'https://latest.speckle.dev/streams/c1faab5c62/commits/ab1a1ab2b6'
|
||||
// 'https://speckle.xyz/streams/da9e320dad/commits/5388ef24b8'
|
||||
// 'https://latest.speckle.dev/streams/58b5648c4d/commits/60371ecb2d'
|
||||
@@ -388,6 +388,10 @@ const getStream = () => {
|
||||
// 'https://app.speckle.systems/projects/122448a81e/models/f21aff1f4a'
|
||||
// Thin plane
|
||||
// 'https://app.speckle.systems/projects/20f72acc58/models/2cf8a736f8'
|
||||
// Rhino sRGB vertex colors
|
||||
// 'https://app.speckle.systems/projects/47bbaf594f/models/ef78e94f72'
|
||||
// qGIS sRGB vertex colors
|
||||
'https://latest.speckle.systems/projects/5a6609a4b9/models/10f4931e8c'
|
||||
)
|
||||
}
|
||||
|
||||
|
||||
@@ -268,7 +268,7 @@ export class SpeckleGeometryConverter extends GeometryConverter {
|
||||
`Mesh (id ${node.raw.id}) colours are mismatched with vertice counts. The number of colours must equal the number of vertices.`
|
||||
)
|
||||
}
|
||||
colors = this.unpackColors(colorsRaw)
|
||||
colors = this.unpackColors(colorsRaw, true)
|
||||
}
|
||||
|
||||
return {
|
||||
|
||||
Reference in New Issue
Block a user