Texturing Issue - Black Sections

Texturing Issue - Black Sections

Anonymous
Not applicable
1,978 Views
14 Replies
Message 1 of 15

Texturing Issue - Black Sections

Anonymous
Not applicable

Hi there,

 

I'm currently developing a basic game for a project I've got at college on which we will be using Stingray to build the game in.

 

I've created around 7 assets for one room, but I'm having issues with texturing with 2 objects. I unwrapped all of the UVs and sent the object into MudBox to texture. When I assigned the texture to the object in Maya I'm getting random black patches on certain parts of the object. I've checked the UVs and also even re-checked the texture in MudBox but everything seems to be fine. I have attached an image with what I mean.

 

 

Cheers'

George

 

 

0 Likes
1,979 Views
14 Replies
Replies (14)
Message 2 of 15

n8skow
Collaborator
Collaborator

Do the black areas show in actual renders or just in the viewport?

0 Likes
Message 3 of 15

Anonymous
Not applicable

Hi there,

 

The black areas show in renders and view port.

0 Likes
Message 4 of 15

n8skow
Collaborator
Collaborator

Hmmm, possibly some bad geometry in there?

How many vertices are those pieces showing they have?

 

Are you able to post the scene file?

0 Likes
Message 5 of 15

Anonymous
Not applicable

When I imported the mesh into MudBox, there was no errors displaying. I've checked the UV's just in case anything was overlapping but couldn't find anything at all.

 

Not able to attach .ma files, forums won't let me. 😞

0 Likes
Message 6 of 15

n8skow
Collaborator
Collaborator

You'll have to zip the .ma file first.

0 Likes
Message 7 of 15

Anonymous
Not applicable

Ah, thanks!

 

Should be attached now.

 

 

0 Likes
Message 8 of 15

n8skow
Collaborator
Collaborator

The uploaded scene file seems to be a bit different, but I was not able to see the issues you having in the viewport.

Are you getting any error messages in the script editor?

0 Likes
Message 9 of 15

Anonymous
Not applicable
onSetCurrentLayout "Maya Classic";
file -f -new;
preferredRenderer -makeCurrent;
// Warning: file: C:/Program Files/Autodesk/Maya2017/scripts/startup/rememberViewportSettings.mel line 29: Active stereo does not work with Aero enabled. Active stereo has been disabled. // 
// untitled // 
doOpenFile ("E:/Games Dev - Year 2/Michael/Sringray_LevelUp/Assets/LivingRoom/Chair_01.ma");
file -f -options "v=0;" -ignoreVersion -typ "mayaAscii" -o "E:/Games Dev - Year 2/Michael/Sringray_LevelUp/Assets/LivingRoom/Chair_01.ma";addRecentFile("E:/Games Dev - Year 2/Michael/Sringray_LevelUp/Assets/LivingRoom/Chair_01.ma", "mayaAscii");
closeAllNodeEditors;
closeHypershade;
// Warning: line 2007: The default image may not be modified. Use the -i/image flag instead. // 
// File read in 2.8 seconds.
commandPort -securityWarning -name commandportDefault;
// Error: line 1: Could not open command port commandportDefault because that name is in use. // 
// AbcBullet v1.0 using Alembic 1.5.8 (built Dec 24 2015 17:28:19)
# pymel.core : Updating pymel with pre-loaded plugins: dgProfiler, mayaHIK, invertShape, CloudImportExport, curveWarp, ATFPlugin, hairPhysicalShader, ikSpringSolver, deformerEvaluator, retargeterNodes, shaderFXPlugin, renderSetup, GPUBuiltInDeformer, lookdevKit, Type, AbcBullet, modelingToolkit
// cgfxShader 4.5 for Maya 2017.0 (Jun 15 2016)
// AbcExport v1.0 using Alembic 1.5.8 (built Dec 24 2015 17:28:19)
// AbcImport v1.0 using Alembic 1.5.8 (built Dec 24 2015 17:28:19)
updateRendererUI;
select -r pCube1 ;
TextureViewWindow;

This is what is displayed in the script editor. 

0 Likes
Message 10 of 15

n8skow
Collaborator
Collaborator

I'm not seeing any issues there...

Hmmm, what render engine does the issue appear in?

 

Also - what video card are you using?

0 Likes
Message 11 of 15

Anonymous
Not applicable

I'm using Stingray PBS, it only shows when I use Maya Hardware 2.0

 

My graphics card is Nvidia GeForce 950.

Strange thing is, it's only 2 models I'm having this issue with, all of the others have been completely fine.

0 Likes
Message 12 of 15

n8skow
Collaborator
Collaborator

Sorry I'm no help on this one...

Kind of looks like a z-sorting issue, does it show up once inside of your game environment or only in Maya?

0 Likes
Message 13 of 15

Anonymous
Not applicable

Just in Maya at the moment, haven't tried it in Stingray yet.

0 Likes
Message 14 of 15

alextar
Explorer
Explorer

Hey were you able to solve this issue at all?

 

I'm having the same problem

0 Likes
Message 15 of 15

cavescholar
Advocate
Advocate

Hello,

You probably already tried reversing the normal but if not: Select one of the black faces and try

MESH DISPLAY>REVERSE ( screencap included where to find).

reverseNormal.jpg

What happens when you switch to flat shading or flat lighting, does the problem go away? 

flatShading.jpg

 

If it does fix the display issue, then I think  it is just a display issue like an artifact. If it shows up correctly in game engine and in render, then again I think it is just a preview display artifact. The flat lighting and flat shading can be helpful, especially once you have advanced materials/lighting applied.

Good Luck!