[MonoTouch] OpenTK display a PNG file... need help
Jonathan Pryor
jonpryor at vt.edu
Wed Oct 7 15:20:32 EDT 2009
On Sun, 2009-09-27 at 21:03 -0400, Duane Wandless wrote:
> I have tried for over a week to get OpenTK code to simply display the
> contents of a PNG file. Yes I've looked at the samples from
> MonoTouch, both GLPaint and OpenGLESSample. Here is an example post
> doing what I want in objective-c.
>
> http://web.me.com/smaurice/AppleCoder/iPhone_OpenGL/Entries/2009/4/1_OpenGL_ES_05_-_Texture_Mapping_Our_Square.html
>
> If anybody can provide a code sample that demonstrates this I would
> greatly appreciate it.
Sample attached. However, the sample is incomplete as it's missing the
checkerplate.png file which stores the texture (the attachment was too
large otherwise). So to actually build and run the sample, you'll need
to save the file into your GLTexture folder before building [0]:
unzip GLTexture.zip
cd GLTexture
curl -O http://web.me.com/.../checkerplate.png
- Jon
[0]
http://web.me.com/smaurice/AppleCoder/iPhone_OpenGL/Entries/2009/4/1_OpenGL_ES_05_-_Texture_Mapping_Our_Square_files/checkerplate.png
-------------- next part --------------
A non-text attachment was scrubbed...
Name: GLTexture.zip
Type: application/zip
Size: 6958 bytes
Desc: not available
Url : http://lists.ximian.com/pipermail/monotouch/attachments/20091007/f148a2fe/attachment.zip
More information about the MonoTouch
mailing list