Difference between revisions of "Harry Potter Effect"

From Custom Mario Kart
Jump to navigation Jump to search
Line 28: Line 28:
 
<br>
 
<br>
 
Thanks Baoulettes!<br>
 
Thanks Baoulettes!<br>
 +
 +
 +
== Anti Harry Potter effect ==
 +
 +
[[Image:AntiHarryPotterEffect.png|thumb|right|320px|Here you can see it.]]
 +
This is an even more crazy glitch we discovered.
 +
 +
 +
  
 
[[category:Bug]]
 
[[category:Bug]]

Revision as of 23:03, 5 February 2012

File:HarryPottereffect.png
Here you can see the "Harry Potter effect" in an old GCN SL preview.

The "Harry Potter effect" is a texturing glitch that appears only in newer custom tracks. That's because newer track models are created with the BRRES Editor, that currently has this glitch. This bug won't happen if you use only the SZS Modifier to create your custom tracks. It's named like that because of Harry Potter's invisibility cape - it's not invisible, but it covers what's behind it.

This glitch happens if the transparent polygons in the BRRES file appear before the normal ones. The previous polygon will always appear on top of the later one, even if it's transparent.

To fix it, you need to have the transparent polygons as the last ones of the BRRES file. To do this you have to set the transparent polygons to be the last ones in the OBJ file. In 3DS Max you can set the order of the polygons. Google Sketchup uses the texture names for the order, so you need to change the texture names so that they're the last ones.

This will, however, still happen if a transparent polygon is behind another. To fix this, you have to change the order of the polygons even more.

Example Video

Harry Potter Effect


Tutorial how to fix it

1) Open your course_model.brres with Brawlbox
2) Go into the Material Folder
3) Go to every transparent texture and make Alphatest false to true
4) save it
5) open it with the szs mod
6) extract the MDL0
7) write 0000 0000 to 0x28 and 0x40
8) import it into the course_model again with the szs mod
9) import the course_model into your szs
10) test it and be happy.

Thanks Baoulettes!


Anti Harry Potter effect

File:AntiHarryPotterEffect.png
Here you can see it.

This is an even more crazy glitch we discovered.