Unverified Commit 2ca6bd74 by graptis Committed by Omar Zohdi

Fixed equi_to_cube.py cube params message

Fixed an issue in equi_to_cube.py where it displayed the generated Cubemap width and height as half the value that they actually were.
parent 2e167498
...@@ -162,7 +162,7 @@ if __name__ == "__main__": ...@@ -162,7 +162,7 @@ if __name__ == "__main__":
print "Time elapsed: ",(time.time() - start) print "Time elapsed: ",(time.time() - start)
print "Saved processed image as: " + filename print "Saved processed image as: " + filename
print '== PVRTexTool Wrap Raw Data settings ==' print '== PVRTexTool Wrap Raw Data settings =='
print '= Width x Height : %d x %d' % (imgIn.shape[0]/4 , imgIn.shape[0]/4) print '= Width x Height : %d x %d' % (imgIn.shape[0]/2 , imgIn.shape[0]/2)
print '= Variable type : "Signed Floating Point"' print '= Variable type : "Signed Floating Point"'
print '= Colour space : Linear RGB' print '= Colour space : Linear RGB'
print '= Faces : 6' print '= Faces : 6'
...@@ -171,4 +171,4 @@ if __name__ == "__main__": ...@@ -171,4 +171,4 @@ if __name__ == "__main__":
print '= Pixel format - Uncompressed' print '= Pixel format - Uncompressed'
print '= Pixel format - Channel names: R G B [blank]' print '= Pixel format - Channel names: R G B [blank]'
print '= Pixel format - Channel bits : %d %d %d [nothing]' % (16 if format == 'f2' else 32, 16 if format == 'f2' else 32, 16 if format == 'f2' else 32) print '= Pixel format - Channel bits : %d %d %d [nothing]' % (16 if format == 'f2' else 32, 16 if format == 'f2' else 32, 16 if format == 'f2' else 32)
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment