Fast 3D-ish graphics

hi. i have a program somewhat similar to a pinball or arkanoid game (you can check it out at http://web.mit.edu/dum_dani/www/gizmoball.html ), and i need to paint its "objects" (balls, square/circular/triangular bumpers, flippers & paddles) in a 3D-ish way. right now i'm doing this by using GradientPaint, but it's very slow (for some board configurations the paiting takes ~100ms, which forces me to have an animation at <10fps (which sucks)). i tried to keep an Image object for every board "object" (ball, paddle, etc.), and use Graphics2D.drawImage(...) method to paint them on the board. apparently, this is even slower. any suggestions how to improve the performance, but still keep the 3D-ish look? i'd like to keep the GradientPaint style, but any other (fast) way of giving the objects a 3D look will be appreciated. thanks.

I don't know why the if block would be running faster than the draw. In my experience, creating the new BufferedImage is what takes the longest, but after that, painting them, especially if they are small, takes fairly little time. Also, by using a few images for dynamic objects, flashing is greatly reduced without using costly double buffering of the entire game board.
One thing I noticed, and I don't know how or if it affects performance, you should probably use getGraphics instead of createGraphics when using the image. And when you use createGraphics, you should call dispose on them when you are done using them.
As for repainting areas around moving objects, I think it would be worth the effort, especially if you want to do more development like this. If you only have to repaint a few small rectangles instead of the entire screen every time, that speeds up drawing a lot. To get it to work, try having objects call a bounded refresh method on the board using the bounding boxes of their old and new positions. It also means taking out a global repaint in the run method of the thread controlling the game.

Similar Messages

  • Is Aperture faster using discrete graphics?

    I'm considering a new Mac to replace my late 2006 MBP. Initially, I was debating with myself whether I should buy a new MacBook Pro, a Retina MBP, or wait for the new 27" iMac coming in December.
    More recently, however, I've seen the 2012 Mac Minis, and they are benchmarking very similar numbers to the Retina MBP with the same processor.
    But the big difference I see, is that the Mini only has the integrated Intel HD Graphics 4000, while all the other options have the integrated graphics, plus various flavors of nVidia GeForce grahics.
    So, my question is, will Aperture be noticeably faster having (and using) the discrete grahics instead of having solely the integrated graphics?
    I like to get the best performance for my money, but if the performance difference is only slight byt the dollar difference is large...

    ...more (The forum as is common just trashed a few paragraphs of writing that I decline to rewrite).
    In summary, graphics are limiting to graphics processing so IMO we should buy strong discrete graphics boxes for heavy graphics apps because the OS, apps and camera file sizes are getting more demanding not less demanding of graphics support.
    Personally I consider mobility essential and Aperture still fails to synch a laptop/desktop workflow, so I got rid of my MP/MBP setup for a strongest-graphics MBP.
    CPU-only test results are at
    http://browser.primatelabs.com/mac-benchmarks
    but note that all 2012 cpus are strong. The Geekbench results linked do not measure application performance; graphics and RAM are what tend to be most limiting, not cpu.
    From the BareFeats site previously linked to:
    "BOTTOM LINE
    The 'late 2012' Mac mini Quad-Core i7 is strong on CPU crunching but weak on graphics intensive tasks."
    HTH
    -Allen

  • Crashing with Skitch, Snapz Pro, Fast User Switching - graphics card issue?

    Noticed this issue when I switched back to a G5 from a Mac Pro.
    Clean install of the OS and apps but Skitch locked the machine when accessing prefs etc. in the app. Then discovered Snapz Pro locked the machine when attempting to screen grab. Now, after creating a new user account and activating Fast User Switching the machine locks when switching to the new user.
    Could this be an Open GL or Quartz Extreme issue? Ran Xbench and everything went fine. Normal day to day use of the machine is sound.
    System Profiler tells me this about the graphics card:
    *ATI Radeon X800 XT:*
    Chipset Model: ATY,R420
    Type: Display
    Bus: AGP
    Slot: SLOT-1
    VRAM (Total): 256 MB
    Vendor: ATI (0x1002)
    Device ID: 0x4a48
    Revision ID: 0x0000
    ROM Revision: 113-A35801-109
    I just flashed the ROM to 109 (from 108) today, but still have the issue.
    Thoughts?

    Malcom,
    If I turn it off, then I lose the ability to jump between users without having to kill everything I'm doing. Yes, that does solve the problem, but only because it removes the cause of the problem. I'm trying to find a solution to the issue.
    -Steve

  • Hi,please suggest me some games for Compaq CQ62-105TU Laptop.Can I upgrade my laptop's graphics card

    Hi,please suggest me some games for Compaq CQ62-105TU Laptop.Can I upgrade my laptop's graphics card

    Unfortunately, you cannot upgrade the processor or graphics card on this laptop.
    Here is a page from CPU-World that gives the specs for your processor:
    http://www.cpu-world.com/CPUs/Bobcat/AMD-E%20Series%20E2-1800.html
    You will see down near the bottom of the page that it is not upgradeable. Some laptops come with the processor soldered to the motherboard. Almost all laptop graphics are this way. The only way that you would be able to get a faster processor/better graphics for this laptop would be to purchase a brand new motherboard. You can do an Ebay search for 'HP G6 motherboard' to see what average prices are if you want to go this route.

  • Mac pro graphics card question

    Hello, I am ordering an apple Mac Pro tomorrow and I need a question cleared up.
    If I get the 4x ATI radion 2600 HD (4 graphics cards) If I hook up one monitor will 1 graphics card take up 1 forth of the screen or is this meant for people with like 4 screens?
    Thank you

    One graphics card can run two monitors. Four graphics cards could run 8 monitors. Four graphics cards will not run one monitor any faster than one graphics cards. Unless you plan on running three or more monitors, even a second graphics card will be money wasted.

  • Full screen graphical output

    I am working on a project for a school where I need to do fast (relatively speaking) graphics rendering in real time.
    Essentially, I have 5 computers; 1 Server and 4 clients.  Each client is hooked to a projector and is responsible for one letter of the word LASA. I have the network bits working, so that each client is told what color  and what position to draw the letter at, but now I am having trouble with getting it to draw quickly and smoothly.
    First I tried working with just making the pane full screen using a property node and modifying its background color at runtime, this worked great, so long as I didn't try to change anything on the panel, which made moving the letter using this method impossible.  Next, I thought I could use an image control since they are designed to handle quickly changing graphics and I could then just pragmatically generate the image on the fly.  While this seems like a great idea, I can't figure out how to make it full screen.
    Any help is appreciated.

    Attached is an example of the picture control doing this by changing the origin.  You can coordinate VIs by changing this origin synchronously in your displays using commands.  You can change the appearance of the VI front panel so that the title bar, scroll bars, etc are all not shown, and even make the background transparent, then maximize it.  The picture control allows you to easily change the background color of your text using either a rectangle in the background or with the text background itself (if the text is large enough).  You can programmatically scale the picture control and font size so that it looks good on your monitor.  You could also programmatically make the VI front panel slightly larger than your monitor so there are no seams.  Remember to have a way to close everything.  The picture control has a rich set of mouse events, so this should be pretty easy.
    Let us know if you need more help.
    This account is no longer active. Contact ShadesOfGray for current posts and information.
    Attachments:
    ScrollText.vi ‏13 KB

  • Software Mode is Faster than GPU acceleration, WHY?!

    I just built my first computer with an i7 4790k and geforce gtx 770 gb graphics card.
    For some reason software only mode keeps coming out ahead by about 20% faster in
    render and playback times.
    Why would this happen!?  Someone please explain.

    Thanks for the quick reply Kevin.
    I read over the article and tried a new clip with some of the effects listed for CUDA acceleration and it played back seamlessly and
    rendered 20x as fast with the graphics card.
    Would your best advice just be to pay attention to which effects I'm using to determine which MPE mode to use?
    Do you think that with new Premiere CC updates, the graphics card will play a bigger and bigger role in playback and rendering?
    I guess I'm just feeling like maybe I should have invested more in my CPU and waited on the graphics card. 
    What do you think?

  • Graphics Card and Performance in CS Suite

    Hi,
    Do graphics card affect performance across the CS3 Adobe Creative Suite?
    One of the Macs I currently use is a Powermac Dual Core 2.3 with GE Force 6600 256mb.
    I will shortly be investing in a new Mac Pro for a new city studio opening next month. I see these have ATI 256mb cards as standard with upgradable options.
    I have read complaints on many forums talking about the new Mac Pro that it is fitted with a bog standard cheap graphics card. Is this right?
    Does graphics card affect performance in apps such as for example, In design. Say I have a 36 page A4 brochure open and I'm scrolling through the pages. What would speed up the on-screen rendering, a faster processor or graphics card?
    Or are fast graphics cards just meant for 3d work?
    Cheers
    S

    The power of high end cards is mostly in 3D rendering. 2D performance is enhanced in cards with wider memory bandwidth but is often limited by CPU performance ( aka CPU bound ).

  • Mac Pro 3D Severe Graphics Issue

    Greetings to all.
    I currently own a Quad 2.66ghz Mac Pro with 5GB of RAM and an X1900 (512MB) ATI Graphics Card.
    A while ago, I started having an issue with most 3D applications under Bootcamp. I'm using the Bootcamp 2.1 driver set and reformatting the machine had no effect on this issue.
    The problem is that certain 3D games run slow.
    By slow, I don't mean poor graphical performance or a lack of frames-per-second, I mean slow as in "time has slown down". The graphic performance is excellent and I'm getting high FPS as usual- but the game itself is running at maybe 50-75% of the speed it should be.
    For example...
    If I'm playing any VALVe game (such as Team Fortress 2, Half Life 2, Portal, etc)- all the game animations run at 75% of the speed they should. The graphics are fine- smooth with high FPS. However, my "character" moves at approximately half-speed in the game world. If I'm playing online with other people- from their point of view, I'm playing the game in slowmo. Everything for /them/ is fine, but my "character" is literally jumping, walking, etc half-speed.
    If I'm playing Spore, then the introduction video when you start the game (where it says "EA" then explodes into the galaxy) is all jerky. My space ship "moves" (in the game) at approximately half the speed it should, and again, all the game animations are smooth with high FPS- but everything is moving in slow motion.
    If I reboot the machine- anywhere from 3-7 times, the problem will eventually go away and the games resume their "normal" speeds. So I can tell instantly when the computer is screwed up- because Spore's intro video will playback smooth when everything is "working" and the game speed is normal (so my ship travels through space quit a bit faster, and the graphical animations aren't off sync with the audio). It's the same thing with VALVe games- I can tell when the computer is working because the character animations are running at normal speeds versus "slowmo".
    I am unsure what is causing this but it is extremely annoying. I reformatted the entire Windows XP installation, no effect. I simply noticed it one day (about a month ago), prior to that the problem didn't exist.
    Since this effects multiple games and the graphics performance is NOT an issue, I'm lead to believe that there's some sort of driver bug here at work, or some sort of issue with the Mac Pro's internal timer or something.
    Has anyone else experienced this "warped 3D time" situation? Does anyone have a solution?
    -SC

    We're talking Windows in general. My advice, get 64-bit Vista Ultimate.
    Why would I spend money on a new OS, when XP x86 (and I have XP x64- I'd sooner throw that on then deal with Vista) works? Save for this issue, it's 100% stable, and pretty much every current game on the market and most future games are 32-bit only and don't rely on Direct X 10 exclusively.
    X1900 seems okay, but maybe not. Something is a bottleneck and not sure where and reinstalling ATI graphics driver hasn't helped? BootCamp 2.1 is just a bunch of low level HAL support services.
    There is no bottleneck. You misread my issue.
    The 3D graphics are perfectly fine. The X1900 performs to my expectations in every single game I own. The frame rate is high in every single game. The issue is that "time" itself seems to slow down, even though the framerate *remains the same*.
    This is some sort of weird software bug or timer issue. Performance wise, the system is fine.
    The official ATI drivers had no impact on the issue. The issue originally started when I was running XP x86 and Bootcamp 2.0 drivers. I upgraded those to the official ATI Catalyst drivers, which made no difference. I reformatted the entire machine- and installed the Bootcamp 2.1 drivers. No effect.
    And let's hope you put Windows on its own dedicated disk drive, and not the poor man of the lot, try putting it on an nice $78 WD Caviar 640 or something.
    I didn't even use Bootcamp (the utility). I have 4 500GB drives, 3 of which are dedicated to OS X. I removed those three, leaving in only the forth, and formatted the entire drive as a MBR partition map with an NTFS primary partition. Therefore, the forth drive is 100% Windows and nothing else.
    You could run chkdsk and system file checker (sfc /scannow) as well as make sure you aren't low on disk space...
    Disk is fine. ~300GB free space.
    What would you do to improve performance?
    Nothing at all. As I've said before, *performance is fine*. Framerates are good. Most games I can crank to 1920x1200 at high settings (sans Crysis). Spore looks and runs fine. VALVe games look incredible.
    The issue has nothing to do with performance. As I've said, it's that the "game time" is running slow. The framerate is fine. Since this has nothing to do with the load of the machine (time should be a constant), it is some sort of obscure firmware, software, or hardware bug. This effects both Spore and Valve games (and others?). In both cases, "game time" and animations run in slow motion. They are NOT jerky or suffer from any performance related issues on the X1900. They're just running in slow motion.
    Rebooting a few times clears the issue. Performance stays the same, but game-time resumes it's normal pace.
    Buy a PC video card can work, or 8800GT, or hope the Radeon 3870, but with both of those, on 1st gen Mac Pro, you are better off with Vista.
    Again, why? My X1900 may be loud, but it flies. I am happy with this machine. I keep it clean, and it keeps running stable for me as a result. Except for this issue under Windows XP 32 with game time running slow-mo, I have no quirks with this machine.
    And in case you haven't already check Barefeats, take a peek:
    I know how much faster the other cards are, but I don't do that much gaming. When I do, it's annoying to have to reboot several times to get "Game time" to run at "normal" speeds (as per above). I plan on updating to an 8x in the /future/, but I don't have the money to do that right now.
    -SC

  • Need your advice on a visual ide part 2

    thanks to everyone who responded to my previous thread. from the feedback i think my best plan is to try and code things myself rather than use the gui building of a visual ide, but use the ide's for code completion and file organization. i've used xemacs before but not vi, and i'm just sick of text editors. a notepad equivalent is no place to be writing lots of code across multiple files, but i'm just spoiled by visual studio perhaps.
    i have a second question though... in my research into using eclipse i came across how eclipse includes the SWT classes, which are an alternative to Swing. so far i am pretty content with Swing and frankly don't care about the more consistent look and feel that Swing supposedly lacks. what struck me was how SWT with its more native implementation could be faster, especially for graphics. now I suppose Swing is continually improving and any performance gap is always closing, so is it worth my time to use SWT? I am new to both here, but my impression is SWT is more complicated.

    Most people I know (in London UK at least) no longer talk about SWT with any great enthusiasm, in fact come to think about it they don't talk about it at all. A personal perspective on this and I stand to be corrected is that;-
    - SWT had problems from the onset. It wasn't well documented and still isn't as far as I know. A very personal opininion is that they never quite got it right in the first place
    - Some of the OOP implementation is a little clumsy (James Gosling stated this and who are we to argue with that, depite his clear bias?)
    - Swing and the speed of the the JRE has improved greatly in the last 2/3 years. The speed improvements from 1.3 to 1.4 were significant and further releases of 1.4 seemed to be faster still
    - SWT being tied to native libraries offers a much more limited set of widgets than swing not ot mention the loss of platform independence
    Ulrika has a repeated mantra here in that SWT put pressure on java and swing in particular to improve - this is probably correct though difficult to prove, the point may well be moot, though of significance swing has improved a lot since Eclipse and SWT came along circa September-ish 2002 as I recall and so again citing the pros in the field I know who write front-end stuff: they're using swing even more so than C/C++ and C# at the moment.
    &#969; || &#934;

  • Satellite P500 - Splinter Cell is very slow - low resolution

    Hey guys,
    I have a Toshiba Satellite P500.
    CPU Intel Core2 Quad processor Q9000 (2.0GHz, 1066MHz FSB, 6MB L2 Cache)
    Operating System Genuine Windows Vista Home Premium 32bit (includes recovery partition for Windows Vista Home Premium 64bit)
    Screen Size 18.4" Widescreen HD+ TruBrite Display (1680 x 945), supports 720p
    Memory 4GB DDR2 (2GB + 2GB) (800MHz) expandable to 8GB
    Storage 1000GB (500GB + 500GB) (5400rpm) SATA
    Graphics ATI Mobility Radeon HD 4650 (2286MB Total: 1GB discrete memory + 1262MB shared memory with ATI HyperMemory technology)
    Optical Disc Drive DVD SuperMulti Double/Dual Layer
    Now im trying to play games like, Splinter Cell Convictions and things of that sort, apparently, according to the Games website, i meet all the recommended specs. Yet when i play the game its on a very low resolution and all settings set to LOW!
    Is anyone else having these problems with there Notebooks?

    Hi Sammole,
    Sine few days I have Satellite P500 too. I have to say its a very great notebook, I love it. The screen is really good and big and in my opinion the best option for games, videos and all other multimedia stuff. Furthermore its equipped with fast CPU and graphic card, ideal for playing games.
    All my games running fine so I dont know what happened to you. Make sure that the eco mode isnt active, this will slow down the performance.
    Make also sure that newest display driver from Toshiba is installed and latest DirectX version from Microsoft.
    Have also a look Splinter Cell homepage. Maybe there is an update (patch) available that can help you. :)

  • MAC SLOW WHEN PLAYING GAMES

    Hi if anyone can help me with the problem I have I will jump for joy.
    I have a Mac desk top 27 inch screen that is 4 months old.  It has Mountain Lion installed.  The problem I am having is when I first log into a particular game my mac is extremely low and won't load the graphics very well.  When I first had the mac I had no problem at all with the game everything was super fast and the graphics were fantastic, but now sadly I wish I had never purchased the Mac, I was always a PC user.  I have tried everything I can think of even lowering the graphics on the game but to no avail.  Everything else works well on the Mac, just not the games.  I am not a expert on Mac but have been told they lose memory very quick.  Can anyone PLEASE help me, I am not computer savvy so if you can explain in simpleton terms that would be great.
    Thank you

    COCO68 wrote:
    Hello I have followed your instructions and there are no pages out.  This is the information I have.
    System Memory
    Free: 5.98 GB In Green
    Wired: 939.2 MB In Red
    Active:1.04 GB In Blue
    Used: 2.09GB
    VM Size: 218.16 GB
    Pages in: 217.7 MB
    Pages Out: o bytes
    Swap used: o bytes
    DISK Usage
    Space Utilized: 94.67 GB          94,674,366,464 bytes  (in blue)
    Space Free: 904.67                    904,670, 478,672 (in green)
    I am not computer savvy but I am pretty sure I have more than enough Ram.  I have been reading recent threads on the update of Thunderbolt and there are many people who are suffering poor graphics on games recently due to the Thunderbolt update.  I am thinking maybe this is the problem.
    To check the RAM amount.....Go to Apple>About This Mac>More Info>Overview
    Please post the amount that you have.
    For HD amount, click on Storage
    Post your HD amt & the amt you have left (free).
    Macs are not known as "gaming computers."  That being said, nothing can beat a PC when it comes to game playing.

  • Speed Issues

    Greetings and Salutations,
    I'm having speed issues with my Adobe AIR application. From what I've read on the web, AIR is supposed to be fast at drawing graphics. I am writing an application which has multiple screens. On one of the screens I have a tab (SuperNavigator) which has a canvas on it. That canvas has a series of other canvases (built with a repeater) that have graphics in them. I am having speed issues when I have more than 50 of these children canvases. I've tried running it without the graphics (code below is without the graphics) to see how it performs. When I have 954 of these canvases being drawn it takes about 2.5 minutes to draw. This is unacceptable and I'm wondering if this is something I've induced or if AIR was never meant to handle such a large amount of canvases (actually this isn't a large amount, in a real world environment there could be a lot more). I've included relevant clips from the code. There are a couple empty boxes that in the real application will hold graphics.
    The class withing the Tab Navigator is a canvas.
    In the action Script (the setter line takes 2.5 minutes to get past) (it's binding to the repeater that seems to be my problem).
    [Bindable]  private
    private  var _assetList:Array;
    [Bindable]  
    public function get timelineAssetList():Array{ 
         return this._assetList;
    public function set timelineAssetList(ac:Array):void{ 
         this._assetList = ac;
    The MXML code that is being bound to:
     <mx:Canvas id="labelCanvas" left="0" right="0" top="0" height="65" verticalScrollPolicy="off" scroll="scrolling(event)">
          <mx:HBox horizontalGap="1" left="10" right="10" top="10">  
              <mx:Spacer width="2"/>  
                <mx:Canvas width="{getHeaderWidth()}" height="40" borderStyle="solid" borderColor="{StaticVariables.borderColor.getColorUint()}" horizontalCenter="0">
                <PastDataView:ColorBarScale id="scale" bottom="10"/>   
         </mx:Canvas>  
              <mx:Canvas width="20" height="40">  
                   <mx:Spacer width="20" />  
              </mx:Canvas>  
         </mx:HBox>  
    </mx:Canvas>
    <mx:Canvas id="assetCanvas" left="0" right="0" bottom="0" top="65" scroll="scrolling(event)">
         <mx:VBox y="10" right="16" left="10" verticalGap="0">  
              <mx:Repeater id="assetRepeater" dataProvider="{timelineAssetList}">  
                   <mx:HRule width="100%"/>
                   <PastDataView:ColorBarBar  id="barArray" width="100%" height="170" asset="{assetRepeater.currentItem}"/>  
              </mx:Repeater>
         </mx:VBox>  
    </mx:Canvas>
    The ColorBarBar consists of:
    <?xml version="1.0" encoding="utf-8"?><mx:Canvas  xmlns:mx="http://www.adobe.com/2006/mxml" width="400" height="300" xmlns:PastDataView="org.XXXXXX.CenterScreen.PastDataView.*" horizontalScrollPolicy="off" click="clicked()">
         [Bindable] 
         public static var _colorBarHeight:int = StaticVariables.colorBarHeight;
         [Bindable] 
         private var _asset:Object;
         [Bindable] 
         public function set asset(a:Object):void{ 
              this._asset = a;          getBackgroundColor();
         public function get asset():Object{ 
              return _asset;     }    
          private function getBackgroundColor():void { 
              var color:String = asset.color; 
              if (color == null) color = "Black"; 
              if( color.toLowerCase() == "blue" ) {
                   lblAssetTag.setStyle("color", 0x1674cc);               lblAsset.setStyle(
    "color", 0x1674cc);          }
    else if( color.toLowerCase() == "red" ) {
                   lblAssetTag.setStyle("color", 0xe35353);               lblAsset.setStyle(
    "color", 0xe35353);          }
    else if(color.toLowerCase() == "grey" || color.toLowerCase() == "gray") {               lblAssetTag.setStyle(
    "color", 0xe55555);               lblAsset.setStyle(
    "color", 0xe55555);          }
    else { // give it a default color                lblAssetTag.setStyle(
    "color", 0x000000);               lblAsset.setStyle(
    "color", 0x000000);          }
          private function calculateActivityRepeaterHeight():int{ 
              return this.height-50-_colorBarHeight;     }
          public function clicked():void{
              dispatchEvent(new SelectAssetEvent(this._asset, false, false, true));     }
         ]]>     </mx:Script>
           <mx:VBox left="0" top="0" right="0">
               <mx:Spacer height="1"/>
               <mx:HBox>
                    <mx:Spacer width="2"/>               <mx:Label id="lblAssetTag" text="{asset.type}: " fontWeight="bold" fontSize="12" doubleClickEnabled="true" doubleClick="titleClicked()"/>  id="lblAssetTag" text="{asset.type}: " fontWeight="bold" fontSize="12" doubleClickEnabled="true" doubleClick="titleClicked()"/> id="lblAssetTag" text="{asset.type}: " fontWeight="bold" fontSize="12" doubleClickEnabled="true" doubleClick="titleClicked()"/> 
                   <mx:Label id="lblAsset" text="{asset.name}" fontSize="12" doubleClickEnabled="true" doubleClick="titleClicked()"/>
                    <mx:Label id="lblAssetId" text="{'(' + asset.id + ')'}" fontSize="12" visible="{mx.core.Application.application.debugMode}"/>
               </mx:HBox>
              <mx:HBox horizontalGap="1">
                    <mx:Spacer width="2"/>
                    <mx:Spacer width="10" />
                    <mx:VBox  width="100%">                    <mx:VBox>
                        </mx:VBox>   
                        <mx:VBox  id="displays" verticalScrollPolicy="auto" height="{calculateActivityRepeaterHeight()}" horizontalScrollPolicy="off">
                        </mx:VBox>   
                   </mx:VBox>   
              </mx:HBox>
              <mx:Spacer height="2"/>
          </mx:VBox></mx:Canvas>
    I would appreciate any thoughts or feedback you could provide.
    ~martin

    The Canvas is a very heavy object that has lots of overhead.  Even worse is the VBox object that is in there multiple times. 
    What exactally are you trying to accomplish?  Just looking over the code, it seems that the same could be done directly with the Graphics API, at a much faster rate.
    For each of the VBoxes and Canvases you have, the entire size of each child and parent need to be re-evalulated each time you add or change something.  This is a HUGE overhead, and probably why the app is running so slow.  You may need to convert this app to use simpler objects (UIComponent or something lower-level like that) to get any speed.
    Are you using Flex Bulder?  Take a look at the app while the Profiler is running to see what I'm talking about.

  • Screen goes black when playing "Tiger Woods PGA Tour 08"

    No need to mention that I am very happy with my new iMac. It replaces my G4 MDD PowerMac. The iMac is huge, quiet and fast on my graphic design jobs. I even won´t want to miss the glossy screen.
    Yesterday I received the brand new "Tiger Woods PGA Tour 08". Keen on trying the game I installed and successfully created a player and got first practice shots but as soon as I try to actually start a game scenario, it appears that the scenario just only loads about 90 % and then screen goes black. From there I can only shut down my iMac with the power switch.
    Now I found a support note on the EA Games Site. Title: "Why does "Tiger Woods PGA Tour 08" lock up with a black screen when playing on an iMac 7.1?" Answer: "This is caused by a driver issue with the video card that will be adressed by next system update by apple later this month."
    Question: is this indeed so? Can I expect a system update soon? Anybody there with the same problem?
    P.S.: I checked if I could run the game with a new user. Same problem.
    Thanks for help.

    Thank you for replying. There are more postings in this forum about that issue. I.e. gamers trying to play Unreal Tournament suffer from the same freezing on the new 24" iMac. Have a look as well at the reviews in the US apple store on this game.
    Solution is near. Installing 10.5 Leopard should solve the problem. As I do not want to install Leoprad yet, because some of my graphic apps will not run smoothly on leopard I have to wait for the next update for Tiger 10.4.11
    Obviously EA Games is to blame and failed to test the game good enough before hand.

  • I have some questions regarding setting up a software RAID 0 on a Mac Pro

    I have some questions regarding setting up a software RAID 0 on a Mac pro (early 2009).
    These questions might seem stupid to many of you, but, as my last, in fact my one and only, computer before the Mac Pro was a IICX/4/80 running System 7.5, I am a complete novice regarding this particular matter.
    A few days ago I installed a WD3000HLFS VelociRaptor 300GB in bay 1, and moved the original 640GB HD to bay 2. I now have 2 bootable internal drives, and currently I am using the VR300 as my startup disk. Instead of cloning from the original drive, I have reinstalled the Mac OS, and all my applications & software onto the VR300. Everything is backed up onto a WD SE II 2TB external drive, using Time Machine. The original 640GB has an eDrive partition, which was created some time ago using TechTool Pro 5.
    The system will be used primarily for photo editing, digital imaging, and to produce colour prints up to A2 size. Some of the image files, from scanned imports of film negatives & transparencies, will be 40MB or larger. Next year I hope to buy a high resolution full frame digital SLR, which will also generate large files.
    Currently I am using Apple's bundled iPhoto, Aperture 2, Photoshop Elements 8, Silverfast Ai, ColorMunki Photo, EZcolor and other applications/software. I will also be using Photoshop CS5, when it becomes available, and I will probably change over to Lightroom 3, which is currently in Beta, because I have had problems with Aperture, which, until recent upgrades (HD, RAM & graphics card) to my system, would not even load images for print. All I had was a blank preview page, and a constant, frozen "loading" message - the symbol underneath remained static, instead of revolving!
    It is now possible to print images from within Aperture 2, but I am not happy with the colour fidelity, whereas it is possible to produce excellent, natural colour prints using its "minnow" sibling, iPhoto!
    My intention is to buy another 3 VR300s to form a 4 drive Raid 0 array for optimum performance, and to store the original 640GB drive as an emergency bootable back-up. I would have ordered the additional VR300s already, but for the fact that there appears to have been a run on them, and currently they are out of stock at all, but the more expensive, UK resellers.
    I should be most grateful to receive advice regarding the following questions:
    QUESTION 1:
    I have had a look at the RAID setting up facility in Disk Utility and it states: "To create a RAID set, drag disks or partitions into the list below".
    If I install another 3 VR300s, can I drag all 4 of them into the "list below" box, without any risk of losing everything I have already installed on the existing VR300?
    Or would I have to reinstall the OS, applications and software again?
    I mention this, because one of the applications, Personal accountz, has a label on its CD wallet stating that the Licence Key can only be used once, and I have already used it when I installed it on the existing VR300.
    QUESTION 2:
    I understand that the failure of just one drive will result in all the data in a Raid 0 array being lost.
    Does this mean that I would not be able to boot up from the 4 drive array in that scenario?
    Even so, it would be worth the risk to gain the optimum performance provide by Raid 0 over the other RAID setup options, and, in addition to the SE II, I will probably back up all my image files onto a portable drive as an additional precaution.
    QUESTION 3:
    Is it possible to create an eDrive partition, using TechTool Pro 5, on the VR300 in bay !?
    Or would this not be of any use anyway, in the event of a single drive failure?
    QUESTION 4:
    Would there be a significant increase in performance using a 4 x VR300 drive RAID 0 array, compared to only 2 or 3 drives?
    QUESTION 5:
    If I used a 3 x VR300 RAID 0 array, and installed either a cloned VR300 or the original 640GB HD in bay 4, and I left the Startup Disk in System Preferences unlocked, would the system boot up automatically from the 4th. drive in the event of a single drive failure in the 3 drive RAID 0 array which had been selected for startup?
    Apologies if these seem stupid questions, but I am trying to determine the best option without foregoing optimum performance.

    Well said.
    Steps to set up RAID
    Setting up a RAID array in Mac OS X is part of the installation process. This procedure assumes that you have already installed Mac OS 10.1 and the hard drive subsystem (two hard drives and a PCI controller card, for example) that RAID will be implemented on. Follow these steps:
    1. Open Disk Utility (/Applications/Utilities).
    2. When the disks appear in the pane on the left, select the disks you wish to be in the array and drag them to the disk panel.
    3. Choose Stripe or Mirror from the RAID Scheme pop-up menu.
    4. Name the RAID set.
    5. Choose a volume format. The size of the array will be automatically determined based on what you selected.
    6. Click Create.
    Recovering from a hard drive failure on a mirrored array
    1. Open Disk Utility in (/Applications/Utilities).
    2. Click the RAID tab. If an issue has occurred, a dialog box will appear that describes it.
    3. If an issue with the disk is indicated, click Rebuild.
    4. If Rebuild does not work, shut down the computer and replace the damaged hard disk.
    5. Repeat steps 1 and 2.
    6. Drag the icon of the new disk on top of that of the removed disk.
    7. Click Rebuild.
    http://support.apple.com/kb/HT2559
    Drive A + B = VOLUME ONE
    Drive C + D = VOLUME TWO
    What you put on those volumes is of course up to you and easy to do.
    A system really only needs to be backed up "as needed" like before you add or update or install anything.
    /Users can be backed up hourly, daily, weekly schedule
    Media files as needed.
    Things that hurt performance:
    Page outs
    Spotlight - disable this for boot drive and 'scratch'
    SCRATCH: Temporary space; erased between projects and steps.
    http://en.wikipedia.org/wiki/StandardRAIDlevels
    (normally I'd link to Wikipedia but I can't load right now)
    Disk drives are the slowest component, so tackling that has always made sense. Easy way to make a difference. More RAM only if it will be of value and used. Same with more/faster processors, or graphic card.
    To help understand and configure your 2009 Nehalem Mac Pro:
    http://arstechnica.com/apple/reviews/2009/04/266ghz-8-core-mac-pro-review.ars/1
    http://macperformanceguide.com/
    http://www.macgurus.com/guides/storageaccelguide.php
    http://www.macintouch.com/readerreports/harddrives/index.html
    http://macperformanceguide.com/OptimizingPhotoshop-Configuration.html
    http://kb2.adobe.com/cps/404/kb404440.html

Maybe you are looking for

  • Steps to develope user name generation event handler in OIM 11gR2

    Friends, Can you please provide me steps to develop user name generation event handler in oim 11gR2? Thanks, Chakri

  • Word processing to database

    I would like to take a very long list of words and enter them into a database file. Is there any way of doing this without copying and pasting each word? Thanks Roy

  • Accented folder names make Finder "jumpy"

    Hello, We have a weird problem with our OS X Server. When we have accented letters in a folder name, like for instance "Référence", Finder sometimes becomes jumpy, jumping from the folder to the parent, making the content of the folder "blink". I'm n

  • Connecting ipod to my mac

    Got a nice xmas gift but haivng issues: Itunes or Ipod updater does not see my ipod. Did all the restore, restart, etc. I did notice that its been formatted for windows. But I am not able to reformat. HELP...

  • ITunes icon doesn't work

    I've asked this question before, but didn't get anywhere, so I decided to ask again. My problem is that when I click on the iTunes icon in my dock, nothing happens. I might add the following: (1) The icon doesn't disappear when I move it to the deskt