Giter VIP home page Giter VIP logo

Comments (4)

lelouedec avatar lelouedec commented on May 31, 2024

Good morning,
I have started to add the color to the visualization, I added it to the PCD loader but trying to find how to make the visualization to display it. Any hint or idea so I can do it?
To load the color into the geometry object I did :

color.push(parseFloat(line[offset.r]));
 color.push(parseFloat(line[offset.g]));
 color.push(parseFloat(line[offset.b]));

from semantic-segmentation-editor.

dmandrioli avatar dmandrioli commented on May 31, 2024

Hello Justin,

You may want to look at the display() method here:
https://github.com/Hitachi-Automotive-And-Industry-Lab/semantic-segmentation-editor/blob/master/imports/editor/3d/SseEditor3d.jsx#L1882

It's a good example of how to fill the color array.

Best,
Damien

from semantic-segmentation-editor.

lelouedec avatar lelouedec commented on May 31, 2024

I indeed found this file and function and modified it to get the colors passed through the loader. However it seems that if the data is not annotated it is by default set to gray. I gave up for now on this lead.

from semantic-segmentation-editor.

dmandrioli avatar dmandrioli commented on May 31, 2024

Replaced by #51

from semantic-segmentation-editor.

Related Issues (20)

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.