I was in the manual reading on reflection, and i tried to generate a cubemap in a scene following directions and using script from here:
I try to generate a cubemap, and in output it begins counting (as if generating the maps) but once it begins to write the textures to disk, it crashes:
DirectStart: Starting the game. Warning: DirectNotify: category 'Interval' already exists 0 Traceback (most recent call last): File "C:\Panda3D-1.6.0\samples\00MyStuff\cubemapgenerator.py", line 88, in <module> tex = makeWoodgrain(texSize = 256, texZSize = 8, noiseScale = 0.4, noiseZScale = 0.8, noiseAmp = 0.12, ringScale = 40) File "C:\Panda3D-1.6.0\samples\00MyStuff\cubemapgenerator.py", line 83, in makeWoodgrain tex.load(p, zi) TypeError: load() takes 2 or 4 arguments (3 given)
I tried to run it in 1.54 and 1.6, using python.exe, ppython.exe, pythonw.exe and all output the same. I am using Vista 32 home premium.
My line 83 and 84 are identical to the sample:
# Now load the current slice into the texture. tex.load(p, zi)
My whole script is identical to the sample. Is there another way to generate a cubemap series?