| Resources and Support | |
Topic: Glass? |
|
| Author | Message |
|
Acherhar
Commander
Joined: 13 September 2021 Location: United States Online Status: Offline Posts: 179 |
![]() Topic: Glass?Posted: 31 October 2007 at 6:46pm |
|
Hello, I'm pretty new to pixel art, and I was wondering how to make colors appear as if they are being seen through glass. I tried averaging the luminosity and hue values for the color of the glass and the color that was going to be seen through it, but kept the original saturation level of the glass color. This seemed to be giving me nice colors until I tried shades of brown, where it turned them green after I tweaked the values. Any help would be gretaly appreciated. And if it can be done, I would much rather receive a method that gives me a mathematical way of getting the color, instead of just "going by eye," because I have no idea what color I should try to get just from looking at the glass color and the other color.
|
|
IP Logged |
|
|
greenraven
Commander
Joined: 08 September 2016 Online Status: Offline Posts: 2598 |
![]() Posted: 31 October 2007 at 6:58pm |
|
If there is mathematical way of doing it, then I haven't found it.
![]() Trial and error is the only way to go with these sort of things. You could also post your picture that you're working on, maybe someone might be able to point something out. |
|
"pwnage comes with patience, practice and planning." ~ Jalonso
|
|
IP Logged |
|
|
Acherhar
Commander
Joined: 13 September 2021 Location: United States Online Status: Offline Posts: 179 |
![]() Posted: 31 October 2007 at 7:08pm |
|
Aw, I was hoping I wouldn't get that answer.
|
|
IP Logged |
|
|
Monkey 'o Doom
Commander
Joined: 24 September 2005 Online Status: Offline Posts: 2994 |
![]() Posted: 31 October 2007 at 7:21pm |
|
You could try averaging R, G, and B values instead of H, S, and L ones. They give different results and RGB averaging would probably be what you need here. Though weighted averaging for more transparent glass could also be useful.
|
|
IP Logged |
|
|
greenraven
Commander
Joined: 08 September 2016 Online Status: Offline Posts: 2598 |
![]() Posted: 31 October 2007 at 7:31pm |
|
Originally posted by Acherhar I'm not sure I want to post the picture yet, I like submitting completed work. I mean here on the forums. ![]() To be more precise in the Work In Progress section, or WIP for short. ![]() |
|
"pwnage comes with patience, practice and planning." ~ Jalonso
|
|
IP Logged |
|
|
Hatch
Admiral
Joined: 05 August 2015 Online Status: Offline Posts: 1387 |
![]() Posted: 01 November 2007 at 8:35am |
|
It's hard to say if this would work without seeing your piece, but you could try doing pale silhouettes of the objects behind the glass. Blue is a common color to use for this, but it depends on the color of your glass, color of the light, etc.
Whatever you do, please don't resort to 50/50 ditherglass. |
|
IP Logged |
|
|
Lawrence
Commander
Joined: 30 June 2005 Online Status: Offline Posts: 481 |
![]() Posted: 01 November 2007 at 10:31am |
|
For normal glass, usually there is no visible colouring. Instead try implementing specular reflections of the environment. Example.
Edited by Lawrence - 01 November 2007 at 10:33am |
|
IP Logged |
|
|
Hatch
Admiral
Joined: 05 August 2015 Online Status: Offline Posts: 1387 |
![]() Posted: 01 November 2007 at 10:47am |
|
Mm, I just meant if it's something simple or cartoony; stylized.
|
|
IP Logged |
|
|
Acherhar
Commander
Joined: 13 September 2021 Location: United States Online Status: Offline Posts: 179 |
![]() Posted: 01 November 2007 at 12:09pm |
|
Thanks for the help everyone. I think I'll try Monkey's method first, and if that doesn't work, I'll do Lawrence's method and go by eye. And for the ones wondering, the object behind the glass is a part of a city by the river, including a park, small beach, and some buildings.
EDIT: You can check the piece I'm working on here. Edited by Acherhar - 02 November 2007 at 7:50pm |
|
IP Logged |
|
|
||
Forum Jump |
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum |
|