[x3d-public] FreeWRL line 999 DEF/USE mismatch,

Joe D Williams joedwil at earthlink.net
Mon Jan 22 18:56:26 PST 2024


Hey FreeWRL, my little flower animation thing has error(s) I never get anywhere else.  
Can you please help me figure this out?  

Attached is zip of FlowerSet1010.x3d

(In the following, when xml, the [ is substituted for the < left angle because my mailer doesn't like anything looking like xml. 
   
When I use FreewrL I get this in message window:  
MidiInWinMM::initialize: no MIDI input devices currently available.
libfreewrl version 6.4.0
-h for commandline use
openGL version 4.6.0 NVIDIA 536.23
GLSL shader max version 4.60 NVIDIA 460
maximum texture size system/gpu: 32768 runtime/freewrl: 16384
processor architecture x64
maxiumum image texture units 32
depth bits 24
Warning,  
line 999 DEF/USE mismatch, 'BorderFlower01', Transform != ShapeWarning,
.
. plus 18 reps  
.
line 999 DEF/USE mismatch, 'BorderFlower01', Transform != ShapeWarning,
line 999 DEF/USE mismatch, 'BorderFlower01', Transform != Shape *ended

User Code related to this error seems to be as follows.
Here is DEF of BorderFlower01
[!-- Build Flower #3 and BorderFlower01 -->
[Transform DEF='BorderFlower01' scale='1 1 1'>
 [Transform translation='0.5 0 0' >
  [Shape USE='Stem1'/>
 [/Transform>
... shortened by some petals added not shown
 [Transform translation='0.5 0.01 0' scale='1 1.5 1'>
  [Shape USE='FlowerCenter'/>
 [/Transform>
[/Transform>  

Now all three of the first flowers, including BorderFlower01, show up fine with  animation working no problem.  

Then I USE BorderFlower01 to build another set of one Special flower and 20 border flowers.  

[Transform DEF='rFlowerSpecial' scale='2 2 2' rotation='0 0 1 0' translation='7 0.35 0'>
 [Shape USE='BorderFlower01'/>
[/Transform>
[Transform DEF='rFlower01' rotation='0 0 1 0' translation='9.198902 0.25 -0.863062'>
 [Shape USE='BorderFlower01'/>
[/Transform>
. . . plus 18 r and l flowers
[Transform DEF='lFlower10' rotation='0 0 1 0' translation='18.515152 0.25 30.003242'>
 [Shape USE='BorderFlower01'/>
[/Transform>  

When I run it I get error and I don't see why.
Thanks for looking.
Joe
-------------- next part --------------
A non-text attachment was scrubbed...
Name: FlowerSet1010.zip
Type: application/x-zip-compressed
Size: 12695 bytes
Desc: not available
URL: <http://web3d.org/pipermail/x3d-public_web3d.org/attachments/20240123/ac357ee9/attachment.bin>


More information about the x3d-public mailing list