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 01-14-2012, 06:33 AM   #1 (permalink)
Registered Member
 
Join Date: Jan 2012
Posts: 2
yossi1981 is on a distinguished road
Default problem with doing a very basic thing using opengl es

Hi,

I am a fresh newbie.

I am following this tutorial which is kind of introduction for guys that as no experience:

OpenGL ES 2.0 for iPhone Tutorial | Ray Wenderlich

After completing to code the first phase , I am suppose to see a blank screen with green background. The problem is that i see a black background.

I am not expecting you to read the tutorial , I only gave a link so you understand How I came up with my code.

Instead of just trying to describe what i have done , I give you a link to my project (archived):

Download Archive.zip from Sendspace.com - send big files the easy way

I would appreciate If you could help go over my code (not much code) and point out the problem.

My hw&SW spec:
mac mini Lion core i5.
IPAD 5.0 simulator
Xcode 4 , iOS sdk 5.0
2GB RAM

Thanks!
yossi1981 is offline   Reply With Quote
Old 01-14-2012, 09:36 AM   #2 (permalink)
Registered Member
 
Join Date: Jan 2012
Posts: 2
yossi1981 is on a distinguished road
Default ok i solved the problem

Quote:
Originally Posted by yossi1981 View Post
Hi,

I am a fresh newbie.

I am following this tutorial which is kind of introduction for guys that as no experience:

OpenGL ES 2.0 for iPhone Tutorial | Ray Wenderlich

After completing to code the first phase , I am suppose to see a blank screen with green background. The problem is that i see a black background.

I am not expecting you to read the tutorial , I only gave a link so you understand How I came up with my code.

Instead of just trying to describe what i have done , I give you a link to my project (archived):

Download Archive.zip from Sendspace.com - send big files the easy way

I would appreciate If you could help go over my code (not much code) and point out the problem.

My hw&SW spec:
mac mini Lion core i5.
IPAD 5.0 simulator
Xcode 4 , iOS sdk 5.0
2GB RAM

Thanks!
After some playing and trying to change order of stuff, I found out i was attaching a view to the window before the window was defined.

Thanks anyway
yossi1981 is offline   Reply With Quote
Reply

Bookmarks

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: 386
8 members and 378 guests
apatsufas, comicool, dansparrow, husthlj, LunarMoon, mer10, Murphy, pbart
Most users ever online was 1,387, 04-10-2012 at 04:21 AM.
» Stats
Members: 175,677
Threads: 94,127
Posts: 402,916
Top Poster: BrianSlick (7,990)
Welcome to our newest member, husthlj
Powered by vBadvanced CMPS v3.1.0

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