logo
Main

Forums

Downloads

Unreal-Netiquette

Donate for Oldunreal:
Donate

borderline

Links to our wiki:
Wiki

Walkthrough

Links

Tutorials

Unreal Reference

Usermaps

borderline

Contact us:
Submit News
Page Index Toggle Pages: 1 Send TopicPrint
Normal Topic Possible rendering issue in OpenGL, D3D9, D3D8? (Read 2948 times)
ebd had to change screen name
New Member
*
Offline


just another worthless
stain

Posts: 30
Joined: May 14th, 2013
Possible rendering issue in OpenGL, D3D9, D3D8?
Jul 19th, 2015 at 10:33pm
Print Post  
I've noticed an issue in 227j_12 or so. I'm not sure if someone else has noticed and reported it yet and if so then ignore this thread and/or call me names for not paying attention.

Static meshes where at least one surface is transparent seem to draw in the incorrect order. I've noticed this in D3D9, D3D8, and OpenGL but not Software or D3D7.



For your convenience I have a level that highlights the issue here:
ebd.unrealsp.org/wips/static_mesh_misadventure.zip

MD5 of OpenGLDrv.dll: a9 63 b9 ab 9e 7f 17 45 f5 15 80 c6 fa 05 c6 1e

MD5 of D3D9Drv.dll: 78 44 41 95 46 a9 c0 b1 61 71 c6 13 73 da 25 fc

MD5 of D3D8Drv.dll: 62 92 f5 da e9 c8 74 79 c9 0c fb 36 ab 05 a6 42

Below are the settings from my Unreal.ini for the above 3 renderers



Code
Select All
[OpenGLDrv.OpenGLRenderDevice]
Translucency=True
VolumetricLighting=True
ShinySurfaces=True
Coronas=True
HighDetailActors=True
DetailTextures=True
FullMeshRendering=True
ZRangeHack=True
NoAATiles=False
NumAASamples=4
UseAA=True
RequestHighResolutionZ=True
MaskedTextureHack=True
SmoothMaskedTextures=False
FrameRateLimit=60
SwapInterval=-1
UseFragmentProgram=True
UseCVA=False
UseMultiDrawArrays=False
TexDXT1ToDXT3=False
DynamicTexIdRecycleLevel=100
CacheStaticMaps=False
UseTexPool=True
UseTexIdPool=True
UseSSE2=True
UseSSE=True
BufferTileQuads=False
BufferClippedActorTris=True
SinglePassDetail=False
SinglePassFog=False
ColorizeDetailTextures=False
DetailClipping=False
UseDetailAlpha=True
DetailMax=1
RefreshRate=0
MaxTMUnits=0
NoFiltering=False
NoMaskedS3TC=False
MaxAnisotropy=16
UseTNT=False
Use16BitTextures=False
UseS3TC=True
UseAlphaPalette=False
AutoGenerateMipmaps=False
UseTrilinear=True
UsePrecache=False
AlwaysMipmap=False
ShareLists=False
UsePalette=False
UseMultiTexture=True
UseBGRATextures=True
UseZTrick=False
MaxLogTextureSize=8
MinLogTextureSize=0
OneXBlending=False
GammaCorrectScreenshots=True
GammaOffsetBlue=0.000000
GammaOffsetGreen=0.000000
GammaOffsetRed=0.000000
GammaOffset=0.000000
LODBias=0.000000
DescFlags=0
Description=
SceneNodeHack=True 



Code
Select All
[D3D9Drv.D3D9RenderDevice]
ZRangeHack=True
NoAATiles=False
NumAASamples=4
UseAA=True
RequestHighResolutionZ=True
UseSoftwareVertexProcessing=False
UsePureDevice=False
UseTripleBuffering=False
MaskedTextureHack=True
SmoothMaskedTextures=False
FrameRateLimit=60
SwapInterval=-1
UseFragmentProgram=True
TexDXT1ToDXT3=False
DynamicTexIdRecycleLevel=100
CacheStaticMaps=False
UseTexPool=True
UseTexIdPool=True
UseSSE2=True
UseSSE=True
BufferTileQuads=True
BufferClippedActorTris=True
SinglePassDetail=False
SinglePassFog=False
ColorizeDetailTextures=False
DetailClipping=False
UseDetailAlpha=True
DetailMax=2
RefreshRate=0
MaxTMUnits=0
NoFiltering=False
MaxAnisotropy=4
Use565Textures=False
Use16BitTextures=False
UseS3TC=True
UseAlphaPalette=False
UseTrilinear=True
UsePrecache=False
UsePalette=False
UseMultiTexture=True
MaxLogTextureSize=8
MinLogTextureSize=0
MaxLogVOverU=8
MaxLogUOverV=8
OneXBlending=False
GammaCorrectScreenshots=True
GammaOffsetBlue=0.000000
GammaOffsetGreen=0.000000
GammaOffsetRed=0.000000
GammaOffset=0.000000
LODBias=0.000000
DetailTextures=True
FullMeshRendering=True
DescFlags=0
Description=
HighDetailActors=True
Coronas=True
ShinySurfaces=True
VolumetricLighting=True
SceneNodeHack=True 



Code
Select All
[D3D8Drv.D3D8RenderDevice]
ZRangeHack=True
NoAATiles=False
NumAASamples=0
UseAA=True
RequestHighResolutionZ=True
UseSoftwareVertexProcessing=False
UsePureDevice=False
UseTripleBuffering=False
MaskedTextureHack=False
SmoothMaskedTextures=False
FrameRateLimit=60
SwapInterval=-1
UseVertexProgram=False
TexDXT1ToDXT3=False
DynamicTexIdRecycleLevel=100
CacheStaticMaps=True
UseTexPool=True
UseTexIdPool=True
UseSSE2=True
UseSSE=True
BufferTileQuads=True
BufferClippedActorTris=True
SinglePassDetail=False
SinglePassFog=True
ColorizeDetailTextures=False
DetailClipping=False
UseDetailAlpha=True
DetailMax=1
RefreshRate=0
MaxTMUnits=0
NoFiltering=False
MaxAnisotropy=0
Use565Textures=False
Use16BitTextures=False
UseS3TC=True
UseAlphaPalette=False
UseTrilinear=False
UsePrecache=False
UsePalette=False
UseMultiTexture=True
MaxLogTextureSize=8
MinLogTextureSize=0
MaxLogVOverU=8
MaxLogUOverV=8
OneXBlending=False
GammaCorrectScreenshots=True
GammaOffsetBlue=0.000000
GammaOffsetGreen=0.000000
GammaOffsetRed=0.000000
GammaOffset=0.000000
LODBias=0.000000
DetailTextures=False
FullMeshRendering=True
DescFlags=0
Description=
HighDetailActors=True
Coronas=True
ShinySurfaces=True
VolumetricLighting=True
SceneNodeHack=True 





I'll be watching the thread for when it is revealed that I am missing something or that the problem exists between my keyboard and chair
  
Back to top
 
IP Logged
 
Smirftsch
Forum Administrator
*****
Offline



Posts: 7935
Location: at home
Joined: Apr 30th, 1998
Gender: Male
Re: Possible rendering issue in OpenGL, D3D9, D3D8?
Reply #1 - Jul 20th, 2015 at 6:38am
Print Post  
hey ebd Wink
long time no see, you should contact me now and then for a later version although I believe that it wouldn't make a difference in this specific case Smiley

Will have a look, thanks for report.

Edited:
After checking it- very much looks like a z-sorting issue.
« Last Edit: Jul 20th, 2015 at 11:01am by Smirftsch »  

Sometimes you have to lose a fight to win the war.
Back to top
WWWICQ  
IP Logged
 
Smirftsch
Forum Administrator
*****
Offline



Posts: 7935
Location: at home
Joined: Apr 30th, 1998
Gender: Male
Re: Possible rendering issue in OpenGL, D3D9, D3D8?
Reply #2 - Jul 20th, 2015 at 11:52am
Print Post  
After some more checking...Smiley
You shouldn't put 2 brushes, especially with different attributes like PF_Masked, PF_Translucent etc. and position into 1 static mesh, it won't be able to sort it then correctly since its handled as one object. If you separate the bars from the vase f.e. you won't have such an issue.
  

Sometimes you have to lose a fight to win the war.
Back to top
WWWICQ  
IP Logged
 
ebd had to change screen name
New Member
*
Offline


just another worthless
stain

Posts: 30
Joined: May 14th, 2013
Re: Possible rendering issue in OpenGL, D3D9, D3D8?
Reply #3 - Jul 23rd, 2015 at 5:04am
Print Post  
For the past year or so I've been less involved with Unreal which is why you haven't heard from me, but I have been working on a single player project on and off.

The example map was contrived for sure, but it came up in the project I was working on while using stock Unreal meshes in ways in which they were not intended. I'll have to be sure to avoid using certain meshes in the future. Thanks for looking into this.
  
Back to top
 
IP Logged
 
Smirftsch
Forum Administrator
*****
Offline



Posts: 7935
Location: at home
Joined: Apr 30th, 1998
Gender: Male
Re: Possible rendering issue in OpenGL, D3D9, D3D8?
Reply #4 - Jul 23rd, 2015 at 5:53am
Print Post  
as said, if you want I'll PM you latest version. And you can use any mesh, but preferably "standalone" Wink
  

Sometimes you have to lose a fight to win the war.
Back to top
WWWICQ  
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint
Bookmarks: del.icio.us Digg Facebook Google Google+ Linked in reddit StumbleUpon Twitter Yahoo