Facebook Twitter YouTube Frictional Games | Forum | Privacy Policy | Dev Blog | Dev Wiki | Support | Gametee


Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
GIMP Cubemap Problem...
TheGreatCthulhu Offline
Member

Posts: 213
Threads: 10
Joined: Oct 2010
Reputation: 32
#4
RE: GIMP Cubemap Problem...

Hm... YC, I dont know much about Python, and I don't know how implicit type conversions work in the language, but, any chance this could be solved by simple type-casting in get_width_height()?

Or is this potentially gonna cause other errors?

Edit. Aah I think I see - this is probably where the types get's promoted to float:
if "H-strip" in layout:
        pot = math.pow(2, power);    # return value of pow() is float
        height = pot;
        width = 6 * pot;      # promoted to float
(This post was last modified: 12-07-2012, 06:24 AM by TheGreatCthulhu.)
12-07-2012, 06:18 AM
Find


Messages In This Thread
GIMP Cubemap Problem... - by Statyk - 12-07-2012, 04:35 AM
RE: GIMP Cubemap Problem... - by Your Computer - 12-07-2012, 05:05 AM
RE: GIMP Cubemap Problem... - by Statyk - 12-07-2012, 05:49 AM
RE: GIMP Cubemap Problem... - by TheGreatCthulhu - 12-07-2012, 06:18 AM
RE: GIMP Cubemap Problem... - by Your Computer - 12-07-2012, 10:07 AM
RE: GIMP Cubemap Problem... - by Acies - 12-07-2012, 02:27 PM
RE: GIMP Cubemap Problem... - by Statyk - 12-07-2012, 08:21 PM
RE: GIMP Cubemap Problem... - by Acies - 12-07-2012, 08:25 PM
RE: GIMP Cubemap Problem... - by TheGreatCthulhu - 12-07-2012, 09:34 PM
RE: GIMP Cubemap Problem... - by Statyk - 12-07-2012, 10:12 PM



Users browsing this thread: 1 Guest(s)