[X3D-Public] Fwd: Re: [X3D] X3D HTML5 meetingdiscussions:Declarative 3D interest group at W3C

Chris Marrin chris at marrin.com
Mon Jan 3 17:31:13 PST 2011


On Jan 2, 2011, at 7:37 PM, John Carlson wrote:

> 
> On Jan 2, 2011, at 5:35 PM, Chris Marrin wrote:
> 
>> 
>> On Jan 2, 2011, at 4:00 PM, "Joe D Williams" <joedwil at earthlink.net> wrote:
>> 
>>> Hi All, when thinking of somehting new, please think about mime types for the main text file and maybe even files that are optimized in relation to the data or intentions you are moving around.
>>> 
>>>> 
>>>> Thanks Again and Best Regards,
>>>> Joe
>>>> http://www.hypermultimedia.com/Logo/Web3dLogo-X3d-animated-logo2.x3d
>>>> 
>>>> 
>>> 
>>> believe it or not:
>>> I can click that link in my email Outlook Express and get IE8 with BSContact installed and it actually works. Same for .x3dv and for .wrl.
>>> That also happens in most all web browsers clicking an html link when the plugin is installed and the mime is recognized.
>>> This is happening due to solid registered (at least in the host browser) mime types
>>> More and more of the web is depending upon mimes, believe it or not.
>> 
>> If the format we're discussing is declarative 3D markup in a web browser, we already have he mime- type: text/html. I don't say that to be trite. It's an important requirement. Modern HTML 5 parsers deal with embedded markup very well. It let's you embed SVG, MathML, etc. inline. There are beautiful examples of embedded MathML that work with most of the bleeding edge browsers. IMHO thinking of this as a plugin is a non-starter. 
> 
> 
> Cool!  Let's see a rendering of:
> 
> <table>
> <tr><td><sphere/></ld></tr>
> <tr><td><cube/></ld></tr>
> <tr><td><sphere/></ld></tr>
> </table>

	" *** Error, file is well formed, but not valid (X)HTML."

As with SVG and MathML, there would need to be a namespace boundary (e.g., the <svg> and <math> containers). So your example would be something like:

	<table>
		<tr>
			<td>
				<threed xmlns="http://www.w3.org/foo/threed"><sphere/></threed>
			</td>
			<td>
				<threed xmlns="http://www.w3.org/foo/threed"><cube/></threed>
			</td>
			<td>
				<threed xmlns="http://www.w3.org/foo/threed"><sphere/></threed>
			</td>
		</tr>
	</table>

This is of course assuming your 3D node set has <cube> and <sphere>. The <threed> container would have to somehow define its size (most likely through CSS), so it can layout properly in the table. Then a rectangle of that size would define the 3D canvas ("canvas" (the drawing surface of the 3D scene) as opposed to "Canvas" (the element)). In all its glory the <threed> container would obey the 'overflow' CSS property, so you could have the objects clip to the <threed> bounds or not.

-----
~Chris
chris at marrin.com




More information about the X3D-Public mailing list