So... are we giving up on transparency altogether, and I wasted like, five minutes (haha) finding some resources, or are you going to make another image, post it, and give it another try?ibly31 wrote:I think I have overwritten the "ball.png" file. All the PNGs that haven't worked have been made with Macromedia(Adobe?) Fireworks.
iPhone Developer Program is waaaay too many headaches.
Moderator: Coders of Rage
- MarauderIIC
- Respected Programmer
- Posts: 3406
- Joined: Sat Jul 10, 2004 3:05 pm
- Location: Maryland, USA
Re: iPhone Developer Program is waaaay too many headaches.
I realized the moment I fell into the fissure that the book would not be destroyed as I had planned.
- ibly31
- Chaos Rift Junior
- Posts: 312
- Joined: Thu Feb 19, 2009 8:47 pm
- Current Project: Like... seven different ones
- Favorite Gaming Platforms: Xbox 360, Gamecube
- Programming Language of Choice: C++, ObjC
- Location: New Jersey.
Re: iPhone Developer Program is waaaay too many headaches.
How exactly do you post images? And I could see if I have any other copies of images that havent worked, gimme a sec.
Website/Tumblr
My Projects
The best thing about UDP jokes is that I don’t care if you get them or not.
- hurstshifter
- ES Beta Backer
- Posts: 713
- Joined: Mon Jun 08, 2009 8:33 pm
- Favorite Gaming Platforms: SNES
- Programming Language of Choice: C/++
- Location: Boston, MA
- Contact:
Re: iPhone Developer Program is waaaay too many headaches.
ibly31 wrote:How exactly do you post images? And I could see if I have any other copies of images that havent worked, gimme a sec.
If you can't post an image on a message board, how exactly do you plan on programming a game in C/++ and OpenGL???
J/K. I had to say it. Use the [img]...[/img] tags around the URL to the image. Something like photobucket.com should do the trick for hosting it.
"Time is an illusion. Lunchtime, doubly so."
http://www.thenerdnight.com
http://www.thenerdnight.com
- Falco Girgis
- Elysian Shadows Team
- Posts: 10294
- Joined: Thu May 20, 2004 2:04 pm
- Current Project: Elysian Shadows
- Favorite Gaming Platforms: Dreamcast, SNES, NES
- Programming Language of Choice: C/++
- Location: Studio Vorbis, AL
- Contact:
Re: iPhone Developer Program is waaaay too many headaches.
. . .ibly31 wrote:How exactly do you post images? And I could see if I have any other copies of images that havent worked, gimme a sec.
- hurstshifter
- ES Beta Backer
- Posts: 713
- Joined: Mon Jun 08, 2009 8:33 pm
- Favorite Gaming Platforms: SNES
- Programming Language of Choice: C/++
- Location: Boston, MA
- Contact:
Re: iPhone Developer Program is waaaay too many headaches.
This thread is slowly inching its way towards "Posts you shouldn't make"GyroVorbis wrote:. . .ibly31 wrote:How exactly do you post images? And I could see if I have any other copies of images that havent worked, gimme a sec.
"Time is an illusion. Lunchtime, doubly so."
http://www.thenerdnight.com
http://www.thenerdnight.com
Re: iPhone Developer Program is waaaay too many headaches.
Hahahahahahahahahahaha!Mar wrote:Flamin' Falco, we'll call him,--
Two things:
1) The above statement either sounds likes Falco likes men (whatever floats your boat )
2) Or it sounds like Falco has a bad case of the Ghonorria or Chlamydia. Mar you have to stop spilling Falc's business like that
- RyanPridgeon
- Chaos Rift Maniac
- Posts: 447
- Joined: Sun Sep 21, 2008 1:34 pm
- Current Project: "Triangle"
- Favorite Gaming Platforms: PC
- Programming Language of Choice: C/C++
- Location: UK
- Contact:
Re: iPhone Developer Program is waaaay too many headaches.
Have you considered that OpenGL still writes to the depth buffer even if the pixel is alpha'd out? This means that if you draw a alpha textured quad near to the screen first, then another that is further away AFTERWARDS, the occluded parts of the latter quad wont be drawn underneath the alpha'd quad.
This means you have to do some z-sorting so that the quads with alpha are drawn from back to front. (Its also a good idea to draw all solid quads from front to back, but that wont affect your problem)
Or if you're working in 2d, just disable the depth buffer.
This means you have to do some z-sorting so that the quads with alpha are drawn from back to front. (Its also a good idea to draw all solid quads from front to back, but that wont affect your problem)
Or if you're working in 2d, just disable the depth buffer.
- ibly31
- Chaos Rift Junior
- Posts: 312
- Joined: Thu Feb 19, 2009 8:47 pm
- Current Project: Like... seven different ones
- Favorite Gaming Platforms: Xbox 360, Gamecube
- Programming Language of Choice: C++, ObjC
- Location: New Jersey.
Re: iPhone Developer Program is waaaay too many headaches.
I've seen the IMG tag, but the last time I tried to use it, it didn't work right. I put the direct path to my image in the space between [img]and[/img].
Obviously I never really tried to hard, but it was just a simple question, something I thought I'd ask just to save time... (other forums you would have to post the image to the site itself, and others you would have to upload it and then post the image to the site itself.).
And why would it be "Posts you shouldn't make"? It's not like I'm trolling or anyones getting angry...?
Obviously I never really tried to hard, but it was just a simple question, something I thought I'd ask just to save time... (other forums you would have to post the image to the site itself, and others you would have to upload it and then post the image to the site itself.).
And why would it be "Posts you shouldn't make"? It's not like I'm trolling or anyones getting angry...?
Website/Tumblr
My Projects
The best thing about UDP jokes is that I don’t care if you get them or not.
- Netwatcher
- Chaos Rift Junior
- Posts: 378
- Joined: Sun Jun 07, 2009 2:49 am
- Current Project: The Awesome Game (Actual title)
- Favorite Gaming Platforms: Cabbage, Ground beef
- Programming Language of Choice: C++
- Location: Rehovot, Israel
Re: iPhone Developer Program is waaaay too many headaches.
just upload your pic to something like http://www.tinypic.com and use the [IMG] tags in your post containing the full url(it should end with a .png/.jpg).ibly31 wrote:I've seen the IMG tag, but the last time I tried to use it, it didn't work right. I put the direct path to my image in the space between [img]and[/img].
Obviously I never really tried to hard, but it was just a simple question, something I thought I'd ask just to save time... (other forums you would have to post the image to the site itself, and others you would have to upload it and then post the image to the site itself.).
And why would it be "Posts you shouldn't make"? It's not like I'm trolling or anyones getting angry...?
"Programmers are the Gods of their tiny worlds. They create something out of nothing. In their command-line universe, they say when it’s sunny and when it rains. And the tiny universe complies."
-Derek Powazek, http://powazek.com/posts/1655
blip.fm DJ profile - http://blip.fm/Noobay
current code project http://sourceforge.net/projects/vulcanengine/
-Derek Powazek, http://powazek.com/posts/1655
blip.fm DJ profile - http://blip.fm/Noobay
current code project http://sourceforge.net/projects/vulcanengine/
- ibly31
- Chaos Rift Junior
- Posts: 312
- Joined: Thu Feb 19, 2009 8:47 pm
- Current Project: Like... seven different ones
- Favorite Gaming Platforms: Xbox 360, Gamecube
- Programming Language of Choice: C++, ObjC
- Location: New Jersey.
Re: iPhone Developer Program is waaaay too many headaches.
Sorry it took so long, I just got back from a trip with my friends.
16*16 ball with transparency and some parts have semi-transparency(the anti-aliasing on the edges).
16*16 ball with transparency and some parts have semi-transparency(the anti-aliasing on the edges).
Website/Tumblr
My Projects
The best thing about UDP jokes is that I don’t care if you get them or not.
Re: iPhone Developer Program is waaaay too many headaches.
ibly31, as someone else eluded to, have you tried putting glDisable(GL_DEPTH_TEST); in your initialization code?
(edit: "alluded"? "eluded"?)
Also, you undoubtedly passed this hurdle already, but make sure to save your PNG as 32-bit and not 24-bit.
(edit: "alluded"? "eluded"?)
Also, you undoubtedly passed this hurdle already, but make sure to save your PNG as 32-bit and not 24-bit.
Last edited by vargonian on Sun Jan 24, 2010 12:44 am, edited 1 time in total.
- short
- ES Beta Backer
- Posts: 548
- Joined: Thu Apr 30, 2009 2:22 am
- Current Project: c++, c
- Favorite Gaming Platforms: SNES, PS2, SNES, SNES, PC NES
- Programming Language of Choice: c, c++
- Location: Oregon, US
Re: iPhone Developer Program is waaaay too many headaches.
why the refusal to post ANY source code?
That's a dangerous thought, I should clarify.
why the refusal to post any source code that's relevant, like perhaps your image loading function?
That's a dangerous thought, I should clarify.
why the refusal to post any source code that's relevant, like perhaps your image loading function?
My github repository contains the project I am currently working on,
link: https://github.com/bjadamson
link: https://github.com/bjadamson
- LeonBlade
- Chaos Rift Demigod
- Posts: 1314
- Joined: Thu Jan 22, 2009 12:22 am
- Current Project: Trying to make my first engine in C++ using OGL
- Favorite Gaming Platforms: PS3
- Programming Language of Choice: C++
- Location: Blossvale, NY
Re: iPhone Developer Program is waaaay too many headaches.
I haven't used OpenGL really at all, only SDL and for me I use something like this:ibly31 wrote:Sorry it took so long, I just got back from a trip with my friends.
16*16 ball with transparency and some parts have semi-transparency(the anti-aliasing on the edges).
Code: Select all
Uint32 colorKey = SDL_MapRGB(image->format, 0xFF, 0x00, 0xFF);
SDL_SetColorKey(image, SDL_SRCCOLORKEY, colorKey);
If transparency isn't working in OpenGL then maybe that is an alternative for now?
Also, maybe this will help you?
I'm not sure what your exact problem is sorry... http://stackoverflow.com/questions/1079 ... weird-arti
Also, not to be a dick... but please don't tell me you did something like:ibly31 wrote:I've seen the IMG tag, but the last time I tried to use it, it didn't work right. I put the direct path to my image in the space between .
Code: Select all
[img]file://C:\Users\ibly31\Pictures\ball.png[/img]
There's no place like ~/
Re: iPhone Developer Program is waaaay too many headaches.
Hm. I wasn't aware we had any Objective-C coders on this forum. Maybe that's why no code? Haha.
<qpHalcy0n> decided to paint the office, now i'm high and my hands hurt