rss
twitter
facebook

Home

VRML - with child - shapes

#VRML V2.0 utf8
#Copyright DM
Shape
{
geometry Box
{
size 2 2 2
}

appearance Appearance
{
material Material
{
diffuseColor 0.1 1.92 1.99
specularColor 0,31,36
ambientIntensity .0533
shininess .32
}
}
}


Transform
{
translation 0 2 0
children

Shape
{
geometry Cylinder
{
radius 1
height 2
side TRUE
bottom TRUE
top TRUE
}

appearance Appearance
{
material Material
{
diffuseColor 0.44 1.44 1.44
specularColor .1 .1 .1
ambientIntensity .117
shininess .4
}
}

}
}

Transform
{
translation 3 0 1
children

Shape
{
geometry Cylinder
{
radius 1
height 2
side TRUE
bottom TRUE
top TRUE
}
appearance Appearance
{
material Material
{
diffuseColor 0.1 .52 1.09
specularColor .92 .43 .01
ambientIntensity .45
shininess .4
}
}

}
}

Transform
{
translation 3 3 1
children


Shape
{

geometry Cone
{
bottom TRUE
}
appearance Appearance
{
material Material
{
diffuseColor 123 .133 .22
specularColor 31 .39 .39
ambientIntensity .07
shininess .13

}
}



}
}
Transform
{
translation 3 2 1
children


Shape
{
appearance Appearance
{
material Material
{
diffuseColor 0.44 1.44 1.44
specularColor 31 .39 .39
ambientIntensity .07
shininess .13

}
}
geometry Sphere
{
radius .6

}


}
}


Background
{
groundColor [.51 0.33 0.32
.42 0.15 0.23

.74 0.81 0.53]

skyColor [0.71 0.71 0.71
0.11 0.11 0.11

0.55 0.55 0.55]

skyAngle [1.309,1.709]

}



Shape
{
appearance DEF theTexture Appearance
{
texture ImageTexture
{
url ["http://www.cs.iupui.edu/~aharris/mm/texture/brick1.jpg"]
} # end texture
} # end appearance

geometry Box
{
size 1 2 3
} # end geometry
} # end shape

NavigationInfo
{
type "EXAMINE"
} # end navInfo

0 comentários:

 
Powered by Blogger