Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

Newcomers DBPro Corner / White snow

Author
Message
Dabbler
17
Years of Service
User Offline
Joined: 3rd Mar 2007
Location: Minnesota
Posted: 13th Nov 2008 05:27
Can anyone tell me why these snow flakes are not white?




Whatever...
BlobVanDam
16
Years of Service
User Offline
Joined: 26th Jul 2008
Location: one of Cybertrons moons
Posted: 13th Nov 2008 06:27
They look white on my computer. What colour are they on your computer? Are they turning out blueish? Maybe it's to do with how your graphics card is doing the colour key? Try changing the key colour to something else (like maybe a dark grey?) to test.
I attached a screenshot of what I get

Attachments

Login to view attachments
pcRaider
17
Years of Service
User Offline
Joined: 30th May 2007
Location:
Posted: 13th Nov 2008 12:12
I look like pinkness.
In Windows-Xp.

Attachments

Login to view attachments
Dabbler
17
Years of Service
User Offline
Joined: 3rd Mar 2007
Location: Minnesota
Posted: 13th Nov 2008 12:17
They are pink on my system (see attached screenshot).


Whatever...

Attachments

Login to view attachments
BlobVanDam
16
Years of Service
User Offline
Joined: 26th Jul 2008
Location: one of Cybertrons moons
Posted: 13th Nov 2008 13:23
oh yeah, pink duh. That's what I meant. Try this-




Not sure if it works, since it worked anyway on my graphics card
Captain IceT
16
Years of Service
User Offline
Joined: 21st Oct 2008
Location: Boat Murdered, and Im still laughing!
Posted: 13th Nov 2008 21:05 Edited at: 13th Nov 2008 21:06
meh, could be worse. Snow always seem to be yellow around my house...


"Dwarf Fortress has taught me that all the world's problems would be substantially reduced had our parent civilizations never minted more than four stacks of coins."
- DwarfFortressWiki
Ed222
17
Years of Service
User Offline
Joined: 3rd Nov 2007
Location: Calgary
Posted: 13th Nov 2008 23:23 Edited at: 13th Nov 2008 23:24
Quote: "Snow always seem to be yellow around my house"

Better not eat the snow

Dabbler
17
Years of Service
User Offline
Joined: 3rd Mar 2007
Location: Minnesota
Posted: 14th Nov 2008 17:36
Thank you everyone for your help.

@Captain IceT and Ed222, were it not for your droll comments, I would despair.

@BlobVanDam, I tried your suggestion, but then I got grey lined snow flakes.

See the attached image for an idea of what I am after. The flakes in this image are generated by the line command rather than the using text. They are not really white but fog color. You can see that they are not visable against the distant hills.

I would prefer not to use any hackey tricks to get the flakes to appear white. The snow image seems to be corrupted while it is being drawn from the bitmap.

Anyone have any more ideas? (or snowjobs)


Whatever...

Attachments

Login to view attachments
BlobVanDam
16
Years of Service
User Offline
Joined: 26th Jul 2008
Location: one of Cybertrons moons
Posted: 14th Nov 2008 17:48 Edited at: 14th Nov 2008 17:49
Those snowflakes are just white. It's just that the fog happens to be white also. Why can't you just use a texture with alpha? Would be a lot easier than dealing with quirks of commands that don't seem to work right on all graphics cards.
Captain IceT
16
Years of Service
User Offline
Joined: 21st Oct 2008
Location: Boat Murdered, and Im still laughing!
Posted: 14th Nov 2008 19:35
I just looked at your code,

try changing


to:


I don't know if that is the problem, but when DBPRO makes plains it defaults to having them face away from the camera.

quote from the help file:
Quote: "
A reversed plain exhibits the issues of darker colouring and a 180 degree rotation on the Y axis.
"


"Dwarf Fortress has taught me that all the world's problems would be substantially reduced had our parent civilizations never minted more than four stacks of coins."
- DwarfFortressWiki
Dabbler
17
Years of Service
User Offline
Joined: 3rd Mar 2007
Location: Minnesota
Posted: 14th Nov 2008 19:49 Edited at: 14th Nov 2008 19:59
No, BlobVanDam, the flakes are just offwhite, the same color as the fog. If you zoom in on the last picture, you can see no flakes against the distant hills. There is a fog applied to the snow images. If I turn the fog off on the snow plains, I get the blended colorkey effect.

It looks like this method is not going to work. Too bad, I had high hopes for it, it is simple and easy.

I will try the texture with alpha idea, but since I want to go medialess with this, I will try to generate the image using memblocks.

Thanks again.

@Captain IceT, I just saw your post. I thought of that, and tried rotating the plane 180 degrees. Same thing. I just tried your box idea, it comes out the same. As I said before, I think the problem is caused in the get image command with a colorkey. Thanks for trying.


Whatever...

Login to post a reply

Server time is: 2024-11-24 17:05:45
Your offset time is: 2024-11-24 17:05:45