@prefix :        <https://www.web3d.org/x3d/content/examples/Savage/Environment/SeaState/SeaStateElevationGridExample.ttl#> .
@prefix owl:     <http://www.w3.org/2002/07/owl#> .
@prefix rdf:     <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
@prefix rdfs:    <http://www.w3.org/2000/01/rdf-schema#> .
@prefix schema:  <http://schema.org/> .
@prefix dcterms: <http://purl.org/dc/terms/> .
@prefix xsd:     <http://www.w3.org/2001/XMLSchema#> .
@prefix x3d:     <https://www.web3d.org/specifications/x3d-4.0.xsd#> .
@prefix x3do:    <https://www.web3d.org/specifications/X3dOntology4.0#> .

:X3D a owl:NamedIndividual, x3do:X3D ;
  x3do:hasHead :head ;
  x3do:hasScene :Scene ;
  x3do:profile 'Immersive' ;
  x3do:version '3.0' ;
  x3do:noNamespaceSchemaLocation 'https://www.web3d.org/specifications/x3d-3.0.xsd' .
:head a owl:NamedIndividual, x3do:head ;
  x3do:hasParent :X3D ;
  x3do:hasMeta :meta_1_1, :meta_1_2, :meta_1_3, :meta_1_4, :meta_1_5, :meta_1_6, :meta_1_7, :meta_1_8, :meta_1_9, :meta_1_10, :meta_1_11 .
:meta_1_1 a owl:NamedIndividual, x3do:meta ;
  x3do:hasParent :head ;
  x3do:content 'SeaStateElevationGridExample.x3d' ;
  x3do:name 'title' .
:meta_1_2 a owl:NamedIndividual, x3do:meta ;
  x3do:hasParent :head ;
  x3do:content 'Sea State animation using ElevationGrid.' ;
  x3do:name 'description' .
:meta_1_3 a owl:NamedIndividual, x3do:meta ;
  x3do:hasParent :head ;
  x3do:content 'Don Brutzman, Marcus Simoes and MV3204 class' ;
  x3do:name 'creator' .
:meta_1_4 a owl:NamedIndividual, x3do:meta ;
  x3do:hasParent :head ;
  x3do:content '25 May 2001' ;
  x3do:name 'created' .
:meta_1_5 a owl:NamedIndividual, x3do:meta ;
  x3do:hasParent :head ;
  x3do:content '20 October 2019' ;
  x3do:name 'modified' .
:meta_1_6 a owl:NamedIndividual, x3do:meta ;
  x3do:hasParent :head ;
  x3do:content 'unfinished, but in progress...' ;
  x3do:name 'warning' .
:meta_1_7 a owl:NamedIndividual, x3do:meta ;
  x3do:hasParent :head ;
  x3do:content 'https://www.web3d.org/x3d/content/examples/Savage/Environment/SeaState/SeaStateElevationGridExample.x3d' ;
  x3do:name 'identifier' .
:meta_1_8 a owl:NamedIndividual, x3do:meta ;
  x3do:hasParent :head ;
  x3do:content 'SeaStateExtrusionExample.x3d' ;
  x3do:name 'reference' .
:meta_1_9 a owl:NamedIndividual, x3do:meta ;
  x3do:hasParent :head ;
  x3do:content 'sea state, MFFloat interpolator script' ;
  x3do:name 'subject' .
:meta_1_10 a owl:NamedIndividual, x3do:meta ;
  x3do:hasParent :head ;
  x3do:content 'X3D-Edit 3.2, https://www.web3d.org/x3d/tools/X3D-Edit' ;
  x3do:name 'generator' .
:meta_1_11 a owl:NamedIndividual, x3do:meta ;
  x3do:hasParent :head ;
  x3do:content '../../license.html' ;
  x3do:name 'license' .
:meta dcterms:title "SeaStateElevationGridExample.x3d" .
:meta dcterms:description "Sea State animation using ElevationGrid." .
:meta dcterms:creator "Don Brutzman, Marcus Simoes and MV3204 class" .
:meta dcterms:created "25 May 2001" .
:meta dcterms:modified "20 October 2019" .
:meta dcterms:warning "unfinished, but in progress..." .
:meta dcterms:identifier "https://www.web3d.org/x3d/content/examples/Savage/Environment/SeaState/SeaStateElevationGridExample.x3d" .
:meta dcterms:reference "SeaStateExtrusionExample.x3d" .
:meta dcterms:subject "sea state, MFFloat interpolator script" .
:meta dcterms:generator "X3D-Edit 3.2, https://www.web3d.org/x3d/tools/X3D-Edit" .
:meta dcterms:license "../../license.html" .
:Scene a owl:NamedIndividual, x3do:Scene ;
  x3do:hasParent :X3D ;
  x3do:hasChildren :WorldInfo_2_1, :Viewpoint_2_2, :WaveClock, :MFFloatInterpolatorScript, :Shape_2_5 ;
  x3do:hasROUTE :ROUTE_2_6, :ROUTE_2_7 .
:WorldInfo_2_1 a owl:NamedIndividual, x3do:WorldInfo ;
  x3do:hasParent :Scene ;
  x3do:title 'SeaStateElevationGridExample.x3d' .
:Viewpoint_2_2 a owl:NamedIndividual, x3do:Viewpoint ;
  x3do:hasParent :Scene ;
  x3do:description 'hello sea state' ;
  x3do:orientation ( 1 0 0 -0.78 ) ;
  x3do:position ( 0 5 5 ) .
:WaveClock a owl:NamedIndividual, x3do:TimeSensor ;
  x3do:hasParent :Scene ;
  x3do:DEF 'WaveClock' ;
  x3do:cycleInterval '3' ;
  x3do:loop true .
:MFFloatInterpolatorScript a owl:NamedIndividual, x3do:Script ;
  x3do:hasParent :Scene ;
  x3do:hasField :field_2_4_1, :field_2_4_2, :field_2_4_3, :field_2_4_4 ;
  x3do:DEF 'MFFloatInterpolatorScript' ;
  x3do:sourceCode """
ecmascript:

function set_fraction (value, timestamp)
{
//	Browser.println ('received value=' + value);

//	interpolate between values in our keyValue array
}
""" .
:field_2_4_1 a owl:NamedIndividual, x3do:field ;
  x3do:hasParent :MFFloatInterpolatorScript ;
  x3do:accessType 'inputOnly' ;
  x3do:name 'set_fraction' ;
  x3do:type 'SFFloat' .
:field_2_4_2 a owl:NamedIndividual, x3do:field ;
  x3do:hasParent :MFFloatInterpolatorScript ;
  x3do:accessType 'inputOutput' ;
  x3do:name 'key' ;
  x3do:type 'MFFloat' .
:field_2_4_3 a owl:NamedIndividual, x3do:field ;
  x3do:hasParent :MFFloatInterpolatorScript ;
  x3do:accessType 'inputOutput' ;
  x3do:name 'keyValue' ;
  x3do:type 'MFFloat' .
:field_2_4_4 a owl:NamedIndividual, x3do:field ;
  x3do:hasParent :MFFloatInterpolatorScript ;
  x3do:accessType 'outputOnly' ;
  x3do:name 'value_changed' ;
  x3do:type 'MFFloat' .
:Shape_2_5 a owl:NamedIndividual, x3do:Shape ;
  x3do:hasParent :Scene ;
  x3do:hasGeometry :WaveGrid ;
  x3do:hasAppearance :Appearance_2_5_2 .
:WaveGrid a owl:NamedIndividual, x3do:ElevationGrid ;
  x3do:hasParent :Shape_2_5 ;
  x3do:DEF 'WaveGrid' ;
  x3do:height ( 0 0 0 0 0 0 0 0 0 ) ;
  x3do:xDimension 3 ;
  x3do:zDimension 3 .
:Appearance_2_5_2 a owl:NamedIndividual, x3do:Appearance ;
  x3do:hasParent :Shape_2_5 ;
  x3do:hasMaterial :Material_2_5_2_1 .
:Material_2_5_2_1 a owl:NamedIndividual, x3do:Material ;
  x3do:hasParent :Appearance_2_5_2 ;
  x3do:diffuseColor ( 0 0.6 0.6 ) .
:ROUTE_2_6 a owl:NamedIndividual, x3do:ROUTE ;
  x3do:hasParent :Scene ;
  x3do:fromField 'fraction_changed' ;
  x3do:fromNode 'WaveClock' ;
  x3do:toField 'set_fraction' ;
  x3do:toNode 'MFFloatInterpolatorScript' .
:ROUTE_2_7 a owl:NamedIndividual, x3do:ROUTE ;
  x3do:hasParent :Scene ;
  x3do:fromField 'value_changed' ;
  x3do:fromNode 'MFFloatInterpolatorScript' ;
  x3do:toField 'set_height' ;
  x3do:toNode 'WaveGrid' .
