[x3d-public] A Layer/Layout yottzumm/coderextreme example scene to talk about
John Carlson
yottzumm at gmail.com
Tue Aug 19 10:33:44 PDT 2025
So here’s the question. If I want to program in JavaScript, do I use
WebGPU, or build my own Node.js/DX12 Ultimate binding?
John
On Tue, Aug 19, 2025 at 10:24 AM GPU Group via x3d-public <
x3d-public at web3d.org> wrote:
> "How .. do .. [multiple seeming conflicting technologies in the same
> stack]' Great questions.
> -Doug
>
> On Tue, Aug 19, 2025 at 9:13 AM John Carlson <yottzumm at gmail.com> wrote:
>
>> I believe that’s a hardware issue unless one is doing software rendering.
>>
>> Some people want to make browsers for a spatial internet.
>>
>> How does one do GDI+ and DirectX at the same time? Direct2D and DXGI?
>> Is that cross-platform? Maybe we should learn those APIs?
>>
>> John
>>
>> ---------- Forwarded message ---------
>> From: GPU Group via x3d-public <x3d-public at web3d.org>
>> Date: Tue, Aug 19, 2025 at 9:58 AM
>> Subject: Re: [x3d-public] A Layer/Layout yottzumm/coderextreme example
>> scene to talk about
>> To: Extensible 3D (X3D) Graphics public discussion <x3d-public at web3d.org>
>> CC: GPU Group <gpugroup at gmail.com>
>>
>>
>> "What .. want to use?"
>> Perhaps the most flexible arrangement is if each technology layer can be
>> sandwiched / has a top entry and bottom exit in a stack / is stackable /
>> has stack interfaces to other technology layers.
>> X3D has some ways to enter from HTML or from operating system on the top.
>> But no good exits on the bottom, so limits itself to being the bottom of
>> the stack. Fix that and X3D becomes a layer that can interleave with other
>> technology layers in a deep, recursive stack.
>> -Doug
>>
>> On Tue, Aug 19, 2025 at 8:37 AM John Carlson <yottzumm at gmail.com> wrote:
>>
>>> Maybe we should go back to the original meaning of desktop and do
>>> holograms or projections. See DynamicLand archive:
>>> https://dynamicland.org
>>>
>>> Anything is possible. What do people want to use?
>>>
>>> John
>>>
>>> On Tue, Aug 19, 2025 at 9:26 AM GPU Group via x3d-public <
>>> x3d-public at web3d.org> wrote:
>>>
>>>> "HTML .." Virtual Desktops > some HMD head mounted display operating
>>>> systems feature multiple virtual desktop computer screens floating in 3D
>>>> space, each presumably rendering various 2D and 3D content including HTML
>>>> pages. So what should be at the top level?
>>>> a) 3D
>>>> b) desktop
>>>> c) html
>>>> d) HMD
>>>> It seems somewhat circular, with no rightful top level. Even HMD could
>>>> be simulated in 3D and shown in a higher level 3D scene in a 3D window in
>>>> an html page on a desktop.
>>>> -Doug
>>>>
>>>> On Mon, Aug 18, 2025 at 8:12 PM GPU Group <gpugroup at gmail.com> wrote:
>>>>
>>>>> "HTML" could/should there be an HTMLLayer node with URL='xx.html'
>>>>> derived from Layer?
>>>>> How does X_ITE talk to HTML?
>>>>> -Doug
>>>>>
>>>>> On Mon, Aug 18, 2025 at 7:13 PM John Carlson <yottzumm at gmail.com>
>>>>> wrote:
>>>>>
>>>>>> I think that HTML would be preferred for most people, but I’m eyeing
>>>>>> TextBox.x3d for possible use on X3DJSONLD 12. Can I copy/paste in and
>>>>>> out? On the web? Will we ever see styling of X3D nodes? Does glTF or
>>>>>> OpenUSD do styling?
>>>>>>
>>>>>> On Mon, Aug 18, 2025 at 2:21 PM GPU Group via x3d-public <
>>>>>> x3d-public at web3d.org> wrote:
>>>>>>
>>>>>>> You're welcome to use anything on in-scene UI / GUI widgets I did
>>>>>>> without citing. or credit needed - feel free to scrape and hack:
>>>>>>> https://freewrl.sourceforge.io/tests/26_Humanoid_Animation/UI/
>>>>>>> - protos, I made unlabeled checkbox, and derived labeled checkbox
>>>>>>> proto from that, etc, for a few widget types, but I was hacking to get a
>>>>>>> scene running, not trying to make a perfect component.
>>>>>>> Q. should there be a web3d Component with standard in-scene GUI
>>>>>>> widgets?
>>>>>>> benefit: someone just starting with web3d could do more fancy things
>>>>>>> sooner / faster / easier.
>>>>>>> -Doug
>>>>>>>
>>>>>>> On Sun, Aug 17, 2025 at 11:56 PM John Carlson <yottzumm at gmail.com>
>>>>>>> wrote:
>>>>>>>
>>>>>>>> I place this example under the Web3D Consortium License, for
>>>>>>>> submission to the archives. I think that Christoph V. and maybe Doug
>>>>>>>> Sanden have had their hands on files like these. They should probably give
>>>>>>>> their blessing
>>>>>>>>
>>>>>>>> The letter with equals, "=", sliders work in FreeWRL. I haven't
>>>>>>>> gotten this example to slide like other X_ITE samples. I am using Sunrize
>>>>>>>> and FreeWRL.
>>>>>>>>
>>>>>>>> The main problem with this scene is that the middle shape inside
>>>>>>>> the coordinate axes doesn't change shape. That may be due to
>>>>>>>> how generateCoordinates() is called or not called (it may be currently
>>>>>>>> commented out). There might be issues with coordinates or coordIndexes.
>>>>>>>>
>>>>>>>> FreeWRL drags the number and letter together correctly. Sunrize
>>>>>>>> doesn't drag at all.
>>>>>>>>
>>>>>>>> Anyway, something for your perusal, and archiving.
>>>>>>>>
>>>>>>>> There may be an issue with how I am using JavaScript and setting
>>>>>>>> Script fields with a variable???
>>>>>>>>
>>>>>>>> Here's are some of the critical lines that need to work, including
>>>>>>>> the last one:
>>>>>>>>
>>>>>>>> function newTranslation(value) {
>>>>>>>> set_protoValue(value.x * protoScale);
>>>>>>>> set_protoText(new
>>>>>>>> MFString(protoParameterName+'='+protoValue.toFixed(2)));
>>>>>>>> protoScript[protoParameterName] = protoValue;
>>>>>>>> };
>>>>>>>>
>>>>>>>> John
>>>>>>>> John
>>>>>>>>
>>>>>>> _______________________________________________
>>>>>>> x3d-public mailing list
>>>>>>> x3d-public at web3d.org
>>>>>>> http://web3d.org/mailman/listinfo/x3d-public_web3d.org
>>>>>>>
>>>>>> _______________________________________________
>>>> x3d-public mailing list
>>>> x3d-public at web3d.org
>>>> http://web3d.org/mailman/listinfo/x3d-public_web3d.org
>>>>
>>> _______________________________________________
>> x3d-public mailing list
>> x3d-public at web3d.org
>> http://web3d.org/mailman/listinfo/x3d-public_web3d.org
>>
> _______________________________________________
> x3d-public mailing list
> x3d-public at web3d.org
> http://web3d.org/mailman/listinfo/x3d-public_web3d.org
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://web3d.org/pipermail/x3d-public_web3d.org/attachments/20250819/21af9d3a/attachment-0001.html>
More information about the x3d-public
mailing list