1.7.1 release

It took a long time, but it’s finally here. Enter the magical and mysterious world of Panda3D 1.7.1!

It’s been more than a year since the latest release. A lot has been happening behind the scenes. But I can promise that future releases will be delivered much faster.

The rrrelease notes!

  • Many improvements and bugfixes to pdeploy
  • Vectors now support swizzle/write masks (e.g vec.xz)
  • Fixes for depth buffer instabilities on Windows
  • Better webcam support on Linux using Video4Linux
  • Custom cursor support in X11
  • Static functions that return a list are now properly wrapped
  • ODE objects now have getId() exposed to Python
  • NodePath.findMaterial now works properly
  • Remove unnecessary dependency on GLU
  • Arithmetic operators to PNMImage
  • Various OpenGL ES-related bugfixes
  • Support for EGL and OpenGL ES in makepanda
  • Fix a crash with the Maya converters
  • Include missing p3d tools on Windows
  • Include tinyxml as part of the source
  • Updates to PandAI
  • Compile issues with latest OpenSSL fixed
  • Fix static-init ordering issues with OpenSSL
  • Several other bugfixes and features not listed here

Awesome! Let the party begin!

David

yeah … 8)

Great to see the new release :smiley:. A quick check shows everything works nicely. Thanks very much!

This is great news! Thanks to all involved with Panda development. Congrats on this release - it’s been a long time coming.

After installing 1.7.1 on my Win7 machine, I noticed the path environment variable now has only 2 entries on it; Panda3d-1.7.1\python and \bin.

The occurred when i installed as make this the default python.

I removed 1.7.0 and installed 1.7.1 on my Ubuntu Maverick box.

Trying Roaming-Ralph I get the following:

DirectStart: Starting the game.
Traceback (most recent call last):
  File "Tut-Roaming-Ralph.py", line 11, in <module>
    import direct.directbase.DirectStart
  File "/usr/share/panda3d/direct/directbase/DirectStart.py", line 3, in <module>
    from direct.showbase import ShowBase
  File "/usr/share/panda3d/direct/showbase/ShowBase.py", line 10, in <module>
    from pandac.PandaModules import *
  File "/usr/share/panda3d/pandac/PandaModules.py", line 8, in <module>
    from libpandaModules import *
  File "/usr/share/panda3d/pandac/libpandaModules.py", line 2, in <module>
    Dtool_PreloadDLL("libpanda")
  File "/usr/share/panda3d/pandac/extension_native_helpers.py", line 79, in Dtool_PreloadDLL
    imp.load_dynamic(module, pathname)
ImportError: libCg.so: cannot open shared object file: No such file or directory

I removed 1.7.0 and installed 1.7.1 on my Ubuntu Maverick box.

Trying Roaming-Ralph I get the following:

DirectStart: Starting the game.
Traceback (most recent call last):
  File "Tut-Roaming-Ralph.py", line 11, in <module>
    import direct.directbase.DirectStart
  File "/usr/share/panda3d/direct/directbase/DirectStart.py", line 3, in <module>
    from direct.showbase import ShowBase
  File "/usr/share/panda3d/direct/showbase/ShowBase.py", line 10, in <module>
    from pandac.PandaModules import *
  File "/usr/share/panda3d/pandac/PandaModules.py", line 8, in <module>
    from libpandaModules import *
  File "/usr/share/panda3d/pandac/libpandaModules.py", line 2, in <module>
    Dtool_PreloadDLL("libpanda")
  File "/usr/share/panda3d/pandac/extension_native_helpers.py", line 79, in Dtool_PreloadDLL
    imp.load_dynamic(module, pathname)
ImportError: libCg.so: cannot open shared object file: No such file or directory

@upperbound: installed cg?

hooray on the new release!

I will now. :blush:

1.7.0 did not have any problem without it though. Is this a new requirement?

Great, can we finally make standalone executables with pdeploy now?

Btw, the text on the main page hasnt been updated

and is it still considered unstable?

I see some executables in the "bin: folder such as cgD3D10.dll and cgD3D11.dll, but panda doesnt support these, also cgfxcat.exe. Are they needed?

As for the Cg dependency missing - please install nvidia-cg-toolkit. The missing dependency was a mistake on my end.

I advise against making “standalone” executables anyway (rather use “installer” with the -s option), but sure, if you really want to.

I guess it depends on the tastes of the end user. In my experience many people hate when a program downloads something from the internet at all. Or even makes changes to the registry (for Windows users), it doesn’t, right?

Congratulations!!!

If you don’t want it to download anything from the internet, then use the “installer” mode with the -s option. That’s the only option that makes your application independent from the internet.

It doesn’t make any changes to the registry.

Not for “standalone executable” mode?

EDIT:
pdeploy is buggy and will only work if you give it these parameters only in this order:

-N "name" -v 1.0.0 name.p3d installer

If you change the order, the -h Help will be printed on the console and nothing else. This also means -s mode doesnt work…

Huh? So it doesn’t work if you do this:

pdeploy -s -N "name" -v 1.0.0 name.p3d installer

I’ve tested pdeploy many times myself, and never ran into this problem.

hm, i hadnt tried putting -s in the before everything else. Im trying it now and it seems to work.

EDIT: It worked, but the installed folder was the same size as me using py2exe and manually placeing the needed dlls to the folder. Of course it is alot less work.

Anyway, dont want to continue hijacking this thread.

I installed latest nvidia-cg-toolkit V.3.0. Now I have segfault :frowning:

Is the CG dependency fixed in the DEB package?

Hmm… try installing nvidia-cg-toolkit from the repository instead.