<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<div class="moz-cite-prefix">On 11/24/2014 5:53 PM, John Carlson
wrote:<br>
</div>
<blockquote
cite="mid:CAGC3UE=96cJc6iVmvxqLfHb0mVfqMBqcUDpkMZFFY+64_v+E0g@mail.gmail.com"
type="cite">
<p dir="ltr">This brings up an interesting point. Does an X3D
browser inform the server its capabilities, like HTTP User-Agent
and accepted formats? How does X3DOM do this? Thanks!<br>
</p>
</blockquote>
<br>
X3D browsers (and extensions) exist in three possible situations:<br>
1) As a plugin to a regular web browser (e.g., Firefox, IE, etc.)<br>
2) As a stand-along application (e.g., Xj3D)<br>
3) Embedded in HTML5 (e.g., X3DOM)<br>
<br>
(1) A plugin informs the browser when it is installed what MIME
types it can handle. When content is encountered that use that MIME
type, the browser starts up the X3D plugin. Communication for more
information (e.g., Inline, ImageTexture, etc.) should go through the
browser with all of the regular HTTP header fields. It may be
possible for a plugin to directly access network resources, in which
case the description in (2) would apply.<br>
<br>
(2) A standalone application is completely responsible for all
network communications. Since the X3D specification requires
(network) communication to use HTTP, it would confirm to the HTTP
V1.1 specification. The optional fields (e.g., User-Agent, etc.) is
up to the the library and application. <br>
<br>
(3) Embedded applications use the browser network interface. Most,
probably all, of the network communications use XMLHttpRequest (at
the base level) to perform the work. This would provide all of the
user browser HTTP headers.<br>
<br>
<br>
Is there someplace explicit you are going with this question?<br>
<br>
<br>
Leonard Daly<br>
<br>
<br>
<br>
<br>
<br>
<blockquote
cite="mid:CAGC3UE=96cJc6iVmvxqLfHb0mVfqMBqcUDpkMZFFY+64_v+E0g@mail.gmail.com"
type="cite">
<p dir="ltr">
</p>
<br>
<div class="gmail_quote">On Mon, Nov 24, 2014, 5:38 PM Michalis
Kamburelis <<a moz-do-not-send="true"
href="mailto:michalis.kambi@gmail.com">michalis.kambi@gmail.com</a>>
wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0
.8ex;border-left:1px #ccc solid;padding-left:1ex">To whom it
may interest, John Carlson found a link explaining how X3DOM<br>
and InstantReality handle avatarSize or visibilityLimit vs
zNear/zFar.<br>
Link and my summary below :)<br>
<br>
Michalis<br>
<br>
Michalis Kamburelis wrote:<br>
> John Carlson wrote:<br>
>> This seems relevant:<br>
>> <a moz-do-not-send="true"
href="http://sourceforge.net/p/x3dom/mailman/message/32959496/"
target="_blank">http://sourceforge.net/p/x3dom/mailman/message/32959496/</a><br>
>><br>
><br>
> Ha, great, thanks for finding this! Reasing this, and
linked<br>
> <a moz-do-not-send="true"
href="https://github.com/x3dom/x3dom/issues/439"
target="_blank">https://github.com/x3dom/x3dom/issues/439</a>
(stil open) does answer my<br>
> questions.<br>
><br>
> So:<br>
><br>
> - X3DOM simply does not support avatarSize or
visibilityLimit. Their<br>
> [Ortho]Viewpoint.zNear/zFar values are always used. That
is why their<br>
> [Ortho]Viewpoint.zNear/zFar default values are not -1.<br>
><br>
> - For InstantPlayer, [Ortho]Viewpoint.zNear/zFar are only
used when they<br>
> are not default. And that is why the default values are
-1, to make them<br>
> special. When they are -1 (default) then avatarSize and
visibilityLimit<br>
> are used.<br>
><br>
> This actually explains everything, I think.
Unfortunately, this also<br>
> means that X3DOM is not compatible with InstantPlayer (or
other X3D<br>
> browsers, for that matter).<br>
><br>
> P.S. I see you replied to me, not adding Cc to the
x3d-public mailing<br>
> list. Is it Ok with you if I forward this to the
x3d-public list? This<br>
> information may be useful for others :)<br>
><br>
> Regards,<br>
> Michalis<br>
><br>
<br>
</blockquote>
</div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">------------------------------------------------------------------------------
Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
from Actuate! Instantly Supercharge Your Business Reports and Dashboards
with Interactivity, Sharing, Native Excel Exports, App Integration & more
Get technology previously reserved for billion-dollar corporations, FREE
<a class="moz-txt-link-freetext" href="http://pubads.g.doubleclick.net/gampad/clk?id=157005751&iu=/4140/ostg.clktrk">http://pubads.g.doubleclick.net/gampad/clk?id=157005751&iu=/4140/ostg.clktrk</a></pre>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
x3dom-developers mailing list
<a class="moz-txt-link-abbreviated" href="mailto:x3dom-developers@lists.sourceforge.net">x3dom-developers@lists.sourceforge.net</a>
<a class="moz-txt-link-freetext" href="https://lists.sourceforge.net/lists/listinfo/x3dom-developers">https://lists.sourceforge.net/lists/listinfo/x3dom-developers</a>
</pre>
</blockquote>
<br>
<br>
<div class="moz-signature">-- <br>
<font class="tahoma,arial,helvetica san serif" color="#333366">
<font size="+1"><b>Leonard Daly</b></font><br>
X3D Co-Chair<br>
Cloud Consultant<br>
President, Daly Realism - <i>Creating the Future</i>
</font></div>
</body>
</html>