Advertise Mobile SDKs Books Events Forum News Social Networking Support Us
Follow @iphonedevsdk on Twitter

Interface 2, Advanced iOS
Mockup & Code Gen
($9.99)

Make your own iPhone apps
and run them live!
(free)

Pic Frame Dynamo: Photo Editing
($0.99)

Abiliator
($1.99)

Want your application or service advertised on iPhone Dev SDK?

Go Back   iPhone Dev SDK Forum > iPhone SDK Development Forums > iPhone SDK Game Development

Reply
 
LinkBack Thread Tools Display Modes
Old 05-26-2009, 06:50 AM   #1 (permalink)
New Member
 
Join Date: May 2009
Posts: 2
deVillon is on a distinguished road
Default Problems with rendering triangles and textures

Hello

There is a set of wonderful tutorials at
iPhone OpenGL ES Tutorial Series ?

The problem is with tutorial 05. It works correct, but when instead of the "checkerplate.png" the file "romo.png" is loaded( after copying from tutorial 11) then the left blue triangle is not displayed. ( At least at the simulator)

Is anyone able to explain ?
deVillon is offline   Reply With Quote
Old 05-27-2009, 05:56 AM   #2 (permalink)
New Member
 
Join Date: May 2009
Posts: 2
deVillon is on a distinguished road
Default

This problem has been swiftly responded by Mr. Simon Maurice, the author of the tutorial. It turns out that that texture drawing code must be delimited by
glEnable( GL_TEXTURE_2D) and glDisable( GL_TEXTURE_2D)
deVillon is offline   Reply With Quote
Reply

Bookmarks

Tags
opengl

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



» Advertisements
» Online Users: 408
7 members and 401 guests
13dario13, ChrisYates, fredidf, iOS.Lover, Leslie80, Wikiboo, Yosh_K
Most users ever online was 1,387, 04-10-2012 at 04:21 AM.
» Stats
Members: 175,670
Threads: 94,121
Posts: 402,903
Top Poster: BrianSlick (7,990)
Welcome to our newest member, Yosh_K
Powered by vBadvanced CMPS v3.1.0

All times are GMT -5. The time now is 04:39 AM.
Powered by vBulletin® Version 3.8.0
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.3.0