What the meaning of Bounding Leaf, and when we should use it

hi, i have read book about java 3d programming that provide by sun .
In chapter 3 i read about Bounding Leaf but i can't get the point, would someone explain it to me in simple way and easy to understood?
thanks

Basically, when you use, say, a BoundingSphere, you're setting the bounding region to be symmetric about the point (0, 0, 0) of the local coordinate system of the object it is bounding/activiating/scheduling.
A BoundingLeafNode specifies an alternate coordinate system about which to bound the behavior, allowing to to be non-symmetric, and allowing items in different positions to share the same bounding region.
The API Specification Guide provides a good example of where this could be useful.
Let's say you were designing a room with three point lights, in different spots about the room. You want the reqion inside the room to be the bounding region. But each light will see that region differently, because their local coordinate systems are different. A boundingLeafNode would define the room from a single local coordinate system, and all the lights would see that region the same.
Ok, you say, but you could still have used a BoundingBox object. Correct. But now imagine that there are 30 lights. I certainly don't want to design 30 Bounding Boxes so that each one specifies the room in it's own coordinate system. And imagine if these lights were moving. Lets say you want to simulate a disco-ball. Now, the bounding region would have to change each time the lights move. But not if the bounding region is specified by a static coordinate system.
That should give you a pretty good idea of what the advantages are.
- Adam

Similar Messages

  • My daughters friend changed her password on her ipod touch and doesn't remember what the password is... and when she guesses and its wrong, it disables the ipod.  Does anyone know how to fix this??

    My daughters friend changed her password on her ipod touch and can't remember the password and when she guesses and gets it wrong, it disables her ipod.  Does anyone know how to fix this problem??

    You'll need to connect it to the iTunes library you normally sync it with and restore it.  If iTunes asks you for this passcode before it will let you proceed, connect the iPod to iTunes in recovery mode instead using the instructions in this Apple support document.
    iOS: Unable to update or restore
    B-rock

  • I changed my apple id on the apple help websites then I went to buy an app and the id didn't change and when I put my password wasn't accepted what do I do next so that I can buy an app?

    I changed my apple id on the apple help websites then I went to buy an app and the id didn't change and when I put my password wasn't accepted what do I do next so that I can buy an app?

    Welcome to the Apple community Jalm14ts
    If you mean that Find My Phone is asking for a password to a different Apple ID to your current Apple ID.
    This feature has been introduced to make stolen phones useless to those that have stolen them.
    However it can also arise when the user has changed their Apple ID details with Apple and not made the same changes to their iCloud account/Find My Phone on their device before upgrading to iOS 7, or if you restore from a previous back up made before you changed your details.
    The only solution is to change your Apple ID back to its previous state with Apple at My Apple ID using your current password, you don’t need access to this address if it’s previously been used with your Apple ID, once you have saved these details enter the password as requested on your device and then turn off "find my phone" and delete the account from your device.
    You should then change your Apple ID back to its current state, save it once again and then log back in using your current Apple ID. Finally, turn "find my phone" back on once again.
    This article provides more information about Activation Lock.

  • Whats the meaning when variables are enclosed by brackets

    Hi,
    Whats the meaning when variables are enclosed by brackets?
    like say
    lv_fieldname(25) TYPE c.
    lv_fieldname  = 'Material01'.
    what does it mean by saying
    ASSIGN (lv_fieldname) TO <fs_fieldname>.

    In many statement in ABAP, brackets mean that real "name" of operand (object) will be determined during runtime.
    Normally you would write
    data lv_fieldname(25) TYPE c VAUE 'SOME_FIELD'.
    assign lv_fieldname to <fs>.
    write: <fs>.
    This code is static . It means that when syntax check takes place, compilator looks for definition of lv_fieldname.
    It then assigns value of this field. The resuts is printintg on screen text "SOME_VALUE"
    Now you have similar code, but with brackets
    data: lv_fieldname(25) TYPE c VAUE 'SOME_FIELD',
             some_field type i vlaue 5.
    assign (lv_fieldname) to <fs>.
    write: <fs>.
    Here code is dynamic . It means that compilator doens't realy know the field name which will be assigned to <fs>.
    We told him that this will be determined during runtime ( by means of brackets ) and the real field name we want to assing, is stored in LV_FIELDNAME.
    This is equal to writing
    assign ('SOME_FIELD') to <fs>.
    When program starts, it is no LV_FIELDNAME which is assinged to <fs>, but the field which is stored in LV_FIELDNAME, namely 'SOME_FIELD'.
    So the printed result will be 5 .
    The same rule with dynamic operands applies i.e. in select statement
    data: my_table(5) type c value 'SPFLI'.
    select * from (my_table) ...
    There is no table in DB named my_table , but compilator "knows" that we don't what to fetch data from MY_TABLE, but we want table name to be determined dynamically (during runtime). So, it is  'SPFLI' table which here will be taken into account.
    One more note!
    Such dynamic statements are generic (doesn't constitute fixed code) and open new range of possiblities.
    Simple extending above example will create flexible (generic) program which can fetch data from different tables with one statement.
    parameters: pa_tabname(40) type c.
    select * from (pa_tabname) into ....
    Of course here you need also dynamic internal table as target area, but this is of no importance here.
    Hope this claryfies magic with brackets;)
    Regards
    Marcin

  • Hi I have the old photo shop elements 10 on my computer and want to update and was wondering what the differences between photoshop, lightroom and photoshop elements are? Also when I upgrade does it have to be with a monthly membership or can I just purch

    Hi I have the old photo shop elements 10 on my computer and want to update and was wondering what the differences between photoshop, lightroom and photoshop elements are?
    Also when I upgrade does it have to be with a monthly membership or can I just purchase the product out right like you use to be able?

    You cannot "update" from what you have to any of the applications you mention. It will have to be a straight purchase or subscription at full price.
    Photoshop is a professional level application that makes no apologies for its very long and steep learning curve.
    Lightroom is all about volume, and very light editing.
    The Photoshop Elements forum is at:
    https://forums.adobe.com/community/photoshop_elements/content
    Remember, you are not addressing Adobe here in the user forums.  You are requesting help from volunteers users just like you who give their time free of charge. No one has any obligation to answer your questions.
    I do not know where there is such a comparison table as you seek, but someone else might, or you can google.

  • What is the AlwaysFilter and when it is used for?

    What is the AlwaysFilter and when it is used for?
    Could you explain it in the details.
    Thank you

    jetq wrote:
    Sorry.
    cache.aggregate(AlwaysFilter.INSTANCE, new LongMin("getAge"))
    That doesn't really help.
    Where does AlwaysFilter come from? Is it part of the core API, or a 3rd party library? If the latter, which one? And in what do the API docs for this class not answer your question?

  • TS3274 I get on the internet with my Ipad3 and when I start typing in the search box the ipad guess' what I want before I finish typing and goes to the internet. How do I fix that?

    I get on the internet with my Ipad2 and when I start typing in the search box the ipad guess' what I want before I finish typing and goes to the internet. How do I fix that?

    Yes if you purchase the tethering data plan for your iPhone. See:
    iPhone: System requirements for Personal Hotspot

  • Whats the meaning of   Synchronous and Asynchronous Retrieval ?

    whats the meaning of Synchronous and Asynchronous Retrieval ?
    can you provide any example ?

    // async
    consumer.setMessageListener( someMessageListenerObject );
    // asynchronously someMessageListenerObject will be notified as messages arrive
    // sync
    Message message = consumer.receive();
    // now do something with message
    James
    http://logicblaze.com/

  • HT1338 After starting to download the Mountain Lion software, my wifi connection was disconnected. When I attached the ethernet cable, the downloading software was gone, and when I tried redoing the process, the app store would not accept the code. What d

    Hey,
    I just tried redeeming my software online. I went through the whole process, got the password, and proceeded to get the software to download. But soon after, the wifi connection was disconnected, and when I tried to connect the ethernet cable, the entire software had disappeared from my launchpad. When I tried to restart the download, it kept saying that the password had already been used before, and that it could only be used once per computer. What do I do now?

    You shouldn't have to re-enter the code, Lion should be on your purchases list so you can re-download it.  In the App Store, click Purchases...  do you see ML there?

  • Music won't play on iPad 4, the music is grayed out and when I touch a song to play it goes quickly though all of them but doesn't play. What to do?

    Music won't play on newest iPad latest operating system. the music is grayed out and when I touch a song to play it goes quickly though all of them quickly but doesn't play. What to do? The first song on some do. The most resent downloads do play.

    the ones that are greyed out did not get downloaded all of the way. You need to delete or unsync them and redownload or resync them.

  • I´ve just changed my apple id password, and when trying to use Facetime, after having entered such new password, it won´t fullfill the calls, nor can I receive incoming calls, it simply gets disconnected. What do I do??

    I´ve just changed my apple id password, and when trying to use Facetime, after having entered such new password, it won´t fullfill the calls, nor can I receive incoming calls, it simply gets disconnected. What do I do??

    iOS: Troubleshooting FaceTime                  
    Unable to make or receive FaceTime calls after April 16, 2014
    Using FaceTime and iMessage behind a firewall
    iOS: Troubleshooting FaceTime and iMessage activation
    iOS: Using FaceTime                               
    FaceTime, Game Center, Messages: Troubleshooting sign in issues

  • My macbook air wont change songs when for itunes when i use the buttons on the top of my keyboard and when i restart my computer they work for like 10 minute then stop working again. Did i change a settting? what should i do?

    My macbook air wont change songs for iTunes when i use the buttons on the top of my keyboard and when i restart my computer they work for like 10 minutes then stop working again. Did i change a setting? what should i do?

    Hello King Cutway
    If you are having issues with the functions keys, then check the settings in System Preferences > Keyboard and look to see if Use all F1, F2, etc. keys as standard function keys is unchecked so you can use it properly. 
    Mac OS X: How to change the behavior of function keys
    http://support.apple.com/kb/HT1296
    Regards,
    -Norm G.

  • Hello, my Macbook Pro 13.5'', version 10.9.2, was recently invaded by what I believe is a virus, and when I open a new tab or window on chrome it would open with the Trovi search engine.

    I read online to reset the default settings on chrome and when i did that the problem seemed to all but go away. But then, not even an hour later, i notice that there are random ads that popup and sometimes ads will just open in new tabs. I know that this is a virus and i really want to get rid of it. Any help would be greatly appreciated.

    Remove V search/Downlite.
    http://www.thesafemac.com/arg-downlite/

  • Recently downloaded a trial version of CC and when trying to use the Adjustment Brush in ACR it brings up the message 'All the local adjustment controls are set to have no effect on the image'.  I've downloaded this as an update to CS5 on my new i Mac.  W

    Recently downloaded a trial version of CC and when trying to use the Adjustment Brush in ACR it brings up the message 'All the local adjustment controls are set to have no effect on the image'. I've downloaded this as an update to CS5 on my new i Mac. Would appreciate suggestions to remedy this. Rhonda

    I think it means "the sliders are all 0 so painting adjustments with this brush won't change anything."  In other words, move one of the sliders to a non-zero position, for example Exposure from 0 to 1.0, and then see what happens.  You can edit the brush and change it to do something other than Exposure +1.

  • Trying to install the latest version of iTunes and when it is being installed I get the message "There is a problem with this installer package. A program quired for this install could not be run. Contact your support personel or package vendor."

    I am trying to install the latest version of itunes and when the install begins I get the message "There is a problem with this Windows installer package. A program required for this install could not be opened. contact your support personnel or product vendor". I ran a troubleshooting diagnostic on my computer and nothing flagged as a problem. I uninstalled iTunes and tried again and now I don't have any way to sync my ipod touch. Please help with any suggestions!!!

    Just in case, let's try a standalone AppleSoftwareUpdate.msi install.
    Download and save a copy of the iTunesSetup.exe (or iTunes64setup.exe) installer file to your hard drive:
    http://www.apple.com/itunes/download/
    Download and install the free trial version of WinRAR:
    http://www.rarlab.com/
    Right-click the iTunesSetup.exe, and select "Extract to iTunesSetup". WinRAR will expand the contents of the file into a folder called "iTunesSetup".
    Go into the folder and doubleclick the AppleSoftwareUpdate.msi to do a standalone ASU install.
    (If it offers you the choice to remove or repair, choose "Remove", and if the uninstall goes through successfully, see if you can reinstall by doubleclicking the AppleSoftwareUpdate.msi again.)
    Does it install (or uninstall and then reinstall) properly for you? If not, what error message do you get? (Precise text, please.)

Maybe you are looking for

  • Lost Work! PLEASE HELP

    I was using apple works word processing to work on a major assignment..i had finished for the evening was positive i saved what i had completed since i last saved and continued to quit the program...No prompt came up stating "would you like to save c

  • How can change numeric value to date format? example value 1070131(CYYMMDD)

    in the datatable can i change numeric value to date format . in database date value is like 1070131 (CYYMMDD). I want to see 31/01/07(DD/MM/YY) or 31 Jan 07 . Is it possible? Thanks,

  • Help ASAP, Trouble with Installation

    I have tried several times to install Aobe Illustrator CS5 and everytime the installion will get stuck at "JRE" at 5% or 8%. The time remaining starts to slowly count up from 10 minutes to, after trying to leave it on all night, around 3000 minutes.

  • Error Code -5000  afpAccessDenied

    I tried to send an email with three attachments. I got this error persistantly. I couldn't send the email until I removed one of the attachments. Send then worked immediately. I then sent the attachment without diffculty in a subsequent email, two mi

  • Can not turn on wireless after Windows vista install driver issue?

    Hi all, Not sure if this is the right place for the post, if not I apologies in advance. I have a Compaq Presario C700 (C730EM) on which the hard drive died on me, I brought a new one and installed Windows vista premium from disk (not a backup / reco