ParallelGraphics Forums
Sound Node
You are here: [Forums]::[Browsers]::[Cortona VRML Client]::[Sound Node]

Registration 
Registration
Forgot your password?

Help 
Help
Support

Quick search 

Subscribe to newsletters 

Install Cortona VRML Client for FREE!
Outline 3D
Try RobinZone!
email:  password:
   Browsers - Cortona VRML Client - Sound Node

Subject: problems with adding sound
Sender: cal_fen@hotmail.com 26.09.06 06:10

I am having a problem adding sound i have tried getting this to work but it has now stopped working completly. Here is the code that is not working. any help would be appreciated. I am new at VRML and do not know a lot about it




#VRML V2.0 utf8

DEF SUN Viewpoint {
    position    0 0 500000 0
    orientation    0 0 1 0
    jump        TRUE
    fieldOfView    0.785398
    description    "sun"
}
DEF AA Transform {
    translation 0 0 0
    scale 510240 510240 510240
    scaleOrientation 0 1 0 -0.78
children [
Shape {
        DEF TS TouchSensor { }
        geometry Sphere { }
        appearance DEF J Appearance {
            material Material { }
            texture ImageTexture {
                url "fx_Sun[1].jpg"
                Sound {
        maxBack 100000000000
        maxFront 100000000000
        source DEF Audio AudioClip {
            url "ASTA LAA VISTA1.wav"
            }
            }
            }
            }
        }
    
]
}


DEF AB OrientationInterpolator {
    key     [ 0,    0.25,    0.5,    0.75,    1 ]
    keyValue [ 0 0 1 0, 0 0 1 1.57, 0 0 1 3.14, 0 0 1 4.71, 0 0 1 0 ]
}

DEF AC TimeSensor {
    stopTime -1
    loop    TRUE
}
ROUTE AC.fraction_changed TO AB.set_fraction
ROUTE AB.value_changed TO AA.set_rotation
ROUTE TS.touchTime TO Audio.startTime

 


problems with adding sound / cal_fen@hotmail.com / 26.09.06 06:10

Messages in thread: 1


© 1998-2007 ParallelGraphics. All rights reserved. Terms of use.