Here we have a primitive 3D Module of a pink sphere.
#VRML V2.0 uft8
#KPM
Shape {
geometry Sphere {
radius 5.0
}
appearance Appearance {
material Material {diffuseColor 255 0 255}
}
}
Here we have a primite 3D Module of a blue cone.
#VRML V2.0 uft8
#KPM
Shape {
appearance Appearance {
material Material {
diffuseColor 0.69 0.94 1
}
}
geometry Cone {
bottomRadius 3
height 4.5
}
}
Here we have a primitive 3D Module of a yellow cube.
#VRML V2.0 uft8
#KPM
DEF box Transform {
translation 0 0 0
children [
Shape {
appearance Appearance {
material Material{
diffuseColor 1 1 0
}
}
geometry Box {size 1 2 2}
}
]
}
Here we have a primitive 3D Module of a blue sphere fused with a cylinder.
#VRML V2.0 uft8
#KPM
Shape {
geometry Cylinder {
radius 3.0
height 3.0
}
appearance Appearance {
material Material {diffuseColor 0 0 1}
}
}
Transform {
translation 0 0 0
children [
Shape {
geometry Sphere{
radius 3.0
}
appearance Appearance {
material Material {diffuseColor 0 0 1}
}
}
]
}
Here we have a primitive 3D Module of a cyan cylinder
#VRML V2.0 uft8
#KPM
Shape{
appearance Appearance {
material Material {
diffuseColor 0 1 1
}
}
geometry Cylinder {
radius 6.0
height 4.0
}
}
Here we have a primitive 3D Module of a cylinder and sphere with a transaltion next to each other.
#VRML V2.0 uft8
#KPM
Shape{
geometry Cylinder {
radius 2.0
height 5.0
}
appearance Appearance {
material Material {diffuseColor 0.7 1 0.9}
}
}
Transform {
translation 6 0 0
children [
Shape{
geometry Sphere {
radius 3.0
}
appearance Appearance {
material Material {diffuseColor 0.7 0.3 0.9}
}
}
]
}
Here we have a primitive 3D Module of a cylinder and sphere translation above each other.
Shape{
geometry Cylinder {
radius 2.0
height 6.0
}
appearance Appearance {
material Material {diffuseColor 0.7 1 0}
}
}
Transform {
translation 6 4 4
children [
Shape{
geometry Sphere {
radius 2.0
}
appearance Appearance {
material Material { diffuseColor 0.9 0.5 1}
}
}
]
}