[X3D-Public] [x3dom-developers] Fwd: Question about InstantReality and X3DOM OrthoViewpoint.zNear/zFar

Leonard Daly web3d at realism.com
Tue Nov 25 16:56:37 PST 2014


On 11/24/2014 5:53 PM, John Carlson wrote:
>
> 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!
>

X3D browsers (and extensions) exist in three possible situations:
1) As a plugin to a regular web browser (e.g., Firefox, IE, etc.)
2) As a stand-along application (e.g., Xj3D)
3) Embedded in HTML5 (e.g., X3DOM)

(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.

(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.

(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.


Is there someplace explicit you are going with this question?


Leonard Daly





>
> On Mon, Nov 24, 2014, 5:38 PM Michalis Kamburelis 
> <michalis.kambi at gmail.com <mailto:michalis.kambi at gmail.com>> wrote:
>
>     To whom it may interest, John Carlson found a link explaining how
>     X3DOM
>     and InstantReality handle avatarSize or visibilityLimit vs zNear/zFar.
>     Link and my summary below :)
>
>     Michalis
>
>     Michalis Kamburelis wrote:
>     > John Carlson wrote:
>     >> This seems relevant:
>     >> http://sourceforge.net/p/x3dom/mailman/message/32959496/
>     >>
>     >
>     > Ha, great, thanks for finding this! Reasing this, and linked
>     > https://github.com/x3dom/x3dom/issues/439 (stil open) does answer my
>     > questions.
>     >
>     > So:
>     >
>     > - X3DOM simply does not support avatarSize or visibilityLimit. Their
>     > [Ortho]Viewpoint.zNear/zFar values are always used. That is why
>     their
>     > [Ortho]Viewpoint.zNear/zFar default values are not -1.
>     >
>     > - For InstantPlayer, [Ortho]Viewpoint.zNear/zFar are only used
>     when they
>     > are not default. And that is why the default values are -1, to
>     make them
>     > special. When they are -1 (default) then avatarSize and
>     visibilityLimit
>     > are used.
>     >
>     > This actually explains everything, I think. Unfortunately, this also
>     > means that X3DOM is not compatible with InstantPlayer (or other X3D
>     > browsers, for that matter).
>     >
>     > P.S. I see you replied to me, not adding Cc to the x3d-public
>     mailing
>     > list. Is it Ok with you if I forward this to the x3d-public
>     list? This
>     > information may be useful for others :)
>     >
>     > Regards,
>     > Michalis
>     >
>
>
>
> ------------------------------------------------------------------------------
> 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
> http://pubads.g.doubleclick.net/gampad/clk?id=157005751&iu=/4140/ostg.clktrk
>
>
> _______________________________________________
> x3dom-developers mailing list
> x3dom-developers at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/x3dom-developers


-- 
*Leonard Daly*
X3D Co-Chair
Cloud Consultant
President, Daly Realism - /Creating the Future/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://web3d.org/pipermail/x3d-public_web3d.org/attachments/20141125/cbb683a4/attachment.html>


More information about the X3D-Public mailing list