<div dir="auto">Works now.   Hmm</div><div class="gmail_extra"><br><div class="gmail_quote">On Jan 15, 2018 6:11 PM, "John Carlson" <<a href="mailto:yottzumm@gmail.com">yottzumm@gmail.com</a>> wrote:<br type="attribution"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="auto">Thanks Andreas.   My phone shutdown (battery perhaps) and now the example won't show.</div><div class="gmail_extra"><br><div class="gmail_quote">On Jan 15, 2018 5:41 PM, "Andreas Plesch" <<a href="mailto:andreasplesch@gmail.com" target="_blank">andreasplesch@gmail.com</a>> wrote:<br type="attribution"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Dear group,<br>
<br>
x3dom has a RenderedTexture node which very useful. Prompted by a<br>
x3dom-user list question, I started to think about using<br>
RenderedTextures as faces for a ComposedCubeMapNode which is also<br>
available in x3dom albeit only for ImageTexture sources.<br>
<br>
Although I first thought it is technically difficult due to webgl<br>
limitations, after deep diving it turned out that there is a way to<br>
efficiently use gl textures (generated for RenderedTexture) as faces<br>
for gl cube map textures (using gl.copyTexImage2D()).<br>
<br>
So I am developing in my cubemap branch of x3dom the ability for<br>
ComposedCubeMapNode to use RenderedTexture which can be updated per<br>
frame, for dynamic mirror effects and probably other uses. Here is an<br>
example:<br>
<br>
<a href="https://rawgit.com/andreasplesch/x3dom/cubemap/test/regression-suite/test/cases/cubemap/colorcube.html" rel="noreferrer" target="_blank">https://rawgit.com/andreasples<wbr>ch/x3dom/cubemap/test/<wbr>regression-suite/test/cases/<wbr>cubemap/colorcube.html</a><br>
<br>
It more or less works but before I go further I would like to know how<br>
other browser approach dynamic cube maps from a high level. There is<br>
also the x3d GeneratedCubeMapNode which is intended for this effect.<br>
So one question would be which players actually implement a<br>
GeneratedCubeMapNode.<br>
<br>
There are quite a few x3d browsers which have a RenderedTexture node.<br>
Do they allow using it with ComposedCubeMap ?<br>
<br>
A big question is how recursive mirror in mirror are handled.<br>
<br>
Is a RenderedTexture node a target for v.4 ?<br>
<br>
Any feedback much welcome,<br>
<br>
Andreas<br>
<br>
--<br>
Andreas Plesch<br>
Waltham, MA 02453<br>
<br>
______________________________<wbr>_________________<br>
x3d-public mailing list<br>
<a href="mailto:x3d-public@web3d.org" target="_blank">x3d-public@web3d.org</a><br>
<a href="http://web3d.org/mailman/listinfo/x3d-public_web3d.org" rel="noreferrer" target="_blank">http://web3d.org/mailman/listi<wbr>nfo/x3d-public_web3d.org</a><br>
</blockquote></div></div>
</blockquote></div></div>