QuickTime texture oddity
I've just switched from using a collection of self-written functions for loading textures to using QuickTime (the majority of the QuickTime code nicked from 'QTValuePak2') but I'm getting very odd behaviour from QuickTime... in short, swapped colours.
Any suggestions as to something I've overlooked?
And yes, you can question why I'm switching from something that works to something that doesn't... yet
--> ![[Image: 2.jpg]](http://www.fishfire.net/purpura/sealfin/_temporary/2.jpg)
(yes, icons from pseudoroom.com
)
Any suggestions as to something I've overlooked?
And yes, you can question why I'm switching from something that works to something that doesn't... yet

--> ![[Image: 2.jpg]](http://www.fishfire.net/purpura/sealfin/_temporary/2.jpg)
(yes, icons from pseudoroom.com
)
Mark Bishop
It looks to me like you need to do some byte swapping. I guess QT uses BGR coloring instead of RGB as you might expect.
- D.G
- D.G
Thanks DoooG
I'd originally replaced GL_BGRA_EXT (as it caused 'undefined symbol' errors) with GL_RGBA... changed to GL_BGRA, it works fine
I'd originally replaced GL_BGRA_EXT (as it caused 'undefined symbol' errors) with GL_RGBA... changed to GL_BGRA, it works fine
Mark Bishop
sealfin, any chance I could look at the working product? I was trying to do this myself but gave up... :oops:
jabber, if you email me I'll send you the project.
Mark Bishop
Possibly Related Threads...
| Thread: | Author | Replies: | Views: | Last Post | |
| NSView OpenGL Oddity | mfdesigner | 9 | 5,725 |
Apr 13, 2012 10:59 AM Last Post: OneSadCookie |
|
| Render video (e.g. QuickTime) to buffer or texture? | Ingemar | 14 | 11,013 |
Jun 8, 2011 04:09 PM Last Post: mdejong1024 |
|
| Flipping a texture loaded using QuickTime.. | Craig | 3 | 3,106 |
Nov 17, 2005 08:52 PM Last Post: arekkusu |
|
| Streaming Quicktime to OpenGL Texture | Holmes | 5 | 4,503 |
Jul 12, 2004 10:54 PM Last Post: kelvin |
|
| Quicktime and Texture Coordinates | Griggs | 5 | 3,457 |
Sep 27, 2002 11:34 AM Last Post: Griggs |
|

