Experimental: temporary disable Y axis perspective correction
This commit is contained in:
		
							parent
							
								
									a18c90d7c3
								
							
						
					
					
						commit
						12fa6bf48b
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		|  | @ -553,7 +553,7 @@ def ConvertFlashRotation(rotY, rotZ, X, Y, FOV=math.tan(2*math.pi/9.0)): | |||
|         outZ = math.atan2(-math.cos(rotY)*math.sin(rotZ), math.cos(rotZ))*180/math.pi | ||||
|         outX = math.asin(math.sin(rotY)*math.sin(rotZ))*180/math.pi | ||||
|     if FOV is not None: | ||||
|         outX = CalcPerspectiveCorrection(outX, -Y, FOV*0.75) | ||||
|         #outX = CalcPerspectiveCorrection(outX, -Y, FOV*0.75) | ||||
|         outY = CalcPerspectiveCorrection(outY, X, FOV) | ||||
|     return (WrapAngle(round(outX)), WrapAngle(round(outY)), WrapAngle(round(outZ)), 0, round(-0.75*Y*math.sin(outY*math.pi/180.0), 3)) | ||||
| 
 | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Star Brilliant
						Star Brilliant