[X3D-Public] help x3d file highlight background does not work
Rex Melton
rex.melton at jeospace.net
Tue Jul 10 06:48:30 PDT 2012
Just a guess, but perhaps what you are looking for
is the ClipPlane node.
On 7/10/2012 9:02 AM, Chris wrote:
> Hello people,
>
> I have a problem and I hope you can help me?
> In a x3d file I have 3 Models with a different size. Now I would like to highlight the background. So that it is possible to see the smaller models in the bigger one.
> I tried several things but it did not work.
>
> Here is the short version of the code (Thanks for you help):
>
>
> <?xml version="1.0" encoding ="UTF-8"?>
>
> <X3D profile="Immersive" version="3.0">
> <head>
> <meta name="filename" content="/Users/DaNu/Desktop/notnativ0.1-3PL0.3BS500C100-200/neue multicolor versuche/EV 1+2/neu cull.x3d"/>
> <meta name="generator" content="Visualization ToolKit X3D exporter v0.9.1"/>
> <meta name="numberofelements" content="16"/>
> </head>
> <Scene>
> <Background skyColor="0.319997 0.340002 0.429999"/>
> <Viewpoint fieldOfView="0.523599" position="109.301 13.3418 228.647" description="Default View" orientation="0.328789 0.668993 0.666593 -5.5714" centerOfRotation="-1.521 37.4156 33.0694"/>
> <NavigationInfo type='"EXAMINE" "FLY" "ANY"' speed="4" headlight="true"/>
> <DirectionalLight ambientIntensity="1" intensity="0" color="1 1 1"/>
> <Transform DEF="ROOT" translation="0 0 0">
> <DirectionalLight direction="-0.111619 -0.766044 -0.633022" color="1 0.97232 0.90222" intensity="0.75" on="true"/>
> <DirectionalLight direction="0.0449435 0.965926 -0.254887" color="0.90824 0.93314 1" intensity="0.25" on="true"/>
> <DirectionalLight direction="-0.939693 0 0.34202" color="0.9998 0.9998 0.9998" intensity="0.214286" on="true"/>
> <DirectionalLight direction="0.939693 0 0.34202" color="0.9998 0.9998 0.9998" intensity="0.214286" on="true"/>
> <Transform translation="-1.521 37.4156 33.0694" rotation="0 0 1 -0" scale="32.6542 41.2022 34.1933">
> <Shape>
> <Appearance>
> <Material ambientIntensity="0" emissiveColor="0 0 0" diffuseColor="1 1 1" specularColor="0 0 0" shininess="0.0078125" transparency="0"/>
> </Appearance>
> <IndexedLineSet colorPerVertex="true" coordIndex="
> 0 1 -1
> 2 3 -1
> 4 5 -1
> ">
> <Coordinate DEF="VTKcoordinates0000" point="
> -1 0 0,
> 1 0 0,
> 0 -1 0,
> 0 1 0,
> 0 0 -1,
> 0 0 1,
> "/>
> <Color DEF="VTKcolors0000" color="
> 1 0 0,
> 1 0 0,
> 0.996078 1 0,
> 0.996078 1 0,
> 0 1 0,
> 0 1 0,
> "/>
> </IndexedLineSet>
> </Shape>
> </Transform>
> <Transform translation="0 0 0" rotation="0 0 1 -0" scale="1 1 1">
> <Shape>
> <Appearance>
> <Material ambientIntensity="0" emissiveColor="0 0 0" diffuseColor="1 1 1" specularColor="0.1 0.1 0.1" shininess="0.78125" transparency="0"/>
> </Appearance>
> <IndexedFaceSet solid="false" colorPerVertex="true" normalPerVertex="true" coordIndex="
>
> .....
>
> "/>
> </IndexedFaceSet>
> </Shape>
> </Transform>
> <Transform translation="0 0 0" rotation="0 0 1 -0" scale="1 1 1">
> <Shape>
> <Appearance>
> <Material ambientIntensity="0" emissiveColor="0 0 0" diffuseColor="0.203922 1 0.137255" specularColor="0.1 0.1 0.1" shininess="0.78125" transparency="0"/>
> </Appearance>
> <IndexedFaceSet solid="false" colorPerVertex="true" normalPerVertex="true" coordIndex="
>
> .....
> "/>
> </IndexedFaceSet>
> </Shape>
> </Transform>
> <Transform translation="0 0 0" rotation="0 0 1 -0" scale="1 1 1" >
> <Shape>
> <Appearance>
> <Material ambientIntensity="0" emissiveColor="0 0 0" diffuseColor="1 0.152941 0.258824" specularColor="0.1 0.1 0.1" shininess="0.78125" solid="false" transparency="0.1"/>
> </Appearance>
> <IndexedFaceSet solid="false" colorPerVertex="true" normalPerVertex="true" coordIndex="
> ....
> "/>
> </IndexedFaceSet>
> </Shape>
> </Transform>
> </Transform>
> </Scene>
> </X3D>
>
> I really would appreciate some help.
>
> Thx,
> Chris
> _______________________________________________
> X3D-Public mailing list
> X3D-Public at web3d.org
> http://web3d.org/mailman/listinfo/x3d-public_web3d.org
>
>
More information about the X3D-Public
mailing list