Giter Club home page Giter Club logo

Comments (5)

kana-mycin avatar kana-mycin commented on May 29, 2024 1

This was a while ago so I don't remember exactly, but I think I eventually figured out the reason for this issue. The problem was that I was trying to use a graphics API that wasn't the default OpenGL, because I wasn't running on a GPU. I think once I switched to a GPU cluster it worked fine.

Maybe check your panda3d configuration, or switch to a machine that supports OpenGL/has a GPU.

from mv3d.

tatarchm avatar tatarchm commented on May 29, 2024

I'm afraid I won't be able to assist with this. It works in my setup, which is Panda3D 1.9.1 + Python 2. Do you have the same configuration? I'm no expert on Panda3D, and cannot tell what possible problems it may run into.

from mv3d.

MalihaUCF avatar MalihaUCF commented on May 29, 2024

@tatarchm do you get rendered RGB images at this point?

cl1, dm1, cl2, dm2, lb = self.rend.render(100.0) in train() function.

or there is some more post processing,I have the same problem as @kana-mycin . I also get rendered segmentation mask and I am not sure how to get RGB images from there, please help .

from mv3d.

MalihaUCF avatar MalihaUCF commented on May 29, 2024

thank you @kana-mycin , I will try this and update

from mv3d.

MalihaUCF avatar MalihaUCF commented on May 29, 2024

Hi @kana-mycin , it doesnt work.I think the new panda library 1.9.4 doesnt use this function to generate colored images (textureToImage) or something, problem is probably here, since we get the uncolored image here only.

def renderView(self, camera_pos, light_sources,
blur, blending, spher=True, default_bg_setting=True):

    self.setCameraPosition(camera_pos[0],
                           math.radians(camera_pos[1]),
                           math.radians(camera_pos[2]))

    self.activateLightSources(light_sources, spher)

    base.graphicsEngine.renderFrame()
    tex = base.win.getScreenshot()
    im = self.textureToImage(tex)

from mv3d.

Related Issues (16)

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.