[x3d-public] CSS st5yle usage for Routes [was: id attribute proposal]

John Carlson yottzumm at gmail.com
Sun Mar 20 17:51:34 PDT 2016


Also note that this is built into web browsers now, not only JQuery:

https://developer.mozilla.org/en-US/docs/Web/API/Document/querySelectorAll <https://developer.mozilla.org/en-US/docs/Web/API/Document/querySelectorAll>

I can imagine it would be pretty fast in native code, if that’s what it is.

John

> On Mar 20, 2016, at 8:46 PM, John Carlson <yottzumm at gmail.com> wrote:
> 
> Thanks for commenting Leonard, I thought it was going to be left behind in the id/class discussion
> 
>> On Mar 20, 2016, at 8:32 PM, Leonard Daly <web3d at realism.com> wrote:
>> 
>> could refer to all viewpoint nodes in the main scene. An X3D ROUTE that identified that string as the destination would change all viewpoints. While this is not hard to do (for example jQuery does this), it can cause considerable overhead if you have to check the entire scene graph for matching nodes on every animation step. 
>> 
> 
> Only check the scene graph when the members of the selection change.
> 
>> My initial thought is to not go down this route; however, that just may be my concern on run-time performance and not being creative enough to see all of the good possibilities.
> 
> Agreed.  Let’s wait for a good use case. Necessity is the mother of invention.  We can write a route expander in the meantime.
> 
> John
> 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://web3d.org/pipermail/x3d-public_web3d.org/attachments/20160320/5f6c95a7/attachment-0001.html>


More information about the x3d-public mailing list