<div dir="ltr"><div>There is a dedicated page:</div><div><br></div><a href="http://xml3d.org/xml3d/papers/css-integration/">http://xml3d.org/xml3d/papers/css-integration/</a><br><div><br></div><div>with a link to the paper.</div><div><br></div><div>This is a full treatment of considering the Appearance of an object as a style without really considering if Appearance is equivalent to the style concept. It is somewhat doubtful that in graphics the appearance of a model can be meaningfully separated from what the model represents, eg. its semantic content. It is a rare situation for which it would be acceptable to replace a wooden chair with a plastic chair without consequences for how the scene is understood.</div><div><br></div><div>The authors seem to acknowledge that because they start to discuss clean reuse of assets, and consider CSS use in that context, just as Leonard points out with DEF/USE. But this opens the door to consider dedicated asset management such as aframe's asset tag. Consequently, Leonard's proposal seems to parallel that concept. While CSS may be helpful in reuse, there may be other and more suitable ways such as DEF/USE or a special asset node or protos. The main drive to use CSS then becomes to take advantage of its good support in browsers, and perhaps familiarity.</div><div><br></div><div>I guess I am still trying to understand why there is this demand for CSS in declarative 3d. I think aframe does not support styling ?</div><div><br></div><div>-Andreas</div><div><br></div><div><br></div><div> </div><div><br></div><div><br></div><div><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Fri, Sep 22, 2017 at 2:09 PM, Nicholas Polys <span dir="ltr"><<a href="mailto:npolys@vt.edu" target="_blank">npolys@vt.edu</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div>This is a good paper <br></div>describing some other possibilities for conceptualizing 'styling'<br><br>Jan Sutter, Kristian Sons, and Philipp Slusallek. 2015. A CSS integration model for declarative 3D. In <em>Proceedings of the 20th International Conference on 3D Web Technology</em> (Web3D '15). ACM, New York, NY, USA, 209-217. DOI: <a href="http://dx.doi.org/10.1145/2775292.2775295" target="_blank">http://dx.doi.org/10.1145/<wbr>2775292.2775295</a>
<br><br><br></div><div class="gmail_extra"><br><div class="gmail_quote">On Fri, Sep 22, 2017 at 2:00 PM, Leonard Daly <span dir="ltr"><<a href="mailto:Leonard.Daly@realism.com" target="_blank">Leonard.Daly@realism.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div text="#000000" bgcolor="#FFFFFF">
<div class="m_-9120938921395720542m_-2742295685762094966moz-cite-prefix">Andreas,<br>
<br>
This looks very interesting. I will need to spend some time on it
to make sure I fully understand it. <br>
<br>
I too struggled with understanding "style" in 3D. There is a style
to films (and the CG in it) that might be used. I think another
way to think of things is as like DEF/USE. The <class3d>
tags define the DEF and they are used in class3d='...'. I have not
tried to think through all of the potential DEF/USE cases to see
what does and does not work. So far I do know that it should work
for all Appearance related properties (Material, ImageTexture,
etc.). XSeen does not support modeling (models are imported), so
geometry constructions are not relevant. Animation is the other
big area. I don't know about that one yet. I am working on
revising the simple animation capability and will find out later.<br>
<br>
Leonard Daly<br>
<br>
<br>
<br>
<br>
</div>
<blockquote type="cite"><div><div class="m_-9120938921395720542h5">
<div dir="auto">
<div dir="auto">In Leonard's nomenclature classes are
collections of specific styles. This is in contrast to HTML
where classes are collections of elements. Nevertheless, here
is a potential way to use paths or any css selector to assign
styles to matching elements in a preprocessing phase. Say
there is a tag such as </div>
<div dir="auto"><br>
</div>
<css3d objects=selectorString styles='shape box' />
<div dir="auto"><br>
</div>
<div dir="auto">where shape and box are defined class3ds.</div>
<div dir="auto"><br>
</div>
<div dir="auto">Then in a preprocessing step it would be
possible to go through all css3d elements, select matching
target elements and add a class3d='shape box' attribute to
each. In pseudocode:</div>
<div dir="auto"><br>
</div>
<div dir="auto">document.querySelectorAll('css<wbr>3d').for
each(function(El){</div>
<div dir="auto">styles=El.styles</div>
<div dir="auto"><br>
</div>
<div dir="auto">document.querySelectorAll(sele<wbr>ctorString).for
each(addclass3d.bind(styles))</div>
<div dir="auto"><br>
</div>
<div dir="auto">)})</div>
<div dir="auto"><br>
</div>
<div dir="auto">function addclass3d(El) {</div>
<div dir="auto">El.setAttribute('class3d', this)</div>
<div dir="auto">\\better merge into existing value</div>
<div dir="auto">}</div>
<div dir="auto"><br>
</div>
<div dir="auto">This is rough but could work I think.</div>
<div dir="auto"><br>
</div>
<div dir="auto">The larger question if it is possible to
separate semantic content from presentation in 3d scenes. Is
geometry always content and size or color always style ? Are
small animations always just a stylistic aid, never critical ?</div>
<div dir="auto"><br>
</div>
<div dir="auto">In HTML CSS is mostly used to make pages
'pretty' and sometimes look coherent across a larger site.
What is the equivalent use for 3d scenes ? Perhaps this
suggests that css would be most useful if it worked across
multiple scenes ?</div>
<div dir="auto"><br>
</div>
<div dir="auto">Andreas</div>
<div dir="auto"><br>
</div>
<div dir="auto"><br>
</div>
<div dir="auto"><br>
</div>
<div dir="auto"><br>
</div>
</div>
<br>
<fieldset class="m_-9120938921395720542m_-2742295685762094966mimeAttachmentHeader"></fieldset>
<br>
</div></div><pre>______________________________<wbr>_________________
x3d-public mailing list
<a class="m_-9120938921395720542m_-2742295685762094966moz-txt-link-abbreviated" href="mailto:x3d-public@web3d.org" target="_blank">x3d-public@web3d.org</a>
<a class="m_-9120938921395720542m_-2742295685762094966moz-txt-link-freetext" href="http://web3d.org/mailman/listinfo/x3d-public_web3d.org" target="_blank">http://web3d.org/mailman/listi<wbr>nfo/x3d-public_web3d.org</a><span class="m_-9120938921395720542HOEnZb"><font color="#888888">
</font></span></pre><span class="m_-9120938921395720542HOEnZb"><font color="#888888">
</font></span></blockquote><span class="m_-9120938921395720542HOEnZb"><font color="#888888">
<p><br><span class="HOEnZb"><font color="#888888">
</font></span></p><span class="HOEnZb"><font color="#888888">
<div class="m_-9120938921395720542m_-2742295685762094966moz-signature">-- <br>
<font class="m_-9120938921395720542m_-2742295685762094966tahoma,arial,helvetica m_-9120938921395720542m_-2742295685762094966san m_-9120938921395720542m_-2742295685762094966serif" color="#333366">
<font size="+1"><b>Leonard Daly</b></font><br>
3D Systems & Cloud Consultant<br>
LA ACM SIGGRAPH Chair<br>
President, Daly Realism - <i>Creating the Future</i>
</font></div>
</font></span></font></span></div><span class="HOEnZb"><font color="#888888">
<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>
<br></font></span></blockquote></div><span class="HOEnZb"><font color="#888888"><br><br clear="all"><br>-- <br><div class="m_-9120938921395720542gmail_signature" data-smartmail="gmail_signature">Nicholas F. Polys, Ph.D.<br><br>Director of Visual Computing <br>Virginia Tech Research Computing <br><br>Affiliate Professor<br>Virginia Tech Department of Computer Science<br></div>
</font></span></div>
</blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div>Andreas Plesch<br>Waltham, MA 02453</div></div></div>
</div>