Hi !
Featured games (91)
games approved by the League of Dukes
Games in Showcase (757)
Games in Android Showcase (229)
games submitted by our members
Games in WIP (844)
games currently in development
News: Read the Java Gaming Resources, or peek at the official Java tutorials
    Home     Help   Search   Login   Register   
Pages: [1]
  ignore  |  Print  
  sound space dispose  (Read 1539 times)
0 Members and 1 Guest are viewing this topic.
Offline aNt

Senior Devvie


« Posted 2004-02-12 05:56:39 »

hello all

i have ported fmod to java over the last few days and im plaining to put it into xith3d Smiley as u would exspect.

now fmod has its own loading audio and managing stuff built in. and it kicks openal. but i am running into a few problems with simple tests before i try and get things embeded to a nice driver for xith3d. [fmod wont need the SoundBuffer hope that wont upset things]

i have a model on screen and move towards the model using the lookat (all ok here). now when the model gets to the edge of the screen its:

      Vector3f q1 = bTransGroup.getVworldBounds().getCenter();

the sounds location nologer updates. i take it this is because its being cleaned up from rendering. but its location is lost to me. i no its still updateing because when i move the view backwards the model comes back into view at the correct steps.

also the object flashs out of view to soon. as if its like half off the view area then dissapers in a flash (looks bad).

so i would exspect i need to look deeper into the objects transforms. any pointers to these little things would be cool. i exspect its working ok in the other drivers but its hard to tell at this time. the rolloff / fade of the sound in xith seems to have problems at the moment.

we will have it sorted mind Smiley
Offline princec

« JGO Spiffy Duke »

Medals: 1033
Projects: 3
Exp: 20 years

Eh? Who? What? ... Me?

« Reply #1 - Posted 2004-03-25 09:31:46 »

Hey aNT, I don't suppose you'd care to keep your wrapper distinct from Xith... we're really interested in it in its own right to tack on to LWJGL as the "pro's" audio system of choice. OpenAL is still pretty immature and knackered...

Cas Smiley

Offline Yuri Vl. Gushchin

Senior Devvie

Speak Java!

« Reply #2 - Posted 2004-03-26 09:27:07 »

Would be great to have a testcase.

As of sound activation, check View.setSoundActivationRadius(...) and related code in

Problem you experience may be caused by the fact that you have your sound added to a group, and scene traversal stops not on the sound, but at higher layer - Xith does not traverse subtree when the parent's bounds are out of vew.

What you can do is to use setIgnoreBounds(true) on all the groups above your Sound node to enforce then to be traversed even if they are out of screen. Do this only for groups, so you don't get serious performance impact on rendering (shapes will still be out of rendering).


Yuri Vl. Gushchin
JProof Group
Games published by our own members! Check 'em out!
Legends of Yore - The Casual Retro Roguelike
Offline aNt

Senior Devvie


« Reply #3 - Posted 2004-03-26 10:04:00 »

we i have a fully working fmod wrapper now. all seems ok. i'm thinking of dumping part of the way fmod handles volume in 3d and coding a nicer one myself. i want streams to work with a nicer max-min distance on sound nodes. But on the whole, eveything fmod can do u can now call in Java.

xith- yer i will try and look into this when i have a new soundObject. then post stuff up. i keep getting lost in the implementing into xith3d (me just not as cool as u dudes).

also need to get me camera working so it makes sence whats the sound is doing.. getting there (see other topic) Smiley.

audio is me bag- 3d is a headfunk.
Pages: [1]
  ignore  |  Print  

EgonOlsen (47 views)
2018-06-10 19:43:48

EgonOlsen (29 views)
2018-06-10 19:43:44

EgonOlsen (49 views)
2018-06-10 19:43:20

DesertCoockie (213 views)
2018-05-13 18:23:11

nelsongames (130 views)
2018-04-24 18:15:36

nelsongames (129 views)
2018-04-24 18:14:32

ivj94 (870 views)
2018-03-24 14:47:39

ivj94 (131 views)
2018-03-24 14:46:31

ivj94 (782 views)
2018-03-24 14:43:53

Solater (146 views)
2018-03-17 05:04:08
Java Gaming Resources
by philfrei
2017-12-05 19:38:37

Java Gaming Resources
by philfrei
2017-12-05 19:37:39

Java Gaming Resources
by philfrei
2017-12-05 19:36:10

Java Gaming Resources
by philfrei
2017-12-05 19:33:10

List of Learning Resources
by elect
2017-03-13 14:05:44

List of Learning Resources
by elect
2017-03-13 14:04:45

SF/X Libraries
by philfrei
2017-03-02 08:45:19

SF/X Libraries
by philfrei
2017-03-02 08:44:05 is not responsible for the content posted by its members, including references to external websites, and other references that may or may not have a relation with our primarily gaming and game production oriented community. inquiries and complaints can be sent via email to the info‑account of the company managing the website of java‑
Powered by MySQL Powered by PHP Powered by SMF 1.1.18 | SMF © 2013, Simple Machines | Managed by Enhanced Four Valid XHTML 1.0! Valid CSS!