ZIM TextureActive with three.js in an existing html tag

Thanks @pettis for letting us know that we did not prepare TextureActive to work with three.js inside an existing tag - like the ZIM tag scaling mode. So we adjusted ZIM 017 and the ZIM three helper module to handle the scaling and interactivity.

You can now pass a tag id (or tag) to Three() and ZIM will add the three.js to the tag and handle scaling and interactivity. Here is an example:

https://zimjs.com/015/textureactive_simple_tag.html

image

1 Like

Need to allow scrolling and probably keys for when in tag. Will work on it tomorrow. Thanks @karelrosseel82 for letting us know.