Replies: 1 comment 3 replies
-
|
I see that currently the attributes are not binding but by removing attributeManager.add({
positions: {
size: 3,
noAlloc
},
texCoords: {
size: 2,
noAlloc
}
});they do bind now. Yet, nothing seems to be displaying. |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hello,
I am trying to make a simple layer for rendering a cube but nothing appears on my screen (trying to follow the docs for this). I think the issue is that I'm a little unclear on how the
CubeGeometryattributes can be transferred to theAttributeManager- specificallypositions:I found an example of a simple primitive layer:https://github.com/visgl/deck.gl/blob/1049956d723fe7a92c39ea203bc2b5c5fe00cc36/modules/aggregation-layers/src/heatmap-layer/triangle-layer.js that also appears to not need an accessor for
positions(although the parent layer appears to provide the data). Do I need to add some sort ofgetPositionfunction to my layer? I really don't need explicit positions (those provided by the geometry work I just don't know how to hook them up to the attribute manager).Thanks!
Beta Was this translation helpful? Give feedback.
All reactions