Blender for Scientists - How to Make ANY Crystal in Blender

แชร์
ฝัง
  • เผยแพร่เมื่อ 4 ธ.ค. 2020
  • This is a follow up to my video on making molecules. Crystals are a little bit different and the tutorial reflects that.
    Once again this tutorial makes use of the incredible (and free) program Avogadro, as well as Blender. In the future I may make a longer video dedicated to just Avogadro as it still has many promising features for working, especially working with proteins and DNA. It is a powerful scientific tool in its own right and a lot of the importing for visualizing in Blender is very straightforward.
    Patreon: / cgfigures
    The CGFigures Asset Library:
    A compilation of most of what I've released/will release in one CC0 package:
    Free at: www.cgfigures.ca/assetlibrary
    Launch video: • Blender for Scientists...
    On Gumroad (if you'd like to pay to support it. More of this will go to me directly though I do donate to the blender dev fund every month as a gold level supporter): cgfigures.gumroad.com/l/TheCG...
    On Blendermarket (if you'd like to pay to support it and directly contribute to the blender development fund, 25% of the cost): blendermarket.com/products/th...

ความคิดเห็น • 47

  • @sbjuice622
    @sbjuice622 3 ปีที่แล้ว +4

    Working on some graphics for an ACS journal - this stuff is a gold mine! Thanks so much!!!

  • @MRORANDY
    @MRORANDY 3 ปีที่แล้ว +2

    Thanks for very interesting tutorials. This is exactly what I was looking for 🙂

  • @xkfm8555
    @xkfm8555 3 ปีที่แล้ว +8

    Your channel is pure treasure. I'm so happy that I found you today and subscribed. Keep up the good work! Thank you!

  • @ruxtic6224
    @ruxtic6224 3 ปีที่แล้ว +1

    I love your tutorials so much! After finishing my master thesis I'll follow them one by one, they're amazing! Thank you for doing this!

  • @ancient3131
    @ancient3131 3 ปีที่แล้ว +1

    That is incurable .. many thanks for sharing

  • @sudarshanreddyt2400
    @sudarshanreddyt2400 3 ปีที่แล้ว +1

    you really helped me thanks a lot . i am so strugglled to get the exact atomic structure of silicon finally i did it. thank you. and dont stop this kind of educational videos

  • @jilier_shen312
    @jilier_shen312 2 ปีที่แล้ว

    Hello Joe! A lot of thanks for the useful content!

  • @koushikkashyap439
    @koushikkashyap439 2 ปีที่แล้ว

    Thanks a lot. Helpful tutorials

  • @tapabratadam8573
    @tapabratadam8573 3 ปีที่แล้ว +5

    Important time stams for revision
    4:10 Activate atomic blender add-on
    5:35 controlling bond shape with object data properties
    8:15 Making atom instances real

  • @angshumangupta9523
    @angshumangupta9523 10 หลายเดือนก่อน

    Thank you so much

  • @lmwald
    @lmwald ปีที่แล้ว

    Excellent/ Thanks

  • @zhujunhuang260
    @zhujunhuang260 8 หลายเดือนก่อน

    This is amazing! I am just wondering if it is possible to bend these crystal structures?

    • @CGFigures
      @CGFigures  8 หลายเดือนก่อน +1

      It should be possible. If you join the whole crystal into one object with Ctrl+J you could try to apply a simple deform directly. You could also use a lattice/lattice modifier. It's a bit of a rough approach but I have used it in the past with perovskites.

  • @manhxuanpham7832
    @manhxuanpham7832 2 ปีที่แล้ว

    Thank you for your tutorial. It is easily understandable and extremely interesting. I am wondering how to add polyhedral in the crystal structures. Eg: make Sulphur tetragonal for Zn in this case. Thanks!

    • @CGFigures
      @CGFigures  2 ปีที่แล้ว

      Hi Manh, I'm not sure I understand your question. Can you provide an example?

    • @manhxuanpham7832
      @manhxuanpham7832 2 ปีที่แล้ว

      @@CGFigures Thank you for your reply. I mean one Zn atom bonds with 4 S atoms, so Zn is inside a tetragonal of 4 S. In other softwares like Avocado, or Vesta, I can choose styles to demonstrate the crystal structure like 'Ball and stick', 'Stick', or 'polyhedral'. In your tutorial, you show how to modify stick and ball style (the size and color of atoms and the bonding among atoms). My query is how to add a polyhedral style (tetragonal or octahedral) in this tutorial. I hope you get my point. Thanks again!

    • @CGFigures
      @CGFigures  2 ปีที่แล้ว

      @@manhxuanpham7832 I think I follow. It's a bit of an interesting problem. I'm not immediately sure how to do it in avogadro or vesta. There might be an easy workaround where you select all the points related to one type of atom and just hit "F" to make faces. There's no guarantee that would work and up until now I've made custom nodes or assets when I make a lattice that has polyhedra (perovskites or lithium cobalt oxide). I'll give this a look and see if I can get to a better general solution.

    • @manhxuanpham7832
      @manhxuanpham7832 2 ปีที่แล้ว

      @@CGFigures I also watched the video which you instruct how to make perovskites and lithium cobalt oxide. So I will follow it to make tetrahedrals for the cystal structure and wait for a better general solution.

  • @lawrencedoliveiro9104
    @lawrencedoliveiro9104 3 ปีที่แล้ว

    0:14 It’s a standard package in the Debian repository, so those running Debian and derivatives can just install it from their package manager.
    Hmm, it appears the Debian package does not include .cif support.

  • @yalldonny8597
    @yalldonny8597 ปีที่แล้ว

    Thank you for this awesome video. I have a question, I want to use draw the polygons in my crystal cif file. However, each time I import the file into blender, it becomes the ball and stick, do you know how I can turn them to the polygon in the original file in avogadro? Thank you!

    • @CGFigures
      @CGFigures  11 หลายเดือนก่อน

      I'm sorry to say I don't have an easy fix for this. I haven't spent much time in Avogadro lately and I find it can be a bit fiddly. It's an excellent question though, so I might revisit this... I've had a number of questions about MOFs that would make it very worthwhile.

  • @lawrencedoliveiro9104
    @lawrencedoliveiro9104 3 ปีที่แล้ว

    2:44 How about changing the view projection from Perspective to Orthographic.

    • @CGFigures
      @CGFigures  3 ปีที่แล้ว

      Very possibly an option though I'm trying to move towards a few alternatives such as PyMol and Chimera for the future as I think they offer a bit more functionality more readily.

  • @MRF77
    @MRF77 ปีที่แล้ว

    It's been two years since this video was released. But now with 3.4, you showed your TMD and graphene assets in one of your latest videos (B & S - ep 3) which showed far greater semi-auto tunability than this one or your LiCoO video. So could you please make another tut of this video (using TMD) showing your latest workflow with such tunability? It'd be really helpful! Thanks!

    • @CGFigures
      @CGFigures  ปีที่แล้ว

      Hey Abdullah.
      Short version: If I can I will make a more blender-based tool for working with crystal data. I haven't done that yet.
      Long version: Each of the things you mentioned are a little different. The LiCoO is very old and just a rough visual approximation using admittedly older (and kind of outdated) tools. This video uses actual data and there are times where that is really valuable. I don't have a good replacement for that yet. It might be something that gets done in 2023. The TMD and graphene assets are all based on geonodes and are also just visual approximations but there isn't really a workflow to present. Those assets are much more of a "build it and let people use it" than a "create a tutorial and have people adapt it" kind of situation.

    • @MRF77
      @MRF77 ปีที่แล้ว

      @@CGFigures Thanks for the reply, and this totally makes sense! I think, in some of these grey-area cases, even your rough workflow (as opposed to a polished tutorial) can be a great help for the community, as there's literally nothing of this sort on the internet at the moment (to the best of my knowledge)!

  • @ancient3131
    @ancient3131 3 ปีที่แล้ว

    If I choose say the same setting for a molecule rather than a crystal, would I get similar results? Another question: How can I convert a measured crystal into a PDB file? I tried to open my CIf file with Avogadro but it failed! Many thanks in advance.

    • @CGFigures
      @CGFigures  3 ปีที่แล้ว +2

      The same Blender settings will work for molecules. I have a separate video on the channel that covers molecules and the workflow is quite similar. I'm not a crystallographer myself so I'm not sure I can help you with the second part. I'm assuming you mean that you acquired the .cif file from an actual crystal structure. I've seen some online forums suggest either Mercury or OpenBabel to convert .cif to .pdb. I haven't used Mercury but I've had decent luck with OpenBabel. Hope that helps.

  • @coreys2686
    @coreys2686 3 ปีที่แล้ว +1

    Great subject as usual.
    Any idea how to make a snail shell or nautilus shell?
    I've tried in the past, but I've been trying the wrong stuff.

    • @mkjb8331
      @mkjb8331 3 ปีที่แล้ว +1

      Add -> Mesh -> Math Function -> XYZ Math Surface

    • @CGFigures
      @CGFigures  3 ปีที่แล้ว +1

      MKJB's suggestion is a cool place to start for sure. I've done a bit of exploring with surfaces and "On Growth and Form" is on my reading list so I'll definitely give this one a look.

    • @coreys2686
      @coreys2686 3 ปีที่แล้ว +1

      ​@@mkjb8331 thanks for that. I guess I need to learn some math to change the shape.
      Is there formulae for the shape of a shell?

    • @mkjb8331
      @mkjb8331 3 ปีที่แล้ว

      @@coreys2686 You welcome! ;) There is an our math and real matma (in Polish and Sanskrit same word...). Real shell of real snail and nautilus are much more beautiful (complex) geometry than we can calculate. First, these structures are free. We always try to get the so-called a strictly defined result, and there is no such thing. Fortunately, quantum computers will soon appear, and they will help us to highlight the obvious - that everything is a beautifully organized chaos.
      Either way, of course it is worth studying all these matters at any stage.
      Btw - Please, try to find information, how nautilus is not compatible with the golden ratio... Memes are wrong ;) Of course it does but in more sophisticated way...

    • @mkjb8331
      @mkjb8331 3 ปีที่แล้ว +1

      @@CGFigures Good and the most beautiful direction is also L-system... and Tissue... ;)
      I love these topics... They are more powerful than we think... :)
      Please take a look - I used algae as photoactive material... (I am sorry, this is in Polish but translator is not so bad...):
      quantumidea.tech/2019/08/08/stwarzarka-organiczna/
      quantumidea.tech/2020/06/07/wszystko-jest-informacja-informacja-jest-wszystkim/

  • @ChefStache
    @ChefStache ปีที่แล้ว +2

    Wouldnt some of the issues with avogadro be avoided by using VESTA instead?

    • @CGFigures
      @CGFigures  ปีที่แล้ว

      I haven't worked with VESTA personally, but I find that so long as you get the same file format these approaches tend to work, even if they aren't as good as they could be. I've used Chimera, Avogadro, PyMol, molview, Chem3D, most work.

    • @bucketsshuckets
      @bucketsshuckets 5 หลายเดือนก่อน

      Thanks for making these videos! In my experience, VESTA crashes far less than Avogadro and can handle larger numbers of atoms. The clipping issue that Avogadro had in this video would likely be avoided with VESTA.

  • @LP-ln5oe
    @LP-ln5oe ปีที่แล้ว

    Question, what are the specs of the pc you are workin on? I am mostly curious about RAM capacity and processor speed. I wanna try this but i am scared of any 3D projects, i dont want my laptop to crash XD

    • @CGFigures
      @CGFigures  ปีที่แล้ว

      I've worked with a bunch of machines over the years. My main PC right now has 64 gb of 3200 DDR4 RAM (originally 32), and a Ryzen 5 3600. I started out doing Blender work on a Toshiba laptop from 2009 and my older desktop was a XPS 8700 that had... 16 gb of ram (DDR3) and a i7-4790. Bigger crystals can definitely be a problem for lighter hardware. Newer versions of Blender are also much more efficient though and are pretty friendly. If you're having a really hard time it might be better to try to use a cloud computing option if that is possible. I believe Josh Gambrell has some older videos discussing those options.

  • @vikasjangra4654
    @vikasjangra4654 5 หลายเดือนก่อน

    Can you please tell of how could I change the colour of a particular atom only and not all together? Thanks.

    • @CGFigures
      @CGFigures  5 หลายเดือนก่อน

      If you use Ctrl+A to realize the instances then you should be able to select the individual atoms (try using L in edit mode). Once you have the atom you want selected you can add a unique material to it. Just be careful about using this for large crystals though, making the instances real takes up a lot more computer power so I wouldn't recommend it for very large crystals

  • @joesam7542
    @joesam7542 ปีที่แล้ว

    Hi, when i try to render, everything changes to green. What might be the issue.

    • @CGFigures
      @CGFigures  ปีที่แล้ว

      Green... That's interesting. If you had said purple I'd would have guessed that Blender was missing a file for the lighting or for a texture. What kind of materials do you have applied to the atoms? This might be a problem with the normals being flipped

  • @Heisenberg2097
    @Heisenberg2097 2 ปีที่แล้ว

    Please post a video on how to make chrystal meth in my kitchen blender... with only free assets!