1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55
|
#!/bin/sh
EXECDIR=`dirname $0`
# generate templates of sourcefiles for not already existing nodes in white_dune
# from X3D specification component html files
if test "X_$CURRENT_X3D_URL" = "X_" ; then
CURRENT_X3D_URL=http://www.web3d.org/x3d/specifications/ISO-IEC-19775-1.2-X3D-AbstractSpecification
# reading from local stored standard
# CURRENT_X3D_URL=../../ISO-IEC-19775-1.2-X3D-AbstractSpecification
fi
COMPONENTS=" \
CADGeometry \
core \
dis \
env_texture \
enveffects \
envsensor \
followers \
geodata \
geometry2D \
geometry3D \
group \
hanim \
interp \
keyboard \
layering \
layout \
lighting \
navigation \
networking \
nurbs \
particle_systems \
picking \
pointingsensor \
rendering \
rigid_physics \
scripting \
shaders \
shape \
sound \
text \
texture3D \
texturing \
time \
utils"
for i in $COMPONENTS ; do
lynx -dump $CURRENT_X3D_URL/Part01/components/$i.html |
awk -v path=$EXECDIR/ -f $EXECDIR/mknodesource.awk
done
|