For direct access use https://forums.oldunreal.com
It's been quite a while since oldunreal had an overhaul, but we are moving to another server which require some updates and changes. The biggest change is the migration of our old reliable YaBB forum to phpBB. This system expects you to login with your username and old password known from YaBB.
If you experience any problems there is also the usual "password forgotten" function. Don't forget to clear your browser cache!
If you have any further concerns feel free to contact me: Smirftsch@oldunreal.com
It's been quite a while since oldunreal had an overhaul, but we are moving to another server which require some updates and changes. The biggest change is the migration of our old reliable YaBB forum to phpBB. This system expects you to login with your username and old password known from YaBB.
If you experience any problems there is also the usual "password forgotten" function. Don't forget to clear your browser cache!
If you have any further concerns feel free to contact me: Smirftsch@oldunreal.com
outlines on textures in direct3d/opengl
-
Sinistral
- OldUnreal Member
- Posts: 17
- Joined: Fri Sep 11, 2009 10:22 pm
outlines on textures in direct3d/opengl
But not in sofware rendering.
In my map, i use 4 textures next to each other to make up a masked image of the earth for use in my skybox.
They look great in the editor when running software rendering mode, but in direct3d or open gl a black outline is shown. I've trtied overlapping the textures to get rid of this with no luck, also tried setting all the earth texture to unlit, then to "bright corners" and put in a light source. texture is also "masked" .
Here is a picture of this effect:
Any ideas?
[img]http://www.smstributes.co.uk/sinistral/temp/OPENGLVSSW.jpg[/img]
In my map, i use 4 textures next to each other to make up a masked image of the earth for use in my skybox.
They look great in the editor when running software rendering mode, but in direct3d or open gl a black outline is shown. I've trtied overlapping the textures to get rid of this with no luck, also tried setting all the earth texture to unlit, then to "bright corners" and put in a light source. texture is also "masked" .
Here is a picture of this effect:
Any ideas?
[img]http://www.smstributes.co.uk/sinistral/temp/OPENGLVSSW.jpg[/img]
-
[§Ŕ] ŤhěxĐâŕkśîđěŕ
- OldUnreal Member
- Posts: 4425
- Joined: Wed Sep 03, 2008 8:19 am
Re: outlines on textures in direct3d/opengl
I noticed that as well, thought it's just me though...
☆
-
スマイル・ドラゴン
- OldUnreal Member
- Posts: 1263
- Joined: Sun Feb 10, 2008 9:07 pm
Re: outlines on textures in direct3d/opengl
The bilinear\trilinear methods in Unreal are slightly broken and overexaggerated. When it comes to making "common" 5-Side skyboxes, as in a 5-sided cube with a panned texture. You'll get line artifacts on the edges due to how stupid Unreal filters textures.
There's not a real graceful way to handle this other than to set the surface to bNoSmooth or cut out the lines, add in more polys in their place and set them to bNoSmooth.
There's not a real graceful way to handle this other than to set the surface to bNoSmooth or cut out the lines, add in more polys in their place and set them to bNoSmooth.
I am the dragon without a name.
Ðàrk-_¦_-Ñïght.: / κυνικός Δράκων / スマイル・ドラゴン / Draco Nihil
Ðàrk-_¦_-Ñïght.: / κυνικός Δράκων / スマイル・ドラゴン / Draco Nihil
-
Pravin
Re: outlines on textures in direct3d/opengl
The problem is the bilinear filtering. The exact problem is that the filter is applied to a square region on the texture, averaging out several pixels to get one pixel color, but in the case of border pixels, it seems that Sweeney made it simply average over (black) and some other pixels, which creates the black dropoff effect. What he should have done was bilinear average over pixels wrapping around horizontally and vertically instead of letting it drop off, or at least for border pixels not do any filtering at all instead of just choosing black...
-
[§Ŕ] ŤhěxĐâŕkśîđěŕ
- OldUnreal Member
- Posts: 4425
- Joined: Wed Sep 03, 2008 8:19 am
Re: outlines on textures in direct3d/opengl
Yeah I understand now... Looks pretty easy to correct.
☆
-
creavion
- OldUnreal Member
- Posts: 365
- Joined: Mon Oct 12, 2009 9:07 am
Re: outlines on textures in direct3d/opengl
Interesting, I have those issues mostly with my own imported textures and always thought I made something wrong. (imported my textures always as bmp, instead of pcx).The bilinear\trilinear methods in Unreal are slightly broken and overexaggerated. When it comes to making "common" 5-Side skyboxes, as in a 5-sided cube with a panned texture. You'll get line artifacts on the edges due to how stupid Unreal filters textures.
There's not a real graceful way to handle this other than to set the surface to bNoSmooth or cut out the lines, add in more polys in their place and set them to bNoSmooth.
Well, nosmooth is very good for skyboxes.
UT99.org Community Mappack 2:
http://www.ut99.org/utr/infopage.html
http://www.ut99.org/utr/infopage.html
-
[§Ŕ] ŤhěxĐâŕkśîđěŕ
- OldUnreal Member
- Posts: 4425
- Joined: Wed Sep 03, 2008 8:19 am
Re: outlines on textures in direct3d/opengl
It doesn't matter as long as they are 8-bit or S3TC, and not some weird format.imported my textures always as bmp, instead of pcx
☆
-
.:..:
- OldUnreal Member
- Posts: 1637
- Joined: Tue Aug 16, 2005 4:35 am
Re: outlines on textures in direct3d/opengl
Simply pan the surfaces 1 pixel towards centre and problem solved (also slightly scale it up by a little to avoid earth corners to appear on the other side).
(ಠ_ಠ)1823223D2A33224B0 wrote:...and now im stuck trying to fix everything you broke for the next 227 release xD
-
DieHard SCWS
- Global Moderator
- Posts: 2064
- Joined: Sun Mar 16, 2003 11:33 pm
Re: outlines on textures in direct3d/opengl
It doesn't matter as long as they are 8-bit or S3TC, and not some weird format.
Actually it does matter alot, theres only oné 8 bit pallet that can be used out of maybe 50 versions. And anyone that has Photoshop or The GIMP is limited to BMP only, since neither program is capable to save them correctly as PCX or whatever other format you try.
As for the lines, Pcube covers the problem alright, though needs to be said, i have had it happen, but its rare. And most case it doesnt show because the oposite sides have similar coloring. Effectivelly it only occurs on textures that are not tilable, and have a noticable different color where they connect(in this case blue to black).
But in this case we are talking about the Earth textures, and Epic choose to create those misalinged by default for whatever reason ? ? ?. Which means if you simply, bluntly add them, they WILL give those lines by default. And the only reason to get rid of it, is to correct the misalignment by panning them.
But of course you cannot pan if its half a pixel off. To solve that is to make the surface 4 times bigger(which means double the sides) so you can pan the(now) 1 pixel. And to make this work you need to place the surface furter away so it still keeps being the same overall size.
.
.
.
DìèHárd»§ÇW§ http://www.celticwarriors.net and http://www.unrealtexture.com
-
HeadShot
- OldUnreal Member
- Posts: 228
- Joined: Wed Nov 21, 2007 4:30 pm
Re: outlines on textures in direct3d/opengl
I do like dots said, increase scale to something like 1.0001, and then pan each side by 1. ( I can see the black lines barely in UED. )
-
[§Ŕ] ŤhěxĐâŕkśîđěŕ
- OldUnreal Member
- Posts: 4425
- Joined: Wed Sep 03, 2008 8:19 am
Re: outlines on textures in direct3d/opengl
Oh well I just set palette mode in PS, save and it works.It doesn't matter as long as they are 8-bit or S3TC, and not some weird format.
Actually it does matter alot, theres only oné 8 bit pallet that can be used out of maybe 50 versions. And anyone that has Photoshop or The GIMP is limited to BMP only, since neither program is capable to save them correctly as PCX or whatever other format you try.
☆
-
Shivaxi
- OldUnreal Member
- Posts: 2232
- Joined: Wed Mar 08, 2006 4:43 pm
Re: outlines on textures in direct3d/opengl
i think i fixed this by setting bSmoothMaskedTextures to False or something....or maybe it was OneXBlending.....can't remember....but I know i fixed it with some setting in the renderer settings in advanced options.


