[WWW-Vrml] x3d file highlight background does not work
Chris
chris.schweighofer at gmx.net
Tue Jul 10 00:38:03 PDT 2012
Hello Don,
thx for your answer. I know there is no error in the code.
I try since days to cull the front face of the bigger objects to see the smaller objects in the bigger one.
At the moment I have no idea how this should be working?
Do you have a idea.
Here is a link to the full file:
www.bestaltmed.at/slicer/neucullfrontface.x3d.zip
Please let me know, if u have an idea how to find a solution for this problem?
Thx,
Chris
Am 10.07.2012 um 08:11 schrieb Don Brutzman:
> copied to x3d-public which is later incarnation of www-vrml
>
> no immediate problems seen; would changing Background skycolor help?
>
> also you can check your full .x3d source file for errors using X3D Validator
>
> https://savage.nps.edu/X3dValidator
>
> ============================================
>
> 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 to.
> 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
> _______________________________________________
> Www-vrml mailing list
> Www-vrml at web3d.org
> http://web3d.org/mailman/listinfo/www-vrml_web3d.org
> .
More information about the Www-vrml
mailing list