Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

textures as a copy_down() task #140

Open
4 tasks
mdsumner opened this issue May 15, 2020 · 0 comments
Open
4 tasks

textures as a copy_down() task #140

mdsumner opened this issue May 15, 2020 · 0 comments

Comments

@mdsumner
Copy link
Member

To be considered, from #90

This is actually a mode for copy_down, e.g.

  • copy_down(x, BasicRaster) - put values(BasicRaster) on 'x$vb[3, ]' via x$vb[1:2, ]
  • copy_down(x, RasterBrick) - put 3 layer brick values on $vb[1:3, ] (because we have coords+z independent of the mesh structure, like a climate model mesh)
  • copy_down(x, texture = RGBBrick) - put texture(RGBBrick) on 'x$material$texture' via x$vb[1:2, ] and texcoords
  • copy_down(x, texture = RGBBrick, cheat = TRUE) - put colours RGB on $material$color

Put some thought into the argument logic, copy_down(x, z = brick, texture = TRUE/FALSE) for example

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant