[beta 5 bug] SFXprofile is3d dosent working
by Enel · in Torque 3D Professional · 08/12/2009 (5:30 pm) · 6 replies
i use to ogg file that convert mp3 file to ogg
datablock SFXDescription(SwordSound)
{
volume = 1.0;
is3D = false;
isLooping= false;
ReferenceDistance= 10.0;
MaxDistance= 60.0;
channel = $SimAudioType;
};
datablock SFXProfile(AttackSound1)
{
filename = "art/sound/custom/Attack_004.ogg";
description = SwordSound;
preload = true;
};
use this code it is good work but when cheak is3d change true dosent work
and i have already cheak audio stereo mode and mono mode..
how can i use SFXDescription is3d?
datablock SFXDescription(SwordSound)
{
volume = 1.0;
is3D = false;
isLooping= false;
ReferenceDistance= 10.0;
MaxDistance= 60.0;
channel = $SimAudioType;
};
datablock SFXProfile(AttackSound1)
{
filename = "art/sound/custom/Attack_004.ogg";
description = SwordSound;
preload = true;
};
use this code it is good work but when cheak is3d change true dosent work
and i have already cheak audio stereo mode and mono mode..
how can i use SFXDescription is3d?
About the author
Recent Threads
#2
i mean one of the SFX attributes "is3D"
it is not work when use converted ogg file
08/12/2009 (9:17 pm)
@Rene Dammi mean one of the SFX attributes "is3D"
it is not work when use converted ogg file
#3
How are you using the profile?
Does the sound fail to load?
Do you have errors in the log?
Honestly, I don't think there is a bug here but rather just some confusion about how to use things.
08/12/2009 (11:57 pm)
How are you using the profile?
Does the sound fail to load?
Do you have errors in the log?
Honestly, I don't think there is a bug here but rather just some confusion about how to use things.
#4
The 'is3D' field is used in many SFXDescriptions with many, many ogg files being used in various SFXProfiles... so it does work... if the relevant sound is mono.
08/13/2009 (12:36 am)
How is the ogg file converted? Is it in stereo or mono format?The 'is3D' field is used in many SFXDescriptions with many, many ogg files being used in various SFXProfiles... so it does work... if the relevant sound is mono.
#5
Hey, Michael, thanks for pointing this out. Totally forgot about this most essential point:
3D sounds need to be mono. Otherwise they will fail to load.
08/13/2009 (12:46 am)
Hey, Michael, thanks for pointing this out. Totally forgot about this most essential point:
3D sounds need to be mono. Otherwise they will fail to load.
Associate Rene Damm
How do you use the profile? For it to properly work, it must be used with positional information either by supplying a transform to the play functions or by setting it on the source. The ShapeBase and Player SFX functions will automatically apply the correct transforms.
Also, what precisely do you mean by "is not working?"