# OS X: Current state of MakeTexture Issue

**URL:** <https://psychtoolbox.discourse.group/t/os-x-current-state-of-maketexture-issue/1403>\
**Category:** Uncategorized\
**Created:** [October 13, 2004, 1:47pm UTC](https://psychtoolbox.discourse.group/t/os-x-current-state-of-maketexture-issue/1403 "2004-10-13T13:47:51Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![michael\_tarr\_brown](https://avatars.discourse-cdn.com/v4/letter/m/2acd7d/32.png) [@michael\_tarr\_brown](https://psychtoolbox.discourse.group/u/michael_tarr_brown)\
**Post date:** [October 13, 2004, 1:47pm UTC](https://psychtoolbox.discourse.group/t/os-x-current-state-of-maketexture-issue/1403/1 "2004-10-13T13:47:51Z")

</div>

1. Apparently MakeTexture should use rectangular image matrices on  
newer graphics cards.  
  
2. On my PB G4 15" Aluminum Radeon Mobile 9600 this doesn't work. It  
theoretically should because the card has the appropriate OpenGL routine. But it  
crashes.  
  
3. Here is a link to a short m file and image that can be used to see  
if your card supports non-square textures:  
  
[http://www.tarrlab.org/CrashDemo.sit](http://www.tarrlab.org/CrashDemo.sit)  
  
contains: CrashDemo.m and image.jpg  
  
the first run through pads the image to square so it should display  
on every system - this verifies things are working. The padding is two horizontal black  
strips. the second time through if you see the image, your system works. Otherwise a   
crash.  
  
4. As side notes, apparently DrawTexture crashes if the type for the  
texture handle is not a   
double.  
  
5. I have a decent way to play movies using textures at this point, I  
can post that if people are interested. It involves pre-processing the avi files and creating  
.mat files that can be read in quickly at experiment run time.  
  
-m
