[x3d-public] A Layer/Layout yottzumm/coderextreme example scene to talk about
John Carlson
yottzumm at gmail.com
Sun Aug 17 23:38:01 PDT 2025
Here's a "cleaner" version to avoid any misunderstandings. This one should
be clean under X3D-Edit.
John
On Mon, Aug 18, 2025 at 12:55 AM 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
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://web3d.org/pipermail/x3d-public_web3d.org/attachments/20250818/4cc1f2b2/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: sliders.x3d
Type: model/x3d+xml
Size: 13440 bytes
Desc: not available
URL: <http://web3d.org/pipermail/x3d-public_web3d.org/attachments/20250818/4cc1f2b2/attachment.x3d>
More information about the x3d-public
mailing list