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

Odd colouring on HP525


Odd colouring on HP525

Postby LLcooL » Oct 10, 2001 @ 9:43am

My port to the hp525 is working in portrait mode (landscape not<br>done).<br><br>The problem I come up against is odd (yellow or white) pixel colouring <br>on walls and on the selected weapon. This to me looks like a lighting <br>effect which I would like to turn off. Maybe someone has seen this before, any pointers.<br>
LLcooL
 


Re: Odd colouring on HP525

Postby Moose or Chuck » Oct 10, 2001 @ 5:14pm

I'm betting it's because of the lower amount of colors on the 525, or some alpha value that it can't handle with soft lighting.
Moose or Chuck
 


Re: Odd colouring on HP525

Postby TBone » Oct 13, 2001 @ 12:40am

You are setting the windows display palette to match that of Quake, right? A failure to do this could possibly cause the error your reporting, as the palettes of the screen and Quake would be mismatched.
3V1L L337 H3150
User avatar
TBone
pm Member
 
Posts: 434
Joined: Jul 25, 2001 @ 10:12pm
Location: Fairfax, VA


Re: Odd colouring on HP525

Postby Dan East » Oct 13, 2001 @ 3:03pm

If he's using GAPI then the Windows' palette has no effect.<br><br>The only thing I can think of is that your code that converts Quake's RGB color values (in place of my RGB565 function) is overflowing, etc, with certain values.<br><br>Dan East
User avatar
Dan East
Site Admin
 
Posts: 5264
Joined: Jan 25, 2001 @ 5:19pm
Location: Virginia, USA


Re: Odd colouring on HP525

Postby LLcooL » Oct 15, 2001 @ 11:24am

Odd colouring solved. Made a mistake when setting <br>the pixel colour.<br><br>// Set the pixel colour:<br>    *cdst=(short)(vid_curpal[*csrc]<<8 );<br>    *cdst+=(short)(vid_curpal[*csrc]&0xff);<br><br>Was...<br><br>// Set the pixel colour:<br>    *cdst=(short)(vid_curpal[*csrc]<<8 );<br>    *cdst+=(short)(vid_curpal[*csrc+1]&0xff);<br><br>All I need to do to finish off is the landscape modes.<br><br>[Modified by Dan East to remove smilies from code]
LLcooL
 


Re: Odd colouring on HP525

Postby Matt Keys » Oct 15, 2001 @ 1:23pm

How nice of Dan:)
Matt Keys
Co-Founder
PocketMatrix.com
User avatar
Matt Keys
Site Co-Founder
 
Posts: 3243
Joined: Jan 24, 2001 @ 7:29pm
Location: Michigan, USA


Re: Odd colouring on HP525

Postby ViolentBlue » Oct 15, 2001 @ 5:56pm

any word when you'll have a release ready?<br>if you're still beta testing I volunteer
ViolentBlue
 


Return to Pocket Quake 1 and 2


Sort


Forum Description

Discuss Pocket Quake 1 and 2 by Dan East

Moderators:

Dan East, sponge, James S

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