[x3d-public] Patched file, please review

Don Brutzman brutzman at nps.edu
Mon Apr 19 06:43:13 PDT 2021


I don't think two-sided material was intended, recommend merging Material nodes (watch out for duplicate diffuseColor) or else simply remove one of them.

Or better yet, refresh your version control later.  I just started adjusting these copies, found a lot of differences with Efi's latest.  Am using those differences to add & test some new diagnostics.

p.s. John you likely want to adjust your text output to match X3D Canonical Form in order to avoid diffs when comparing equivalent node definitions.

On 4/17/2021 11:54 PM, John Carlson wrote:
> NPS WARNING: *external sender* verify before acting.
> 
> 
> SplitChannels.x3d attached. (no guarantees on which material was chosen
> as backMaterial).
> 
> 
> x3d/content/examples/X3dForAdvancedModeling/AudioSpatialSound$ diff
> SplitChannels.x3d ~/X3DJSONLD/src/main/data/SplitChannels.x3d
> 20c20
> <     <NavigationInfo DEF='NAV' headlight='true' type='NONE'/>
> ---
>  >     <NavigationInfo DEF='NAV' headlight='true' type='"NONE"'/>
> 44,45c44,45
> <             <Material diffuseColor='0.345 0.345 0.882' transparency='0'/>
> <             <Material ambientIntensity='0.0933' diffuseColor='1 1 1'
> emissiveColor='0 0 0' shininess='0.51' specularColor='0.46 0.46 0.46'/>
> ---
>  >             <Material diffuseColor='0.345 0.345 0.882'
> transparency='0' containerField="material"/>
>  >             <Material ambientIntensity='0.0933' diffuseColor='1 1 1'
> emissiveColor='0 0 0' shininess='0.51' specularColor='0.46 0.46 0.46'
> containerField="backMaterial"/>
> 47,48c47,48
> <           <Text solid='false' string='Right Channel Volume'>
> <             <FontStyle family=''Times'' horizontal='true'
> justify='BEGIN' leftToRight='true' size='1' spacing='1' style='BOLD'
> topToBottom='true'/>
> ---
>  >           <Text solid='false' string='"Right Channel Volume"'>
>  >             <FontStyle family='"Times"' horizontal='true'
> justify='"BEGIN"' leftToRight='true' size='1' spacing='1' style='BOLD'
> topToBottom='true'/>
> 74,75c74,75
> <             <Material diffuseColor='0.345 0.345 0.882' transparency='0'/>
> <             <Material ambientIntensity='0.0933' diffuseColor='1 1 1'
> emissiveColor='0 0 0' shininess='0.51' specularColor='0.46 0.46 0.46'/>
> ---
>  >             <Material diffuseColor='0.345 0.345 0.882'
> transparency='0' containerField="material"/>
>  >             <Material ambientIntensity='0.0933' diffuseColor='1 1 1'
> emissiveColor='0 0 0' shininess='0.51' specularColor='0.46 0.46 0.46'
> containerField="backMaterial"/>
> 77,78c77,78
> <           <Text solid='false' string='Left Channel Volume'>
> <             <FontStyle family=''Times'' horizontal='true'
> justify='BEGIN' leftToRight='true' size='1' spacing='1' style='BOLD'
> topToBottom='true'/>
> ---
>  >           <Text solid='false' string='"Left Channel Volume"'>
>  >             <FontStyle family='"Times"' horizontal='true'
> justify='"BEGIN"' leftToRight='true' size='1' spacing='1' style='BOLD'
> topToBottom='true'/>
> 107c107
> < </X3D>
> \ No newline at end of file
> ---
>  > </X3D>
> 

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



More information about the x3d-public mailing list