[x3d-public] VolumeEmitter found in both Holger’s examples and X3DJSAIL.

John Carlson yottzumm at gmail.com
Thu Dec 19 10:54:31 PST 2024


Confirmed that there’s  a VolumeEmitter in my serializer output, Don’s
stylesheet output, Holger’s examples, and X3DJSAIL;  which causes a package
conflict.  I suggest 2 approaches.

1) use full package name in serializer output and Don’s stylesheet (I think
the package name must be passed in, which I’ve not achieved in Saxon
running a stylesheet).  The problem below is because the component folder
is not included in the package name.  “Clearly” this is probably due to not
passing in a full package name.  My issue.

2) Suggest Holger changes the name of VolumeEmitter.x3d.  Perhaps
VolumeEmitterTest.x3d would be a good name.

The x3djsonld below indicates it’s from a stylesheet.  But I believe the
full package name should be passed in.

John

On Thu, Dec 19, 2024 at 12:10 AM John Carlson <yottzumm at gmail.com> wrote:

> There seems to be some package conflict with X3DJSAIL and Holger's
> VolumeEmitter example.  The package name below was an incorrect guess, and
> properly threw an error message.
>
> .\net\x3djsonld\data\VolumeEmitter.java:113: error: cannot find symbol
>       .setEmitter(new /*avoid name collision with file name by defining
> full
> package*/org.web3d.x3d.jsail.VolumeEmitter().setDirection(0.0,0.0,0.0).setMass(0.01).setSurfaceArea(0.01)
>
>                                ^
>   symbol:   class VolumeEmitter
>   location: package org.web3d.x3d.jsail
> 2 errors
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://web3d.org/pipermail/x3d-public_web3d.org/attachments/20241219/66fec0c8/attachment.html>


More information about the x3d-public mailing list