WorldViz User Forum  

Go Back   WorldViz User Forum > Vizard

 
 
Thread Tools Rate Thread Display Modes
Prev Previous Post   Next Post Next
  #1  
Old 09-19-2003, 11:59 AM
FlyingWren FlyingWren is offline
Member
 
Join Date: Mar 2003
Location: Fargo, North Dakota, USA
Posts: 48
3D sound & child objects

Phenomenologically, 3D-sound played from objects loaded with viz.add() seem to be generated from the correct position. However, 3D-sound playback from objects loaded with viz.getchild() seem to be at the wrong position. For example,


objRoom = viz.add('Room.wrl')
objVent = objRoom.getchild('obj_Vent')

# start sound playing
objVent.playsound('air-vent.wav', viz.LOOP)


The 'air-vent' wave file seems to be playing at the position of the "Room" object, not the actual "Vent" subobject.
Reply With Quote
 

Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -7. The time now is 06:40 AM.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Copyright 2002-2023 WorldViz LLC