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

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

Draw This
($0.99)

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

Pic Frame Dynamo: Photo Editing
($0.99)

Want your application or service advertised on iPhone Dev SDK?

Go Back   iPhone Dev SDK Forum

View Single Post
Old 07-07-2009, 04:44 PM   #55 (permalink)
kingbombs
Registered Member
 
Join Date: Jun 2009
Location: currently AZ
Posts: 112
kingbombs is on a distinguished road
Send a message via MSN to kingbombs
Default

So what i said in that last post i think was kinda crappy heres it better i think:

I have a lightbulb: http://img9.imageshack.us/img9/7844/lightbulbh.png
Its transparent around its edges.

I create a quad in OpenGL and load it as a texture and bind it to the quad.

Currently it shows a black square with the picture in the middle (so where you can see white in that link, its black)
Its a 32x32 image, and in photoshop i created it with those dimensions and set its background to transparent.

i currently have this loadTexture method: (its different to the tutorials, i changed it today to see if it would work)
Objective C pastebin - collaborative debugging tool

I believe the problem is with the glBlendFunc
i know currently its set to be opaque but i get the same result when its not set, and i'm not certain what functions i should be using

I'm currently looking in to masking, so will reply back if that works
kingbombs is offline   Reply With Quote
 

» Advertisements
» Stats
Members: 174,543
Threads: 93,724
Posts: 401,260
Top Poster: BrianSlick (7,954)
Welcome to our newest member, jerrywenwu
Powered by vBadvanced CMPS v3.1.0

All times are GMT -5. The time now is 09:07 PM.
Powered by vBulletin® Version 3.8.0
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.