# MakeTexture

**URL:** <https://psychtoolbox.discourse.group/t/maketexture/1284>\
**Category:** Uncategorized\
**Created:** [October 27, 2006, 9:37pm UTC](https://psychtoolbox.discourse.group/t/maketexture/1284 "2006-10-27T21:37:53Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Allen\_Ingling](https://avatars.discourse-cdn.com/v4/letter/a/a183cd/32.png) [@Allen\_Ingling](https://psychtoolbox.discourse.group/u/Allen_Ingling)\
**Post date:** [October 27, 2006, 9:37pm UTC](https://psychtoolbox.discourse.group/t/maketexture/1284/1 "2006-10-27T21:37:53Z")

</div>

I am using a mac mini and I noticed that in the BubbleDemoOSX there is an error in the   
'MakeTexture' command. In order to make this comand work the image matrix that you are   
trying to make a texture must be a double. If you changed this in the BubbleDemoOSX it   
works fine, not to mention it is a very cute picture.  
Maya

---

<div class="post-metadata">

**Author:** ![mariokleiner](https://avatars.discourse-cdn.com/v4/letter/m/13edae/32.png) [@mariokleiner](https://psychtoolbox.discourse.group/u/mariokleiner)\
**Post date:** [October 28, 2006, 12:42am UTC](https://psychtoolbox.discourse.group/t/maketexture/1284/2 "2006-10-28T00:42:10Z")

</div>

I cannot reproduce this problem on Linux w. Matlab 6.1 or Octave,  
Windows with Matlab 7.x or MacOS-X PowerPC with Matlab 7.x.  
  
What exact type of machine and software do you run?  
  
Intel based Macintosh or PowerPC based one?  
Which Matlab version?  
  
Does it fail inside Screen('MakeTexture') and what is the exact error  
message?  
  
-mario  
  
  
--- In [psychtoolbox@yahoogroups.com](mailto:psychtoolbox@yahoogroups.com), "melkaelberer" \<melkaelberer@...\>  
wrote:  

> \>  
> \> I am using a mac mini and I noticed that in the BubbleDemoOSX there

is an error in the   

> \> 'MakeTexture' command. In order to make this comand work the image

matrix that you are   

> \> trying to make a texture must be a double. If you changed this in

the BubbleDemoOSX it   

> \> works fine, not to mention it is a very cute picture.  
> \> Maya  
> \>
