[x3d-public] Transform node which has a DEF used as MFNode?

Don Brutzman brutzman at nps.edu
Fri Jul 1 17:11:51 PDT 2016


On 7/1/2016 11:16 AM, John Carlson wrote:
> Would it be more proper to use children instead of value with the hudGeometry fieldValue?

yes indeed, as response five minutes ago indicated.

> If so, could someone please change it in the X3D file and tell me?

Yes, corrected fragment is

     <ProtoInstance DEF='Hud' name='HUD'>
       <fieldValue name='hudSize' value='1.5 .4 .1'/>
       <fieldValue name='hudColor' value='1 1 0'/>
       <fieldValue name='screenOffset' value='-.8 1. -3'/>
       <fieldValue name='hudGeometry'>
         <Transform USE='HudContent'/>
       </fieldValue>
     </ProtoInstance>

Corrected version passes all validation tests.  Checked into subversion and attached for your convenience.

> Thanks,
>
> John

likewise.  happy long weekend and Independence Day!

all the best, Don
-- 
Don Brutzman  Naval Postgraduate School, Code USW/Br       brutzman at nps.edu
Watkins 270,  MOVES Institute, Monterey CA 93943-5000 USA   +1.831.656.2149
X3D graphics, virtual worlds, navy robotics http://faculty.nps.edu/brutzman
-------------- next part --------------
A non-text attachment was scrubbed...
Name: HudKelpForest.x3d
Type: model/x3d+xml
Size: 9608 bytes
Desc: not available
URL: <http://web3d.org/pipermail/x3d-public_web3d.org/attachments/20160701/4604463b/attachment.x3d>


More information about the x3d-public mailing list