How can I remove flickering when objects overlap? [Solved]

In this forum you will find and post information regarding the modding of Star Wars Battlefront 2. DO NOT POST MOD IDEAS/REQUESTS.

Moderator: Moderators

Post Reply
BountyHunterV

How can I remove flickering when objects overlap? [Solved]

Post by BountyHunterV »

when you put two objects together (overlapping), there is a line where the two objects overlap, that squiggles and moves incessantly, which is extremely annoying if you're trying to make a hallway or something...

does anybody know how to get rid of it?
User avatar
squipple
1st Lieutenant
1st Lieutenant
Posts: 420
Joined: Tue Jun 28, 2005 7:38 pm
Projects :: No Mod project currently.
Games I'm Playing :: I have not listed any games yet
xbox live or psn: No gamertag set
Contact:

Post by squipple »

This is due to polygons overlapping. The two objects have polygons in the same 3d space. The engine tries to render two polygons in the same place and the result is flickering surfaces. I had a TON of this to fix in Eddie's Kastel.
To fix this, move one of your objects a fractional amount in a direction perpendicular to the surface. Moving it such a small amount never gets noticed in gameplay and fixes the flickering. You can do this in ZE, but it's tough to move it just a little bit. I found it's better to open the wld file in something like edit pad pro, and change the x,y,z coordinates of the object accordingly. I think you can also chenge the position numrically in ZE. Do a search for me zeroeditor undocumented topic. You only need to move the object 0.1 units from its current location to eliminate flickering.
BountyHunterV

Post by BountyHunterV »

squipple wrote:To fix this, move one of your objects a fractional amount in a direction perpendicular to the surface.
direction perpendicular? does that mean up/down, or left/right?

P.S. you made Eddie's Kastel?
Ace_Azzameen_5
Jedi
Jedi
Posts: 1119
Joined: Sat Apr 23, 2005 8:52 pm
Projects :: No Mod project currently.
Games I'm Playing :: I have not listed any games yet
xbox live or psn: No gamertag set

Post by Ace_Azzameen_5 »

For precision moving, select an object and press P. That brings up a box with three numbers that are the objects coordinates. (Same numbers you can find in the wld/lyr files) Change each on untill you find the direction that makes the objects not overlap. Undo the change, then change that number again in the say, tenth decimal place.
User avatar
squipple
1st Lieutenant
1st Lieutenant
Posts: 420
Joined: Tue Jun 28, 2005 7:38 pm
Projects :: No Mod project currently.
Games I'm Playing :: I have not listed any games yet
xbox live or psn: No gamertag set
Contact:

Post by squipple »

Yeah, P, that was it, thanks Ace. I beleve those numbers are in X,Y,Z order too.
Perpendicular to the surface, so if the surface is on the X/Y plane, move it on the Z.
Caleb1117
2008 Most Original Avatar
Posts: 3096
Joined: Sun Aug 20, 2006 5:55 pm
Projects :: No Mod project currently.
xbox live or psn: No gamertag set
Location: X-Fire: caleb1117 ಠ_ಠ

Post by Caleb1117 »

BountyHunterV wrote:
squipple wrote:To fix this, move one of your objects a fractional amount in a direction perpendicular to the surface.
direction perpendicular? does that mean up/down, or left/right?

P.S. you made Eddie's Kastel?
He made the SWBF2 converted version.
The one thats in the Squeddies pack.
Penguin
Jedi Admin
Jedi Admin
Posts: 2541
Joined: Sun Mar 05, 2006 12:00 am
Location: Australia

Post by Penguin »

often called Z-Fighting.
Qdin
Old School Staff
Posts: 2059
Joined: Wed Feb 23, 2005 9:54 am
Projects :: No Mod project currently.
Games I'm Playing :: I have not listed any games yet
xbox live or psn: No gamertag set

Post by Qdin »

why Z-fighting..? I mean, it might as well be X or Y :o depending from which direction it's pointing at?
Penguin
Jedi Admin
Jedi Admin
Posts: 2541
Joined: Sun Mar 05, 2006 12:00 am
Location: Australia

Post by Penguin »

Yeah, but we call it Z-Fighting :/ to complex to start calling it depending on what plane it's on :/
Qdin
Old School Staff
Posts: 2059
Joined: Wed Feb 23, 2005 9:54 am
Projects :: No Mod project currently.
Games I'm Playing :: I have not listed any games yet
xbox live or psn: No gamertag set

Post by Qdin »

lolz.. doesn't give any sence as it really is a dual-plane-fighting

What about.. Flickering fighting? :D

I'd personally just say visual layer fightings
User avatar
Maveritchell
Jedi Admin
Jedi Admin
Posts: 7366
Joined: Mon Aug 21, 2006 11:03 pm

Post by Maveritchell »

Ace_Azzameen_5 wrote:For precision moving, select an object and press P. That brings up a box with three numbers that are the objects coordinates. (Same numbers you can find in the wld/lyr files) Change each on untill you find the direction that makes the objects not overlap. Undo the change, then change that number again in the say, tenth decimal place.
Well, I feel like a doof. I've been looking (not very hard, obviously) for a long time trying to figure that one out.
Post Reply