Author Topic: Scenery problem  (Read 1438 times)

0 Members and 1 Guest are viewing this topic.

Offline chutem

  • Veteran
  • *****
  • Posts: 1119
Scenery problem
« on: October 04, 2007, 11:14:51 pm »
I am making a map that looks 3d and i need to put polys behind the player, so i screenshot the polys and make it a picture (PNG) and insert it as scenery behind the player but when i do i get white lines around the scenery and it looks ugly, i want it to look as close as possible to polys

Picture of problem

Help would be greatly appreciated
1NK3FbdNtH6jNH4dc1fzuvd4ruVdMQABvs

Offline Eagles_Arrows

  • Veteran
  • *****
  • Posts: 1889
  • The Thread Killer
    • My Webcomic
Re: Scenery problem
« Reply #1 on: October 05, 2007, 06:58:12 am »
Are you using Paint.NET to make the sceneries?

"Sometimes it's a good day to die, sometimes it's a good day to have breakfast." - Smoke Signals

Offline Kevin

  • Soldier
  • **
  • Posts: 203
Re: Scenery problem
« Reply #2 on: October 05, 2007, 11:41:53 am »
nice map!(that part of it).

Did you make everything around the scenery green?
The green, that soldat uses as transparent.
« Last Edit: October 19, 2007, 05:15:05 pm by Keron Cyst »

Offline chutem

  • Veteran
  • *****
  • Posts: 1119
Re: Scenery problem
« Reply #3 on: October 05, 2007, 06:40:43 pm »
Yes i am using Paint.NET to make my scenery by making the backround in polyworks all one colour, magic wand in paint.NET then deleting it to make it transparent. Is it something to do with Panit.NET that makes the ugly white line?

I have also noticed that when i zoom in all the way there is a thin white line completely unbroken, less than 1 pixel wide.

Thanks for your comment Kevin.
« Last Edit: October 05, 2007, 06:44:17 pm by chutem »
1NK3FbdNtH6jNH4dc1fzuvd4ruVdMQABvs

Offline Eagles_Arrows

  • Veteran
  • *****
  • Posts: 1889
  • The Thread Killer
    • My Webcomic
Re: Scenery problem
« Reply #4 on: October 05, 2007, 07:46:38 pm »
Yes, I've had the same problem with the white lines around the scenery.  It is most likely because of Paint.NET, it seems.

Use GIMP or try filling the background with one color in Paint.NET, go to MSPaint, and fill it with the default lime green color on the palette.

"Sometimes it's a good day to die, sometimes it's a good day to have breakfast." - Smoke Signals

Offline ~Niko~

  • Rainbow Warrior
  • *****
  • Posts: 2410
Re: Scenery problem
« Reply #5 on: October 06, 2007, 04:10:48 am »
Use Photoshop... or make the image a bit bigger resising it to 105% or so and if the edge of the image is white, it hides under the polygon...

Offline chutem

  • Veteran
  • *****
  • Posts: 1119
Re: Scenery problem
« Reply #6 on: October 06, 2007, 08:47:37 pm »
Thanks u guys, i never would have thought such  a great program would have caused that little bug.

Just out of curiosity, does anyone know what causes it?
1NK3FbdNtH6jNH4dc1fzuvd4ruVdMQABvs

Offline ~Niko~

  • Rainbow Warrior
  • *****
  • Posts: 2410
Re: Scenery problem
« Reply #7 on: October 07, 2007, 05:15:42 am »
Is that map multitextured?

Offline chutem

  • Veteran
  • *****
  • Posts: 1119
Re: Scenery problem
« Reply #8 on: October 08, 2007, 01:44:02 am »
No, why?
1NK3FbdNtH6jNH4dc1fzuvd4ruVdMQABvs

Offline ~Niko~

  • Rainbow Warrior
  • *****
  • Posts: 2410
Re: Scenery problem
« Reply #9 on: October 08, 2007, 08:23:12 am »
Because sometimes, if you stretch the texture, some bits of the other texture can merge with the other, per example, if you got a grass & rock texture, and the grass is up, some bits of rock texture can go high... i can't explain this very well... i don't know why you have this problem...

Offline Toxic Avenger

  • Major
  • *
  • Posts: 62
Re: Scenery problem
« Reply #10 on: October 19, 2007, 10:47:10 am »
Is it possible to have the scenery in front of the polygons but the player infront of the scenery(and the polys)?  (im usin polyworks)

Offline BombSki

  • Flagrunner
  • ****
  • Posts: 927
    • Climbing-soldiers.net
Re: Scenery problem
« Reply #11 on: October 19, 2007, 11:13:53 am »
players cant be in front of polys

Offline Toxic Avenger

  • Major
  • *
  • Posts: 62
Re: Scenery problem
« Reply #12 on: October 19, 2007, 11:59:07 am »
Nevermind, i just found out u can change the opasity of the polys. : ( )