OpenGL App Texture Colours look rubbish and blotchy
I've copied the CrashLanding app and made some adjustments and all is ok, except that if I load a texture (tried png, jpg, bmp) saved from photoshop that uses the "clouds" filter, when it loads on screen in the simulator and on my iPhone, the colours look all blotchy almost like the image has been downgraded to 256 colours or something.
I haven't modified the Texture2D class at all.
Could anyone shed some light on why the image is coming out like this? I want to be able to use all the colours that show in photoshop. Even when I import them into XCode as resources they look fine. It is only when they are loaded into the app that they display badly.
PS, this is not the same problem that some were having with PPC hardware, I'm using an intel macmini.
I've had similer problems when using Apple's Texture2D class. For starters, during linking, the resource compiler will OPTIMISE your PNG's (by converting them to Apple's proprietary CgBI format). One of the sideeffects is that it ignores interim alpha values (eg. 0.5f). It also creates artifacts with some PNG files (haven't bothered investigating why)
I've ditched Apples Texture2D and ported libpng to the iPhone (together with glpng). You need to prevent Apples's resource compiler from optimising PNG's (add a build setting called "IPHONEOPTIMIZEOPTIONS" and set it to "-skip-PNGs" ignore the quotes), or rename your .png files.
Now my PNG's look great, partial alpha values (0.5f) are displayed properly, and there is no texture corruption. Frame rates are basically the same.
Similar Messages
-
I am getting a security code invalid error everytime I try to download a app or update my current apps? I looked online and a few people are having the same issues anyone been able to get this resolved? It's not just on Iphones either it's on all apple devices. I've called Apple customer service. I've wrote a complaint online as well so far no good.
Any help would be much appreciated Love to all and thanks!I have done that thousands of times for my security code. Doesn't work and I have called the bank and they say no problem with my card. I have also tried useing different cards all together with no luck idk what else to do? Help!
-
A few days ago, I upgraded to FF 6 and Yahoo mail became blotchy and very faded, so much so that it was unusable. I went back to FF 5 and it worked fine. For the heck of it, I just tried FF 6 again and the problem is still there so I'm back to version 5 again. I have a screenshot of what it looked like if that will help.
Clear Cookies & Cache
* https://support.mozilla.com/en-US/kb/Template:clearCookiesCache
Clear the Network Cache
* https://support.mozilla.com/en-US/kb/How%20to%20clear%20the%20cache#w_clear-the-cache
Update your Firefox Plugins
* https://www-trunk.stage.mozilla.com/en-US/plugincheck/
* http://www.mozilla.com/en-US/plugincheck/
Check and tell if its working. -
I have just bought a thermometer on Apple Store and it is useless - do Apple not check the apps they sell? I had to pay for this one.
Take it up with the developer. Apple did not make the app.
Yes, Apple does have a screening process or else there would be floods of scams. When you get your email receipt, click the Report a Problem link, follow the steps and say the item was not as described (depending on how you define "useless"). Sometimes a bad one slips through. -
when i export photos from iphoto to facebook they lose colour and brightness and look rubbish. help!
Try support on facebook forum.
-
Force Vsync for Nvidia cards and OpenGL apps
Hello there!
I am new to this forum, so nice to meet you all!
I am trying to profile a little simulation app I've been told to study, but I don't have it's sources. I need to force vsync on this app to make it mach the monitor refresh.
Since apple hasn't developed an Nvidia control panel for OSX, I've been looking around and found the kCGLPFASampleBuffer, kCGLPFASamples...etc attributes wich, when put into the OpenGL Profiler.app, can FSAA.
So my question is: WHAT atributes should I use in OpenGL Profiler.app to force Vsync???
Thanks!!I assume you have insured that they WILL install and run properly?
Or, http://search.live.com/results.aspx?q=MayaVista64
http://www.highend3d.com/boards/index.php?showtopic=238615
http://www.adobeforums.com/webx?14@@.3bc327bc/35
I think it is a shame you don't have the X1900, though. Or 8800 which only works under Windows but interferes with OS X even booting. (I have 8600 which doesn't work in OS X but at least does work in Vista).
Only Business and Ultimate support dual cpus. And only x64 supports 5GB. 32-bit SP1 will see all 5GB but not sure how much it uses. Otherwise, Mac Pro + Vista 32-bit supports 1.9GB RAM - which is paltry.
Does Maya system requirements show the 7300?
Expanded Platform Support
+Support for Windows Vista™ operating system has been added, that enables you to take advantage of the performance capabilities of this recent technology.+ -
Looking for an app that works with Mac and iPhone that will set calendar reminders of birthdays in contacts.
Hi ron1098,
Try my application Dates to iCal. it runs on the Mac, but you can sync the calendar to your iOS device.
See more about Dates to iCal here. It is £4 shareware with a 2 week demo.
Best wishes
John M
As I sell software on my site and ask for donations, the Apple Support Communities Use Agreement requires that I state that I may receive some form of compensation, financial or otherwise, from my recommendation or link. -
Looking for a journaling app the allows dictation and editing and would look like and old fashion journal book that I can put in my iBook shelf.
You won't be able to put an app in iBooks. The only things you can put in iBooks are eBooks and PDFs. As far as narrowing down the list of possible apps, what ones have you looked at already when you searched the app store?
-
I am trying to find an app or software to burn iMovie 11 slideshow to a dvd. I have a MacBook Pro with Mavericks. There are a lot of DVD Creator apps at the App store. Looking for a recommendation of what to use and tips. Thank you.
I've been using "Burn" for years and it has been the only DVD burning software I have ever used for the mac. I have never needed to look at other apps. Unless you want something that has more bells and whistles such as Roxio's "Toast" : http://www.roxio.com/enu/products/toast/pro/overview.html
There are thousands of quality free apps out there for the mac that are not part of the App Store. All you have to do is read reviews online, do a little search, the Apple forums are full of recommendations from experienced users that have been here for years... -
Hi, I'd like to put a black and white effect on my colour footage which will look really sharp but which also looks bright so the whites look bright and the blacks look very dark . Any tips of which best effects to use to achieve this look in Prem Pro. Thanks
Under the Effects-Lumetri Looks-Desaturation choose a B and W effect. Then add the luma corrector from the Video effects-colour correction section. Adjust the brightness and contrast to get the effect you want.
-
How do you close apps you hve looked at with the new software update?? You used to have to double click the home button and the apps would come up to delete bu that doesn't happen anymore.
The apps in the multitaskbar should appear like pages on the whole display. To close them, just swipe from the bottom to the top. you can select single apps for closing, when you swipe them like you would swipe your homescreens.
-
iPhone 5S IOS 8. Can't figure out how to disable the "live" location feature within the native calendar app used for mapping/travel time etc. Have looked everywhere and it's driving me nuts. Thanks for any help on where to make the change!!
iPhone 5S IOS 8. Can't figure out how to disable the "live" location feature within the native calendar app used for mapping/travel time etc. Have looked everywhere and it's driving me nuts. Thanks for any help on where to make the change!!
-
I bought an app Camera+ and it is installed in both IPhone4S and mini IPad, now I have also one IPhone 5s and this app doesn't look like I have purchased it yet.
If I want to install I have to buy it again. Please, somebody has some advise?
Thank you.Sorry, maybe I didn't express myself well.
I have the same Apple ID in the 3 devices, iPad mini, iPhone 4s and iPhone 5s. In the 2 first the app camera+ is installed, but it is the unique app that doesn't show up in my purchased items in the iPhone 5s. If I want it I have to buy again. I really didn't understand what happened that I can't install it free again.
Thank you. -
Beryl and Other OpenGL apps.
Hey all,
I am running xfce4.4 under Beryl and have been having an interesting issue.
When I try opening any other OpenGL app(IE celestia, xscreensaver, etc) I get this wierd overlay effect where the OpenGL app distorts and flickers.
I have AIGLX running with the xf86-ati-video drivers running.
Any suggestions?try
Unredirect Fullscreen Windows
in General Options -> Advanced. -
i'm trying to get the Flash ActiveX control to work in an
OpenGL app. so far i've managed to get the bitmap data and map it
to a texture succesfully. but i'm having problems getting the mouse
interaction to work.
i get an hWnd from IShockWaveFlash's IOleWindow. when i send
mouse messages to it, the mouse is interpreted correctly by
actionscript (for example, i have a custom mouse cursor tracking
_xmouse, _ymouse which works fine).
however, buttons do not behave correctly. rollover is
erratic, and only in rare circumstances can i get a button's
onPress handler to fire.
am i sending the mouse events in correctly? any ideas of any
other way to send them in?Thank you for you mail,
After I read this article
http://digital.ni.com/public.nsf/3efedde4322fef19862567740067f3cc/610540bb3ea4ebdd862568960055e498?OpenDocument
I realized that ActiveX events are not supported on CVI 5.01 at all since
its introduced as a new feature of CVI 5.5
"Azucena" wrote:
>Daniel,>>Have you tried the function CA_RegisterEventCallback function?
(I am using>CVI 5.5)>>This function is used by the functions generated by
the Automation>Controller Instrument Driver Wizard.>It is not intended to
be used directly.>>It basically registers a callback for an ActiveX Automation
server object>event.>To register the callback, you must specify the CAObjHandle
of the server>object from which you want to receive events.>>W
ith CVI 5.5,
there is an example for IE with Active X under the>samples/activeX directory.>>Hope
this helps,>>Azucena>>"Daniel Bentolila" wrote in message>news:[email protected]..>>>>
Has anybody tried to capture an ActiveX component event in a CVI>application>>
?>>>> for example I've created a new instance of the Internet Explorer>application>>
from the CVI , using the ActiveX Automation controler I choosed the>Microsoft>>
internet controls then I selected IWebBrowser2 and the IWebBrowserEvents2>>
classes and generated the fp file for the CVI.>> Under the the IWebBrowserEvents2
I see there are events fucntion for>example>> OnQuit, and I wanted my CVI
app. to attach the quit event when the user>closes>> the IE window.>> Now
at this point I expected to find some mechanism that let me to install>>
some callback function where I can put my customised code to the quit>event,>>
somehow I have to tell the IE to call my function whenever the OnQuit>callback>>
fun
ction is attached and I don't know how to do this.>>
Maybe you are looking for
-
HOW TO FIX HD AUDIO/UNKNOWN DEVICE/DEVICE WON'T START LENOVO H320 Win 7 64-bit
Fix for - HD Audio devices won't start or you can't load correct driver. Lenovo H320 - Win 7 64-bit I-3 processor. 5 series/3400 chipset Here is a working procedure to fix the problem when you install windows 7 64-bit and can't get the correct driver
-
My new ipod 6th generation doesn't appear on itunes and does not charge when connecting to iMac...Any suggestions
-
We are being charged an international transaction fee for our subscription
We are being charged an international transaction fee with our Creative Cloud subscription because it seems that Adobe is making the transaction from Dublin to avoid paying taxes in Australia (and probably everywhere else). That's fine but I don't ex
-
I start devoloping a site in my PowerBook using Iweb; the site was published and all worked fine. But now, that I need to upload the site to my G5 to keep working in it, I am out of luck. Probably the designers didn't thought that uploading is a must
-
Installing 11g on Linux X11 server problem
Hi, when I launche Runinstaller on Linux Xubuntu to install DB 11 g I have : Checking swap space: must be greater than 150 MB. Actual 6165 MB Passed Checking monitor: must be configured to display at least 256 colors >>> Could not execute auto check