This site is no longer active and is available for archival purposes only. Registration and login is disabled.

Pixel Shader Question


Pixel Shader Question

Postby fzammetti » Jan 3, 2003 @ 6:51pm

...and so I said to Mr. Gates: "$640 billion should be enough for anyone!"
User avatar
fzammetti
pm Insider
 
Posts: 1496
Joined: Jun 4, 2002 @ 6:21pm
Location: Omnytex Technologies


Postby Pam » Jan 3, 2003 @ 8:55pm

All the easy problems have been solved.
User avatar
Pam
pm Insider
 
Posts: 449
Joined: Jan 24, 2002 @ 10:30pm
Location: Ohio


Postby fzammetti » Jan 3, 2003 @ 9:18pm

...and so I said to Mr. Gates: "$640 billion should be enough for anyone!"
User avatar
fzammetti
pm Insider
 
Posts: 1496
Joined: Jun 4, 2002 @ 6:21pm
Location: Omnytex Technologies


Postby Pam » Jan 3, 2003 @ 9:36pm

All the easy problems have been solved.
User avatar
Pam
pm Insider
 
Posts: 449
Joined: Jan 24, 2002 @ 10:30pm
Location: Ohio


Postby fzammetti » Jan 3, 2003 @ 10:59pm

Well, it still didn't work with the shader, but your suggestion did put me on to something that worked...

When I was using SetBlending, I was NOT clearing the screen each time. If I do SetBlending to 255, clear the screen, then SetBlending to the fade value, then plot my image, it works as expected.

I can't say I quite understand why that is, but it is working, so I'll understand later :)

I'd still like to know what was wrong with my pixel shader though... It seems pretty straight-forward. By the way, I did try resetting to the default shader and then clearing the screen, then doing my custom blitting, but that didn't make any difference either.

Thanks again Pam! :)
...and so I said to Mr. Gates: "$640 billion should be enough for anyone!"
User avatar
fzammetti
pm Insider
 
Posts: 1496
Joined: Jun 4, 2002 @ 6:21pm
Location: Omnytex Technologies


Postby Pam » Jan 3, 2003 @ 11:22pm

All the easy problems have been solved.
User avatar
Pam
pm Insider
 
Posts: 449
Joined: Jan 24, 2002 @ 10:30pm
Location: Ohio


Postby fzammetti » Jan 3, 2003 @ 11:27pm

...and so I said to Mr. Gates: "$640 billion should be enough for anyone!"
User avatar
fzammetti
pm Insider
 
Posts: 1496
Joined: Jun 4, 2002 @ 6:21pm
Location: Omnytex Technologies


Postby Pam » Jan 3, 2003 @ 11:35pm

All the easy problems have been solved.
User avatar
Pam
pm Insider
 
Posts: 449
Joined: Jan 24, 2002 @ 10:30pm
Location: Ohio


Postby Pam » Jan 6, 2003 @ 3:40pm

All the easy problems have been solved.
User avatar
Pam
pm Insider
 
Posts: 449
Joined: Jan 24, 2002 @ 10:30pm
Location: Ohio


Postby fzammetti » Jan 8, 2003 @ 12:06am

...and so I said to Mr. Gates: "$640 billion should be enough for anyone!"
User avatar
fzammetti
pm Insider
 
Posts: 1496
Joined: Jun 4, 2002 @ 6:21pm
Location: Omnytex Technologies


Postby Pam » Jan 8, 2003 @ 12:22am

All the easy problems have been solved.
User avatar
Pam
pm Insider
 
Posts: 449
Joined: Jan 24, 2002 @ 10:30pm
Location: Ohio


Postby fzammetti » Jan 8, 2003 @ 1:16am

...and so I said to Mr. Gates: "$640 billion should be enough for anyone!"
User avatar
fzammetti
pm Insider
 
Posts: 1496
Joined: Jun 4, 2002 @ 6:21pm
Location: Omnytex Technologies


Postby Friggin Joe » Jan 15, 2003 @ 3:51am

Just outta curiosity, who won the wrestling match?

Thanks for the question and answers guys, I learned something myself.
Friggin Joe
pm Member
 
Posts: 9
Joined: Jan 13, 2003 @ 12:12pm
Location: Long Island


The winner is...

Postby fzammetti » Jan 15, 2003 @ 4:00am

I won. Well, technically Pam won, but I'm taking credit for it ;)

Seriously though, she did find the solution, posted above, it did work in the end.

I can also report that, after all the effort, I got better results by simply using the blending setting. I'm not sure why the shader didn't give as good a results (not even sure what was different, but you can tell watching it), and other parts of the project are more important, so I'll figure it out some other time.

I would however suggest that if anyone needs to do fade effects, blending is probably the easier and better way to do it (Pam can correct me if I'm wrong, but I think blending is just a function of the default shader anyway?).

The game I'm working on will be out in March, you can see where I used it then (it's pretty obvious and right at the start).
...and so I said to Mr. Gates: "$640 billion should be enough for anyone!"
User avatar
fzammetti
pm Insider
 
Posts: 1496
Joined: Jun 4, 2002 @ 6:21pm
Location: Omnytex Technologies


Postby HTK » Jan 15, 2003 @ 11:48am

fzammetti´s game is going to invade our pocket pcs pretty soon! :D

Some other game made by someone may infestate our pocket pcs soon too :P



Hail to the PocketFrog Spawns!!! 8)
User avatar
HTK
pm Member
 
Posts: 132
Joined: Dec 14, 2002 @ 5:40pm


Next

Return to PocketFrog & PocketHAL


Sort


Forum Description

SDKs for fast and robust device-independent access to Pocket PC display hardware.

Moderators:

sponge, Kzinti

Forum permissions

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

cron