Git Product home page Git Product logo

Comments (11)

keijiro avatar keijiro commented on June 1, 2024

I have never seen a point cloud that has normals. How did you create it?

from pcx.

shayazar avatar shayazar commented on June 1, 2024

Meshlab produced it for me, and i don't want to ignore / disregard them.
I saw some mentions on Unity forums and such about it as well.

from pcx.

keijiro avatar keijiro commented on June 1, 2024

Could you provide a .ply point cloud data file with normals?

from pcx.

shayazar avatar shayazar commented on June 1, 2024

Sure,
I imported an example PLY from your project, and exported it through meshlab
Guanyin2.zip

Because it was created from a PLY without normals originally, the normals don't add information, but taking a PLY with normal information and disregarding it affects the lighting from different camera angles and different lightings.

from pcx.

keijiro avatar keijiro commented on June 1, 2024

I realized that it needs some changes in the basic design of the importer. It requires some amount of time to support it.

I'd like to add this to the to-do list of the project. Unfortunately, I can't afford time for it at the moment. I'll revisit it when I get free time.

from pcx.

shayazar avatar shayazar commented on June 1, 2024

Sure, I get it.
Any chance you can give a brief explanation about how to use the norms in the shader?
Maybe this can help me proceed, and perhaps contribute.

from pcx.

keijiro avatar keijiro commented on June 1, 2024

Add float3 normal : NORMAL; to Attributes.

https://github.com/keijiro/Pcx/blob/master/Assets/Pcx/Runtime/Shaders/Point.shader#L30

Then you can use the normal in the vertex shader.

from pcx.

shayazar avatar shayazar commented on June 1, 2024

Thanks
The trouble I had was the math of how to use the values of the normals :)

from pcx.

djzielin avatar djzielin commented on June 1, 2024

I have PLY with normals as well. Perhaps I could help get this working?

from pcx.

cpkcpkcpk avatar cpkcpkcpk commented on June 1, 2024

I would also love to use ply normals in the VFX graph, in the same way you would with a pcache file

from pcx.

gradeeterna avatar gradeeterna commented on June 1, 2024

It would be great to use normals from the .ply file to set the particle direction in VFX graph. Would this require generating a normals texture, in addition to colour and position maps?

from pcx.

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.