SymbolixAU

Results 144 comments of SymbolixAU

@mdsumner is there a way to know which of the `names` attributes on a `quadmesh` object refer to the vertices and indices? I'm thinking something akin to the way `sf`...

> mesh3d will always have vb, and either it (triangle indices) or ib (quad indices), and sometimes both, so isn't the mesh3d class, primitivetype, and presence of it/ib enough? yeah...

so cool! ( I tried using the whole of [etopo](https://github.com/hypertidy/quadmesh/blob/master/data-raw/topo.R) but the data didn't exist ) ```r library(quadmesh) qm % add_mesh( data = qm , palette = "magma" ) ```...

sweet ![Screen Shot 2019-05-27 at 2 50 07 pm](https://user-images.githubusercontent.com/18344164/58396146-c0363480-808e-11e9-8ba1-5e046f83f68f.png)

You might be experiencing > triangle mesh isn't showing in Rstudio Browser? If you open it in a browser do you get the plot?

Thanks also for your [write-up](https://miller-crab-81816.netlify.com/2019/05/29/mesh3d-recent-changes-in-rgl-workhorse-format/) on rgl. I now see how the colours are used, and therefore probably should replicate the behaviour if a `$colour` attribute is supplied.

@mdsumner do mesh objects ever have holes in them?

> But are they really holes? cool, this is what I was hoping for; they are 'missing' quads/triangles, rather than 'holes' in the sense of `sf` POLYGONs

yeah at the moment I always check for `nrow() > 0`, but it's not an ideal solution. I've made [this issue](https://github.com/SymbolixAU/spatialwidget/issues/45) in spatialwidget as that's where the fix will need...

I've been exploring solutions to this in both the C++ (spatialwidget) side and the javascript (deck.gl) side. Deck.gl will error if it has invalid coordinates (i.e., empty data), so it...