[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [www-vrml] VRML still the most popular Web3D format - by far.



> The abandonment of EXTERNPROTO as a 
> browser extension mechanism should
> not be trivialized. 

And it will not be. 
When did it happen?

Here is an X3D Classic VRML example:

#X3D V3.0 utf8
PROFILE Immersive
META "filename" "PrototypesPlus.x3dv"

# external prototype definition 
EXTERNPROTO RefractiveMaterial [
  # field tags are declarations of what interfaces are in this Proto node
  inputOutput SFFloat ambientIntensity
  inputOutput SFColor diffuseColor
  inputOutput SFColor specularColor
  inputOutput SFColor emissiveColor
  inputOutput SFFloat shininess
  inputOutput SFFloat transparency
  inputOutput SFFloat indexOfRefraction
][
  "urn:inet:foo.com:types:RefractiveMaterial" 
  "http://www.myCompany.com/vrmlNodes/RefractiveMaterial.x3dv"; 
  "RefractiveMaterial.x3dv"
]
Shape {
  geometry Sphere { }
  appearance Appearance {
    material RefractiveMaterial {
      ambientIntensity 0.2
      diffuseColor 1 0 0
      indexOfRefraction 0.3
    }
  }

RefractiveMaterial.x3dv not shown here, 
see:

http://www.web3d.org/x3d/specifications/
ISO_IEC_19776-2-FDIS-X3dEncodings/
Part02/examples.html

Should look familiar, I think.
?

Thank You and Best Regards,
Joe


-------------------------------------------------------------------------
for list subscription/unscrubscription,
go to http://www.web3d.org/cgi-bin/public_list_signup/lwgate/listsavail.html