Raised This Month: $12 Target: $400
 3% 

3D sound math


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
.Dare Devil.
Veteran Member
Join Date: Sep 2010
Old 11-05-2012 , 17:45   3D sound math
Reply With Quote #1

Hello,

I want to do my own sound systems using client spk command, some spk tags, pawn code and math.
Only problem right now is:

Red - player
Two red/yellow lines - door
green something in the middle of picture - sound wave

Player hear that like there are no walls.
Basically i can make this with trace line:

Yellow line - trace line

but if there are a small hole in the wall then you can imagine what will happen.
I was thinking and i found no solution, i can do this but the code will use to much cpu.

Doing this by checking if that room is rendering will have also some problems

Dark Yellow - place what is not rendered

The player can not hear a sound but actually he must hear at least something.
Have someone idea how can i do things right?
Thanks!

And PS: my apologies about the last picture, its called laziness
Attached Thumbnails
Click image for larger version

Name:	soundroom.png
Views:	325
Size:	39.8 KB
ID:	111891   Click image for larger version

Name:	soundroom2.png
Views:	355
Size:	57.2 KB
ID:	111892   Click image for larger version

Name:	soundroompaint_ver.png
Views:	311
Size:	13.0 KB
ID:	111893  
.Dare Devil. is offline
 



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 -4. The time now is 13:35.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode