OBD talk:BINA/PAR3: Difference between revisions

m
deconfusing decal spawn tolerance (angle) and warping on edge
m (<DecalWrapAngle> = tolerance)
m (deconfusing decal spawn tolerance (angle) and warping on edge)
Line 488: Line 488:
|-
|-
|valign=top|<DecalWrapAngle>
|valign=top|<DecalWrapAngle>
|Decal becomes spawned if it has the right angle. (See [[#decal facing|decal facing]].) <DecalWrapAngle> give tolerance to this.
|Decal isn't cut off when the next plane piece has an angle difference equal or less to this value.
|float (degrees?)
|float (degrees)
|}
|}


Line 1,268: Line 1,268:


===decal facing===
===decal facing===
: Place yourself towards the point where you want to have the decal, face it. It's important that your body stands accurate, not your head. Then type "chr_debug_characters = 1" into the developer console and you will know the facing. Write it down, compare with the right table and chose your xyz rotation.
: '''PS:''' In matter of spawning/displaing, the exact rotation is not needed. Oni has a 66 degree tolerance.
: '''PPS:''' <DecalWrapAngle> (in BINA3RAP file) is usually set to 60. For hard edges you might want to increase the value.
{| border=0 cellspacing=20 cellpadding=0 align=right
{| border=0 cellspacing=20 cellpadding=0 align=right
|
|
[http://i305.photobucket.com/albums/nn207/unknownfuture/Oni_Galore_Images/XML_modding/decal_surface_tolerance.jpg http://i305.photobucket.com/albums/nn207/unknownfuture/Oni_Galore_Images/XML_modding/decal_surface_tolerance_TN.jpg]
[http://i305.photobucket.com/albums/nn207/unknownfuture/Oni_Galore_Images/XML_modding/DecalWrapAngle.jpg http://i305.photobucket.com/albums/nn207/unknownfuture/Oni_Galore_Images/XML_modding/DecalWrapAngle_TN.jpg]


Decal within given tolerance.
Test for a "hard edge".
|}
|}
: Place yourself towards the point where you want to have the decal, face it. It's important that your body stands accurate, not your head. Then type "chr_debug_characters = 1" into the developer console and you will know the facing. Write it down, compare with the right table and chose your xyz rotation.
: PS: If you don't know the exact values, tolerance can be set in BINA3RAP file: <DecalWrapAngle>
'''wall decals'''
'''wall decals'''
                       x    y    z
                       x    y    z
8,131

edits