[x3d-public] View3dscene Sound and exit Error

Joe D Williams joedwil at earthlink.net
Wed Aug 30 12:44:02 PDT 2023



> 2. As for new error: That's a really downscaled screenshot :) I cannotdecipher the text there, I'm afraid. I know the x3d-public mailinglist has a rather ancient limits on attachment size :) -- if that's why you scaled it so much.

This happens every time I exit, no matter what has been in there, or nothing, just quit without loading anything. 
It's the dreaded exception exception:

Exception:"Exception 
Cannot use TCastleViewport.PositionToXxx when viewport has effectively empty size.
,,,
although you could also
 ... 



Just looks like some small changes between this 4.3.0 and the one I had before. 
Thanks.
Joe




-----Original Message-----
From: Michalis Kamburelis <michalis.kambi at gmail.com>
Sent: Aug 30, 2023 9:39 AM
To: Joe D Williams <joedwil at earthlink.net>
Cc: <x3d-public at web3d.org>
Subject: Re: [x3d-public] View3dscene Sound and exit Error

1. Thanks, it seems indeed we missed some X3D 4.0 fields from sound nodes.

I'll add them, these fields look easy and we should actually
support them (not only parse them, but actually "understand and act on
them").

We didn't add various WebAudio-specific fields to CGE/view3dscene
yet. But the ones mentioned above (enabled, gain) seem trivial without
WebAudio.

2. As for new error: That's a really downscaled screenshot :) I cannot
decipher the text there, I'm afraid. I know the x3d-public mailing
list has a rather ancient limits on attachment size :) -- if that's
why you scaled it so much.

Please submit a bugreport rather using
https://github.com/castle-engine/view3dscene/issues . You can attach
there a screenshot of reasonable size, so I'll be able to read it. If
you can, please attach also a minimal VRML / X3D testcase to reproduce
the problem.

This is our recommended way to send bugreports.

Regards,
Michalis


śr., 30 sie 2023 o 18:17 Joe D Williams napisał(a):
>
> Hi, Trying an audio as follows:
>
> description='Show Music'
> enabled='true'
> intensity='1'
> location='9 4 7'
> direction='0 0 -1'
> maxBack='50'
> maxFront='50'
> minBack='20'
> minFront='20'
> priority='0'
> spatialize='true'>
> description="John Wichita"
> loop='true'
> startTime='0'
> stopTime='0'
> pitch='1.0'
> enabled='true'
> pauseTime='0'
> resumeTime='0'
> gain='1'
> url='"theWave.wav"'/>
>
> Got these messages
>
> X3D: Unknown X3D field name (unhandled X3D XML attribute) "enabled" in node "Sound"
> X3D: Unknown X3D field name (unhandled X3D XML attribute) "description" in node "Sound"
> X3D: Unknown X3D field name (unhandled X3D XML attribute) "gain" in node "AudioClip"
> X3D: Unknown X3D field name (unhandled X3D XML attribute) "enabled" in node "AudioClip"
> Stereo sound files are *never* played as spatial by OpenAL. Convert sound file "file:///E:....wav" to mono (e.g. by Audacity or SOX).
>
> I think those fields should be ok in 4.
>
> The image shows a new error.
> I am running the latest 4.3.0 this morning, which is different that the 4.3.0 I have been using for some time.
> Thanks,
> Joe
>
>
>
> _______________________________________________
> x3d-public mailing list
> x3d-public at web3d.org
> http://web3d.org/mailman/listinfo/x3d-public_web3d.org


-------------- next part --------------
A non-text attachment was scrubbed...
Name: zExitErrorMessage2.png
Type: image/png
Size: 182722 bytes
Desc: not available
URL: <http://web3d.org/pipermail/x3d-public_web3d.org/attachments/20230830/adcbb4de/attachment-0001.png>


More information about the x3d-public mailing list