Comment 2 for bug 311040

Revision history for this message
Treeform (starplant) wrote : Re: [Bug 311040] Re: base.saveCubeMap is broken more then in 1.5.4

import direct.directbase.DirectStart
base.saveCubeMap('maps/mask-#.png', size = 512)

-------------------------------------------------------------------------

DirectStart: Starting the game.
Known pipe types:
  wglGraphicsPipe
(all display modules loaded.)
:util(warning): Adjusting global clock's real time by 1.53595e-005 seconds.
:display:gsg:glgsg(error): EXT_framebuffer_object reports
non-framebuffer-completeness.
:display:gsg:glgsg(error): FRAMEBUFFER_INCOMPLETE_MISSING_ATTACHMENT_EXT
tex cube_map maps/mask-#.png
  cube map, 512 x 512 pixels, each 4 bytes, rgba
  min default, mag default, aniso 1, border 0 0 0 1
  no ram image

Assertion failed: do_has_ram_image() at line 2688 of
c:\p\panda3d\panda\src\gobj\texture.cxx
Traceback (most recent call last):
  File "C:\p\pstuff\cubemapmaker\zip\planetcooker.py", line 14, in <module>
    base.saveCubeMap('maps/mask-#.png', size = 512)
  File "C:\Panda3D-1.6.0\direct\src\showbase\ShowBase.py", line 2046,
in saveCubeMap
    source = tex)
  File "C:\Panda3D-1.6.0\direct\src\showbase\ShowBase.py", line 1983,
in screenshot
    saved = source.write(filename)
AssertionError: do_has_ram_image() at line 2688 of
c:\p\panda3d\panda\src\gobj\texture.cxx

On Thu, Feb 19, 2009 at 10:59 PM, pro-rsoft <email address hidden> wrote:
> Could you provide some sample code?
>
> --
> base.saveCubeMap is broken more then in 1.5.4
> https://bugs.launchpad.net/bugs/311040
> You received this bug notification because you are a direct subscriber
> of the bug.
>