Jump to content
  • Advertisement
Sign in to follow this  

OpenGL Please some help me inVRML 2.0 and the GHOST SDK, OpenGL

This topic is 4868 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

Hey, I have a VRML 2.0 file where the object can be scaled and i have a sound in it. when i run it in cosmo player it works perfectly, just the way i want it but when i run it in haptic systen, where i am using Visual C++, GHOST SDK and openGL, only the graphic is showing up. The sound or the scale doens't work. Is there any way to make it work? am i missing any include file?? In the code file, i have gstSeparator *rootSep; gstSeparator *vrmlSep = new gstSeparator(); vrmlSep = gstReadVRMLFile("heart2.wrl"); won't the other things that i have in VRML file work? This is partially what i have in my VRML file. DEF CLOCK TimeSensor { cycleInterval 1.0 loop TRUE } DEF heartSIZE PositionInterpolator { key [ 0.0, 0.2, 0.65, 1.0 ] keyValue [ 1.0 1.0 1.0, 1.5 1.5 1.5, 1.1 1.1 1.1, 1.0 1.0 1.0, ] } Sound{ Sound DEF Mysound AudioClip{ url [ "heartbeat3.wav" "http://www.a1freesoundeffects.com/popular1/heartbeat2.wav" ] } } ] } ROUTE CLOCK.fraction_changed TO heartSIZE.set_fraction ROUTE heartSIZE.value_changed TO heartTransform.set_scale ROUTE CLOCK.value_changed TO Mysound .set_scale Please help me. Thank you

Share this post

Link to post
Share on other sites
Sign in to follow this  

  • Advertisement

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

GameDev.net is your game development community. Create an account for your GameDev Portfolio and participate in the largest developer community in the games industry.

Sign me up!