GithubHelp home page GithubHelp logo

panda3d_viewer's People

Contributors

ikalevatykh avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

panda3d_viewer's Issues

__getstate__ trouble

Windows 10
Python 3.10
Panda3d 1.10.11

Issues when the name argument of ViewerAppProxy.getattr is either getstate or setstate.
(I'm guessing deadlock is occurring. )

I solved it by throwing an exception for these names.

    def __getattr__(self, name):
        """Redirect method calls to the sub-process.

        Arguments:
            name {str} -- attribute name

        Returns:
            callable -- an application method wrapper
        """
        if name.startswith("__"):
            return self.__getattribute__(name)  # raise AttributeError

        def _send(*args, **kwargs):
            self._host_conn.send((name, args, kwargs))
            reply = self._host_conn.recv()
            if isinstance(reply, Exception):
                raise reply
            return reply

        return _send

Thanks for reading.

Rendering artefacts

Hi, your interface with panda3d for robotics applications is promising!

I'm giving it a try but unfortunately the rendering is not as great as I would expect. As you can see on attached screenshot, there is annoying small artefacts on the body the robot. I tried with other robots, and sometimes it is even worse. On the contrary, some other rendering libraries do not produce such artefacts for the same models. Do you have any idea what I'm doing wrong ?

test2

Viewer blocks on OSX Catalina

The RealSense example from the README page is blocking on:

ViewerAppProxy(mp.Process):25
reply = self._host_conn.recv()

It does not block if the Viewer is set to use an offline renderer.

macOS Catalina,
Python 3.7
Panda3d via pip (also happens via git install)

Some, but not all, other examples, block too, let me know if you would like me to expand on that.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.