Pre-loading objects and textures

I have made a java3d applet which starts with swing gui
then makes a scenegraph, something like this:
1). I configure/set the
3DCanvas
VirtualUniverse,
Locale
View BranchGroup ...
Scene BranchGroup (empty)
add a behavior to View
2). The behavior previously added is used to extend the scene and view
with new BranchGroups, Shape3Ds (some loaded from .obj files) and behaviors (right now, everything gets loaded in the behavior)
Now my question is, how can I load the .obj files and .jpg texture files
in the swing part or in part 1.) so that I can put them in the scene from the behavior?
I was thinking to build another BranchGroup in which I would add all the loaded objects with textures and then give a reference to the behavior which could then just copy the objects in the scene...
Does this make sense? or is there maybe another way to do it?
Also is there any easy way to modify the applet loader or make a custom one, so that the user doesn�t see the gray screen with "applet loading"?
thanks

If I detach a BranchGroup referenced by a behavior,
can the behavior still modify or access the BranchGroup????

Similar Messages

  • Livetype missing objects and textures

    i have livetype and for some reason i don't have any objects and textures i reinstalled 3 times and nothing any help ?

    The only source I am aware of is the original DVDs.
    Even if there were a website, it would be an illegal distribution and come with the risk of having been tampered with. Because LiveType Media uses the Apple Installer, you have to enter your admin password. This would leave your system wide open to any malicious software planted in the files.
    A download would also be around 11 GB in size.

  • Pre loaded apps and info

    Is it possible to delete the apps that come with the ipod touch version 1 with the 2.1 upgrade? When I bought my ipod I had "apps" like stocks, you tube, etc....can those be deleted? As well as for example under the clock, there was some place entered in which was not my city so I added my city but the other place is still on my ipod. Is there any way of deleting those?
    Thanks in advance.

    Well, yeah, it might seem kind of silly, but remember, in case you deleted them accidentally, there'd be no way of getting them back short of restoring your iPod, as they're not on the app store.
    So maybe that's what Apple had in mind.

  • Creating objects and efficiency

    I am implementing bounding circles for my game and I have a question. I have heard that creating a new object takes up a lot of time (i.e doing it every update). Should I give each of my objects a BoundingSphere instance variable (I created my own simple BoundingSphere class), update it's position every update along with the sprite, or should I remove the instance variable and just return a new BoundingSphere when it is requested?
    Just to clarify:
    Implementation 1:
    private BoundingSphere s;
    public BoundingSphere getBoundingSphere() {
       return s;
    //update s each time sprite is updatedImplementation 2:
    //no private instance variable
    public BoundingSphere getBoundingSphere() {
       return new BoundingSphere(radius, x, y);

    If you know a maximum bound on how many of the created objects you'll need at any given time, you can prevent lots of object creation by implementing an object pool. The pool keeps a list of pre-constructed objects, and to use it, a method may request an object, use a method to initialize its values (not a constructor), then release it back to the pool when it is done using it. This is usually done with Threads to limit the number of them running, but it can be done with any object.
    I hope this helps
    -JBoeing

  • Pre-load form values before create a new Support Request

    We are trying to send some values to the CRM from our system, So a User just need to click a button and He will see the CRM with some pre-loaded values, and then he will create the case after completing other fields.
    Is possible to send POST - GET values?
    Any suggestion?
    Thanks

    The values are dynamic, so is not possible to use always the same default values.
    Right now we are creating the cases using a web service when someone clic on a link. The main problem here is that our users doesn't complete all the fieds and they close their window. so we have a lot of "cases" created without the entire information. That's why i'm looking a way to complete a form without using a web service (because it creates the cases)
    Best Regards

  • Pre load maps applicatio​n

    is there an app that i can pre load maps and routes on so when i drive i can use it as map?

    Yes, there are several, in BlackBerry World.
    Try Osmand.
    1. If any post helps you please click the below the post(s) that helped you.
    2. Please resolve your thread by marking the post "Solution?" which solved it for you!
    3. Install free BlackBerry Protect today for backups of contacts and data.
    4. Guide to Unlocking your BlackBerry & Unlock Codes
    Join our BBM Channels (Beta)
    BlackBerry Support Forums Channel
    PIN: C0001B7B4   Display/Scan Bar Code
    Knowledge Base Updates
    PIN: C0005A9AA   Display/Scan Bar Code

  • Slow creating ReportDocument object and loading report

    Hi all,
    I realise this question has come up several times before, I've been searching the internet and have found similar problems but non that match my own. Sorry this is a little long winded but I would like to give as much detail as possible.
    I use CR 2008 and VS2010 on my development machine. And I have installed CR 2008 Redist SP3 on the production server.
    My application is a simple console application accepting parameters such as report name, print or export, and of course the report parameters.
    CrystalDecisions.CrystalReports.Engine.ReportDocument rptDoc = new CrystalDecisions.CrystalReports.Engine.ReportDocument();
    rptDoc.Load(sParamDOC); //sParamDOC being the report name passed in via command line
    It has to be like this because it integrates into an old system in the background. Of course it being like this means I can not pre-load dll's on application startup (as I've seen suggested several times).
    All of this is in house, I'm an OU administrator and an administrator on the server. The server is only accessed via remote desktop and the OS is windows server 2003. I installed all of the neccesary software to make this work.
    What is really puzzling me though is that when I use this program via command prompt, logged in as me, it creates the object and loads the report in a matter of seconds. Yet if anybody else runs it (even other administrators of the server) the program can take 30-60 seconds to create the ReportDocument object and the same again to load the report.
    I initially only noticed this for the standard users, which was why I created another admin to test. I don't think it's a problem with the report design because it works quick for me. I read an article about this happening with reports created in Crystal version 9. So I tested with a report made from scratch in 2008 and still get the same result. I also read another article about default printers, 'dissociate printer' option is selected and locally the default printers are set to the same printer also.
    Does anybody have any suggestions as to where I could look next?
    I saw in another article some registry keys you can use to turn on logging for crystal reports, I want to do this but where does it put the log files?
    Oh, one more thing the server orginally had redist 2.3 on when I noticed this issue, updating to SP3 (redist 3.3) if anything made it slower, and a little more inconsistant of load times.
    Thanks
    Gavin

    I figured out what this was. I thought I would come back and post incase anyone else has the same issue... the reason it was slow for the other users is because they could not access the internet. My program doesn't use the internet but the operating system is automatically trying to verify the dll's publishers. you can disable this see the following blog:
    [http://blogs.msdn.com/b/amolravande/archive/2008/07/20/startup-performance-disable-the-generatepublisherevidence-property.aspx|http://blogs.msdn.com/b/amolravande/archive/2008/07/20/startup-performance-disable-the-generatepublisherevidence-property.aspx]
    Regards
    Gav

  • Loading 3D objects and their animations

    Hi all:
    I want to load some 3D objects (humanoid) with different animations(walk, jump...) which depend on the situation in the game. Objects and animations are made with 3dStudio max 5.0.
    I have found a lot of documents and loaders for several types of objects 3D (particullary .3DS, .wrl ), but I have some problems:
         * With an 3D object .3ds, I can load and show an humanoid with textures, but I don't know how load and attach an animation (.bvh, .cvm or .bip). I haven't got any documents about this.
         * I have tried to load a vrml97 file with Xj3D, but it seems that the vrml97 produced by 3dStudio can't be loaded by the Xj3D, whereas with the other vrml97 files there is no problem. But a solution with vrml is not very good because objects and animations are not separated.
    Can anyone help me?
    Thanks,
    Tamica.

    I remember reading somewhere that some dude successfully loaded up neverwinter nights models in a java3D canvas, and one of them had active fire animation.
    So loading an animation should be feasible :)

  • Lag after pre-loader hits 60% and before movie starts playing.

    Hi all,
    I’m hoping somebody can shed some light on an issue
    that I’m experiencing with a Captivate project I’m
    working on. I’ll try to explain this in detail so you
    understand the background and scope of this project. These are
    being exported as HTML/SWF and being viewed within IE6.
    I’ve been tasked with taking a new employee training
    course that is currently handled by a live person standing in front
    of a room of people and showing them an 18 minute VHS tape and also
    covering information that is presented on a PowerPoint file, and
    making it into a Captivate movie.
    I was able to get the original digital video cut into 4
    chunks and converted to SWF by media group that produced the tape.
    The four SWF files are 320x240 and range from 13 to 22 megs.
    Because of the size of the files and the amount of content, I
    created 8 ‘modules’ that make up the larger project.
    The last slide of the first module launches the 2nd module, etc.
    until the user has seen all of the modules which on their side
    (other than a brief pre-loader popping up at times) is mostly
    transparent and they think they are just watching a 30 minute
    training course.
    Basically, what I’ve done is laid out the modules so
    that the whole course alternates back and forth between text slides
    with voice-overs and the movie clips. The movie clip SWF’s
    have been embedded into every other module, so:
    Module 1: Intro to the course (text & voice-overs)
    Module 2: Video clip 1
    Module 3: Discussion about stuff (text & voice-overs)
    Module 4: Video clip 2
    Module 5: Discussion about stuff (text & voice-overs)
    Module 6: Video clip 3
    Module 7: Discussion about stuff (text & voice-overs)
    Module 8: Video clip 4 and wrap-up
    Now here is the problem:
    We have 20+ offices and I am located at the main office where
    the web servers are located. If I run through this, everything
    works great. I tested this in one of our off-site locations today
    where they have a semi-fast connection, but still going across a
    WAN.
    Module 1 loads fine. Hits 60%, plays, user can click Next,
    Next, Next to proceed through the training. At the end of Module 1,
    we prompt them with some text to let them know there may be a brief
    delay before they see the upcoming video clip. Click Next, loads
    Module2.swf which has the videoclip1.swf embedded in it (21 megs).
    Takes a little while to load which is expected. Hits 60%.
    Preloader goes away and then just white screen for at least 10
    seconds (sometimes 20-30 seconds, depending on the size of the
    embedded movie clip) before the movie actually starts playing.
    This is not acceptable as the user will think that something is
    broken. If the movie is not completely loaded, then it
    shouldn’t have hit 60% and the preloader graphic disappear,
    right?
    I think that the problem revolves around the movie clip not
    being able to play until it is fully loaded, although the Module
    has loaded the 60% that it needs to begin playing. The only way
    around this that I see is re-arrange my slides so that the video
    clip is not the first slide to play in any given module.
    We tried this on at least 7 computers, all of which were just
    rolled out new last fall, so the machines are definitely beefy
    enough to handle this.
    Any ideas?
    Thanks,
    Mike

    quote:
    Originally posted by:
    CatBandit
    I just read your title, Mike (I don't have time for the whole
    article - sorry), but felt it might help to point out that 60% is
    40% less than 100%.
    Nope, I am not being a wise guy, but I know it's possible to
    have so much "weight" in the content of the last 40% that
    additional delay might be required while a (early) required element
    or object completes down-streaming. Just a thought...
    Hi Larry,
    Good to see you back on the forums and thanks for the reply.
    What you posted further proves my point. From what I've been taught
    about Captivate, it loads to 60% and begins to play while the
    remaining 40% loads. Not loads to 60% and then some portion of the
    remaining 40% may or may not have to load before it starts. If
    that's the case, why not just load 100% before it starts and then
    have no problems?
    It shouldn't matter how large the file is, right? The only
    difference is that larger files would take longer to reach the 60%
    mark. 60% is 60% is 60%. Compare a feather to a car. 60% of the
    weight of each item is still 60%, it doesn't matter how much it
    weighs.
    60% of a cubic foot of rock is the same percentage
    as 60% of a cubic foot of marshmallows.
    Anyway, I think the solution here is to fudge the problem by
    putting a few 'less weighty' slides in front of the slide with the
    embedded video so that the user has something to look at other than
    a blank screen. I was just hoping somebody else might have
    experience this and had a magic button I could press to make it all
    better.
    I could handle this if the preloader continued running so the
    user had some clue that it was still working, but when the
    preloader hits 60% and disappears and then nothing happens for
    another 10-20 seconds, that's a problem.

  • Dual boot Win7 pre-loaded and XP

    I have a T510 that came pre-loaded with Win7 Professional.  I'd like to dual boot with XP that I have loaded on a different hard drive on the same T510.
    I do have the recovery disks.  I can't do a fresh install of XP because it have over 300 programs installed.  Is there some way to run the recovery disks with Win7 Pro to not format the XP partition.  Can I make the XP partition read only and then run the recovery disks?
    Maybe someone knows of a way to install the recovery disks, then ( I know how to move Win7 and make a partition before Win7 then restore XP to the hard drive) then repair Win7 so it has the correct drive letters.
    Thanks,
    Docfxit

    Docfxit wrote:
    That's a good idea.  I might end up doing this.  The problem I have is I can't get all the Lenovo setup/programs that come with the restore disk to load.  I know I can get some of them loaded with System Update.
    What setup/programs will you be missing?  I run a vanilla WIn 7 Pro 64 on my T400 and  used TVSU to pull down everything that I need.
    It may be that some multimedia stuff will be missing, but grab the installers for them from your Lenovo Win 7 setup before wiping it or removing that drive.  Probably in C:\SWTOOLS (at least they were there in the old days. I don't have a Lenovo '7 load to examine.)
    I'd probably do something like this, since I can't resist messing with a multiboot machine:  clone the XP install to a large HD - or use the one you have if it 's big enough.  Shrink the XP C: partition with your favorite tool.  Fire up a MS '7 install DVD and install into the free space.  I'm told you can use the Win 7 activation code that came w/your machine, but you may have to call MS.
    Install TVSU for Win 7 and let it pull down the rest.  Come to think of it, that's what I did with my XP T61.
    Z.
    The large print: please read the Community Participation Rules before posting. Include as much information as possible: model, machine type, operating system, and a descriptive subject line. Do not include personal information: serial number, telephone number, email address, etc.  The fine print: I do not work for, nor do I speak for Lenovo. Unsolicited private messages will be ignored. ... GeezBlog
    English Community   Deutsche Community   Comunidad en Español   Русскоязычное Сообщество

  • SQL Loader Constraints with Column Objects and Nested Tables

    I am working on loading a Table that (god forbid) contains columns, column objects, and nested tables (which contains several depth of column objects). My question is does SQL Loader have a hidding undocumented feature where it states how the column objects must be grouped in refereneced to the nested tables within the loader file? I can load the various column objects, and nested tables fine right now, however, I am loading them all in strange and insane order. Can anyone answer this question? Thanks.
    Peter

    I just noticed that my email is wrong. If you can help, plese send email to [email protected]
    thanks.

  • Problem while loading texts and authorization objects file in RAR

    Hi all,
           i am getting internet explorer error while loading the texts and authorization objects text files in RAR .actually we uploaded rule file before this,does this step causes any error ?if so how to resolve this error.do i need to remove all rules/risks and then load text and authorization files? is there any shortcut to renove all risks generated in one shot? please reply me soon to resolve this.
    Thanks,
    Joseph.

    Hi Joseph,
    Please make sure to convert both the files in UTF-8 encoding format and then try to upload the files again. This should resolve the issue and if not then please paste the logs here.
    Regards
    Harleen

  • Problem with pre-loader and video playback

    Hi!
    I've got a real problem - I managed to put together a
    pre-loader OK but it doesn't load the entire movie.
    Instead it loads a little bit and tries to stream, but it
    stutters of course because the server can't cope.
    So what I want to do is:
    - make my preloader wait for my video file (.swf) to load
    (about 6Mb)
    - play my video file (.swf)
    How do I do this?
    You can check out what I'm attempting to do at
    Scottish Car Club
    Also, if I go to www.scottishcarclub.com , the video loads
    up. But if I hit refresh, it turns the video from 320x260 into a
    40x40 - sized box. Why!?!?!?
    Thanks for the help

    try this place
    http://www.communitymx.com/

  • Should I wait to purchase a Maverick pre-loaded iMac 21.5, or buy now and do a software update?

    Just upgraded my operating system to Maverick on my 15" MacBook Pro, but noticed some if my existing iLife that I had from a CD yrs ago still
    retain older icons etc.
    Now I would like to purchase an iMac, but noticed as of yesterday (Nov 2, 2013) all stores including Apple, have not got in the new computers in that are pre-loaded with Maverick.
    It is better at this time, to just wait a week or two and buy an iMac preloaded?
    Thanks
    Eric

    BootCamp alters to boot sector, which *usually* goes just fine but you must use BootCamp assistant to install or remove the partition.  Some people do not like to BootCamp because of the risks, even if small, without the need for a full-Windows compatibility.  You need require a new Windows license (like BootCamp you cannot reuse the old Windows set because it does not have all drivers).
    Parallels does not have the risks of BootCamp, but does require a new Windows license (like BootCamp you cannot reuse the old Windows set because it does not have all drivers).
    MicrosoftOffice for Mac gets you MS Office with none of the Windows-license requirement.
    If all you need is Office, buy Office for Mac from MS, my humble opinion.

  • Leopard OS 10.5 - pre-loaded vs. Erase and Install

    Just received a new iMac I ordered from from Apple Online yesterday. I was told it would come pre-loaded with the new Leopard OS but it didn't. The installed OS was 10.4.01. Apple has now agreed to either send me the Leopard OS or to take back the iMac and later on send me another one with Leopard pre-loaded. I'm wondering if this is really necessary as the Leopard OS Erase and Install option and/or a Secure Erase would appear to give me essentially the same result. Keep in mind my background is with Windows OS where I would always do a low level format of the hard drive and then do a clean install of a newer version of Windows OS. I would appreciate any suggestions about what I should do.

    Malcom:
    No, not initially. I saw the SCSI warning, but I must have missed that- I did the firware revision yesterday, after the fact- but I pulled the Jive drive box first and haven't had time to reassemble. I'll reinstall it tomorrow. Then I'll work on the SCSI card Adaptec 39160- (My Medea external Raid is a no show period.)
    Thanks for being there!
    Jim

Maybe you are looking for