Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

DarkBASIC Discussion / big or small ?

Author
Message
bibz1st
23
Years of Service
User Offline
Joined: 2nd Jan 2003
Location:
Posted: 7th May 2006 17:24
I know this topic has been covered before but its a while ago and I cant remember what was said because at the time it wasnt an issue with me, anyway,..
if you make a project using a small world ( small objects, small distances, small increments etc ) there is a problem when it comes to sound positioning for example you might appear far away from a sound source but DBC still thinks you are close, its like the sound distance doesnt get scaled up, is there a solution apart from doing something like..( pseudo code obviously )
IF object1 < 1.0 BUT > 0.5 to object2 THEN SET SOUND VOLUME 1,50
IF object1 < 0.5 BUT > 0.1 to object2 THEN SET SOUND VOLUME 1,100
the same seems to apply to lighting
the reason I ask this is because obviously if you can set CAMERA DISTANCE to a smaller amount the better, right ??
TDK
Retired Moderator
23
Years of Service
User Offline
Joined: 19th Nov 2002
Location: UK
Posted: 7th May 2006 20:51
Quote: "big or small ?"


The main problem with 'small' is that in DBC, unlike DBP, you cannot have a 'near' value of less than 1.0, so any object closer than that disappears.

You mentioned "object1 < 1.0" which is closer than the minimum camera distance anyway, so larger world distances than you are using would seem the better choice.

Are you using the 3D sound commands?

If so, I'm sure they don't work too well in DBC when working on a smaller scale.

TDK_Man

bibz1st
23
Years of Service
User Offline
Joined: 2nd Jan 2003
Location:
Posted: 12th May 2006 19:09
yes I am using the 3d sound commands, the object1 < 1.0 was just a for instance, I use a "getdistance" formula
I guess I'll stick to big until I eventually buy PRO

Login to post a reply

Server time is: 2026-07-07 18:22:14
Your offset time is: 2026-07-07 18:22:14