1.7.1 release

MBP 2007, Mac OS X.5.8, GF 8600 M GT, Panda SDK 1.7.1

Cartoon Shader Basic, Fireflies -> “Toon Shader: Video driver does not support multiple render targets”
Cartoon Shader Advanced -> works
On my iMac the Firefly sample throws the same error currently, but lets say a year ago it worked.

Shadow Mapping Basic -> works, but low FPS
Shadow Mapping Advanced -> crashes:

:gobj(error): Could not read shader file: caster.sha
Traceback (most recent call last):
  File "/Developer/Examples/Panda3D/Shadows/Tut-Shadow-Mapping-Advanced.py", line 227, in <module>
    World()
  File "/Developer/Examples/Panda3D/Shadows/Tut-Shadow-Mapping-Advanced.py", line 145, in __init__
    lci.setShader(Shader.load('caster.sha'))
TypeError: NodePath.setShader() argument 1 must be Shader, not NoneType

Tomorrow I might have access to a Snow Leo notebook and could test things there. On the IRC channel Craig reported severe problems with the Fireflies sample on X.6.

i have a weird problem on Ubuntu 10.10 64bit. i have installed the .deb correct version. i cannot even manage to run the samples.

I am able to duplicate this on fresh install of Ubuntu 10.10 64 bit and on my old installation

pastebin.com/vGvNRrqB

i am pretty sure it has something to do with Ubuntu assuming panda is located in /var/mail, i suspected first that it only was my system messing up but this happens also on a fresh install of Ubuntu so i decided to ask if anyone knows anything about this?

You’re running it as a shell script, while it’s a python script. (I guess it’s missing a shebang.) Run it like this instead:

python Tut-Asteroids.py

Alright, installed 1.7.1 on a 2009 MBP with X.6.6.

Craig said I should test the following:

import direct.directbase.DirectStart

base.win.makeTextureBuffer('',1,1)

run()

It creates an empty window and throws the following every frame:

<Error>: kCGErrorIllegalArgument: CGSCopyRegion : Null pointer

Panda in general works but all scripts throw some variant of this error on the Terminal:

DirectStart: Starting the game.
Known pipe types:
  osxGraphicsPipe
(all display modules loaded.)
Sat Mar 19 12:40:41 noname ppython[555] <Error>: kCGErrorIllegalArgument: CGSCopyRegion : Null pointer
Sat Mar 19 12:40:41 noname ppython[555] <Error>: kCGErrorFailure: Set a breakpoint @ CGErrorBreakpoint() to catch errors as they are logged.
Sat Mar 19 12:40:56 noname ppython[555] <Error>: kCGErrorIllegalArgument: _CGSFindSharedWindow: WID 650
Sat Mar 19 12:40:56 noname ppython[555] <Error>: kCGErrorIllegalArgument: CGSRemoveSurface: Invalid window 0x28a

or in a different flavor:

DirectStart: Starting the game.
Known pipe types:
  osxGraphicsPipe
(all display modules loaded.)
Sat Mar 19 12:38:06 noname ppython[538] <Error>: kCGErrorIllegalArgument: CGSCopyRegion : Null pointer
Sat Mar 19 12:38:06 noname ppython[538] <Error>: kCGErrorFailure: Set a breakpoint @ CGErrorBreakpoint() to catch errors as they are logged.
Sat Mar 19 12:38:15 noname ppython[538] <Error>: kCGErrorIllegalArgument: _CGSFindSharedWindow: WID 590
Sat Mar 19 12:38:15 noname ppython[538] <Error>: kCGErrorIllegalArgument: CGSRemoveSurface: Invalid window 0x24e

Tut-Shadow-Mapping-Basic works, low FPS, throwing this error onto Terminal every frame:

<Error>: kCGErrorIllegalArgument: CGSCopyRegion : Null pointer

Shadow Mapping Advanced crashes with:

DirectStart: Starting the game.
Known pipe types:
  osxGraphicsPipe
(all display modules loaded.)
Sat Mar 19 12:46:00 noname ppython[574] <Error>: kCGErrorIllegalArgument: CGSCopyRegion : Null pointer
Sat Mar 19 12:46:00 noname ppython[574] <Error>: kCGErrorFailure: Set a breakpoint @ CGErrorBreakpoint() to catch errors as they are logged.
Sat Mar 19 12:46:00 noname ppython[574] <Error>: kCGErrorIllegalArgument: CGSCopyRegion : Null pointer
Sat Mar 19 12:46:00 noname ppython[574] <Error>: kCGErrorIllegalArgument: CGSCopyRegion : Null pointer
:gobj(error): Could not read shader file: caster.sha
Traceback (most recent call last):
  File "/Developer/Examples/Panda3D/Shadows/Tut-Shadow-Mapping-Advanced.py", line 227, in <module>
    World()
  File "/Developer/Examples/Panda3D/Shadows/Tut-Shadow-Mapping-Advanced.py", line 145, in __init__
    lci.setShader(Shader.load('caster.sha'))
TypeError: NodePath.setShader() argument 1 must be Shader, not NoneType
Sat Mar 19 12:46:01 noname ppython[574] <Error>: kCGErrorIllegalArgument: _CGSFindSharedWindow: WID 902
Sat Mar 19 12:46:01 noname ppython[574] <Error>: kCGErrorIllegalArgument: CGSRemoveSurface: Invalid window 0x386

Similarily Tut-Glow-Advanced runs at low FPS and throws an error every frame:

ppython[590] <Error>: kCGErrorIllegalArgument: CGSCopyRegion : Null pointer

Shadow no Shader looks garbled, nothing is moving, this error on Terminal:

ppython[587] <Error>: kCGErrorIllegalArgument: CGSCopyRegion : Null pointer
:display:gsg:glgsg(error): at 4011 of panda/src/glstuff/glGraphicsStateGuardian_src.cxx : invalid operation

Fireflies and Toon Shader Basic both give the error about lacking graphics card features mentioned above. Toon Shader Advanced runs fine.

pview file.bam

is not recognized anymore,

/Developer/Tools/Panda3D/pview file.bam

is however.

Oh yes beginners mistake thank you very much!

XP SP3, gforce5200go(mobile)
Panda SDK 1.7.1
random sample: Tut-Cartoon-Basic.py
Output:
"
Toon Shader: Video card not powerful enouth to do image postprocessing
"
(((
Panda SDK 1.7.0 - no problem

IMHO
Bad idea - to merge the documentation for the specific class with documentation of his ancestors (for example, "PGButton"and "PandaNode)

OK, I can revert that, then. It’s just that people seemed to have trouble with hiding the methods of the parent class.

For the record, I will continue posting about the Mesa crash in this thread:
[segfault with panda3d)