资源说明:能够浏览X3D编程的程序
例子:
#VRML V2.0 utf8
# X3D-to-VRML-97 XSL translation autogenerated by X3dToVrml97.xslt
# http://www.web3d.org/x3d/content/X3dToVrml97.xslt
# Generated using XSLT processor: Apache Software Foundation
### Info: differs from computed profile='Interchange'
# [X3D] VRML V3.0 utf8
# PROFILE Immersive
# [X3D] version=3.0
# [X3D] noNamespaceSchemaLocation=http://www.web3d.org/specifications/x3d-3.1.xsd
# [head]
# META "filename" "px3d5-1.x3d"
### Hint: preferred Dublin Core Metadata Term is name='title' (vice filename)
# META "author" "name=zjz"
### Hint: preferred Dublin Core Metadata Terms are name='creator' or name='contributor' (vice author)
# META "creator" "*enter name of original author here*"
# META "rights" "*enter copyright information here* Example: Copyright (c) Web3D Consortium Inc. 2006"
# META "identifier" "*enter online Uniform Resource Identifier (URI) or Uniform Resource Locator (URL) address for this file here*"
# META "generator" "X3D-Edit, http://www.web3d.org/x3d/content/README.X3D-Edit.html"
### Hint: Recommended: add for documentation
### Hint: Recommended: add date content for documentation
### Hint: Recommended: add date content for documentation
# [Scene] ========== ========== ==========
NavigationInfo { type [ "EXAMINE" "ANY" ] } ### Default X3D NavigationInfo
Background {
skyColor [ 0.98 0.98 0.98 ]
}
Transform {
scale 1 2 1
translation 0 2.5 0
children [
Shape {
appearance Appearance {
material Material {
diffuseColor 0 0 0
}
}
geometry Sphere {
radius 0.25
}
}
]
}
Transform {
children [
Shape {
appearance Appearance {
material Material {
ambientIntensity 0.4
diffuseColor 0.5 0.5 0.7
specularColor 0.8 0.8 0.9
}
}
geometry Cylinder {
height 5
radius 0.25
}
}
]
}
Transform {
rotation 0 0 1 3.141
translation 0 -3 0
children [
Shape {
appearance Appearance {
material Material {
diffuseColor 0 0 1
}
}
geometry Cone {
bottomRadius 0.25
height 1
}
}
]
}
Transform {
translation 0 -3.35 0
children [
Shape {
appearance Appearance {
material Material {
ambientIntensity 0.4
diffuseColor 0.5 0.5 0.7
specularColor 0.8 0.8 0.9
}
}
geometry Cylinder {
height 0.5
radius 0.02
}
}
]
}
本源码包内暂不包含可直接显示的源代码文件,请下载源码包。