Giter Site home page Giter Site logo

Comments (4)

BradyAJohnston avatar BradyAJohnston commented on May 20, 2024 1

Ha, I have already missed my thesis deadlines because I've been developing this project instead, so you'll be in good company!

Re: the MOL_style_manual_colour node, you need to have a material applied, so either unmute the previous MOL_style_colour node or use a "Set Material" node afterwards to apply the molecular material and it should work!

from molecularnodes.

BradyAJohnston avatar BradyAJohnston commented on May 20, 2024

The Atoms EEVEE node is a bit buggy, it doesn't do individual chain colouring above about 10 or so chains. This is due to some underlying problems with how it's executed, and I just haven't put in the time to make it more robust to handle more chains.

I recommend if possible to use the regular cycles atoms, if you need the per-chain colouring, or use ribbon or surface style for more chains with different colours.

For the kind of per-chain colouring that you are doing as well, you can use the Style Colour Manual node which lets you colour based on a selection, rather than having to split apart and then join back together:

image

It seems to be a blender-related bug that is causing the atoms to lose colour when they are split apart and joined back together, it's something that I haven't been able to solve myself. A workaround is to use the "Geometry to Instance" node on one of them before joining them back together to maintain the colour.

image

from molecularnodes.

FedeClaudi avatar FedeClaudi commented on May 20, 2024

Thanks for getting back to me so quickly. Indeed both solutions work: using ribbon/surface I can style more chains or using the Cycles atoms styles I can also do the same.
However while MOL_style_color lets me apply the color, MOL_style_manual_color doesn't:
image
image
image

Anyway this solution works for me, thank you!

from molecularnodes.

FedeClaudi avatar FedeClaudi commented on May 20, 2024

With a bit of work I can color all the chains
image

Molecular nodes is more fun than it ought to be, if I don't meet my PhD thesis deadline I will hold you personally responsible :)

from molecularnodes.

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.