Code Monkey home page Code Monkey logo

Comments (3)

indyfree avatar indyfree commented on July 17, 2024

@zfyu222 How do you display the vertex colors in the engine?
Just setting the Vertex colors like this:
RuntimeMesh->CreateMeshSection(0, Vertices, Triangles, Normals, TextureCoordinates, VertexColors, Tangents); does not do the trick for me.
The mesh keeps showing with the standard texture. Do I need to create a material from the vertex colors?

from realtimemeshcomponent.

Koderz avatar Koderz commented on July 17, 2024

Well.. honestly no you can't really change it directly without recooking the collision... That's something I'll keep in mind for the new version.

The way you can get around this is use the separate collision. CreateMeshCollisionSection() or something like that, I don't remember the exact name. You could use that to handle the collision and then just disable collision on the normal section you want to change frequently.

from realtimemeshcomponent.

zfyu222 avatar zfyu222 commented on July 17, 2024

Thank you reply.Separating collision and rendering is indeed a feasible solution

from realtimemeshcomponent.

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.