Page 1 of 6 123 ... LastLast
Results 1 to 20 of 120
  1. #1
    Member KWD's Avatar
    Join Date
    Jul 2011
    Location
    Colmar, France
    Posts
    427

    [Dev] OpenVDB Based Particle Mesher Modifier

    Hi people,


    as a handful of you may know, I'm currently developing an OpenVDB based particle mesher modifier. This little project is going faster than I thought (I started last week-end), and I'm coming out my cave to share the first results. Below are two demo vids I made somewhat in a rush, I would need proper test/demo files, you know, the real deal. Also these vids are made with the "default" particle system, but it works with the others: SPH, Boids and even Hair particles (it'll will put a sphere at each hair points). Children particles are not supported yet.








    Known Issues:
    - The level set filters don't work properly. There's some logic issue in my code which needs proper refactor: only two filters are right, for the rest, it tries to add some modifiers (like Mirror and Array) which results in a crash,
    - The "Velocity Scale" factor is not doing anything, it just sits there in the UI, needs to be hooked up in the code,
    - The particles velocity (used for the trails) is not properly taken into account, I was a tad lazy and it just checks if the first particle has some velocity -> buggy,


    TODO:
    - The filters can optionally accept an alpha mask, this mask could be generated from the particles level set or could be an extra mesh, like other settings for the filters this could be a per filter setting,
    - The mesher can be set to generate an adaptive mesh, for now it just outputs a mesh with polygons the same size. The adaptivity is on a per frame basis, though, this would cause the mesh to flicker in an animation,
    - More filters! (Once they are fixed.) OpenVDB 3.0 comes with support for "dilate" and "erode" filters, namely. There's also an "offset" one currently, that is controlled with the "Voxel Offset" slider you can see in the first video, I disabled it for some compile error, which should be fixed by now.
    - We could use some extra meshes that alpha-mask the overall meshing operation to choose what we want to convert, or even "union" (the Boolean operation) with it, e.g., if the particles are supposed to mesh something on the ground, or the water, and the ground/water and particles need to be one mesh for rendering purposes and the likes.


    There's still a little bit of work to be done, but once that's done we should have the majority of the tools needed to convert other modifiers to use OpenVDB; I'm currently thinking of the Boolean, Laplacian Smooth or even the (in-development) Fracture modifier .
    Last edited by KWD; 19-Jan-15 at 14:28.
    Gigabyte 970A-DS3P | AMD FX-8320 @ 3.5 GHz | 16 Gb RAM | GeForce GTX 650
    Linux Mint 17 Qiana 64-bit



  2. #2
    This looks insane! Will we have a build soon?
    A 16 years old using blender for years, understood how to use it seriously only in these months.
    i7 3770K @ 4.7 GHz -- R9 290X
    Wip: ArchViz | Desert | Old Fence



  3. #3
    Member scorpion81's Avatar
    Join Date
    Dec 2010
    Location
    Germany
    Posts
    631
    @KWD

    Hi, your OpenVDB mesher modifier looks really great I think with this it will be possible to generate non-voronoi shaped shards from a mesh. I have been experimenting a bit with subsurf and displacement modifier after fracture, but that becomes real slow and looks not very good imho.... i am excited to see how this could help the fracture modifier or even replace it by a better system, which has a better chance to reach master
    Finished: 1980 Cadillac , WIP: Ferrari F40 , Ju-87



  4. #4
    :O ermaghurd much wow so yay
    http://www.youtube.com/user/derekthebenderator youtubes
    @LawdOdin twitters
    http://theorysend.com/ free image / blend / webm / blend4web host



  5. #5
    Member
    Join Date
    Jun 2010
    Location
    Warsaw
    Posts
    1,133
    looks incredible!! Great work!!



  6. #6
    Member SynaGl0w's Avatar
    Join Date
    Oct 2008
    Location
    L1 Cache
    Posts
    520
    Very nice! Keep up the excellent work!
    One nerd to rule them all, One nerd to write them. One nerd to compile them all, And in the linker bind them.
    Sketchbook | Sanctuary Rising | Piles'N'Tiles



  7. #7
    Member cekuhnen's Avatar
    Join Date
    Mar 2003
    Location
    Grosse Pointe Woods, Michigan, USA
    Posts
    11,718
    Originally Posted by KWD View Post
    Hi people,
    wow this looks nice, btw what interface theme do you use?
    3D Designer & Faculty Industrial Design Wayne State University
    YouTube Tutorials: Product Design with Blender 2015



  8. #8
    Member KWD's Avatar
    Join Date
    Jul 2011
    Location
    Colmar, France
    Posts
    427
    Thanks guys for the kind words, stay tuned for an update around this week-end.

    Originally Posted by Thanzex View Post
    This looks insane! Will we have a build soon?
    I can only share some Linux builds (I only have a Linux machine), for the other platforms I could share the patch, but then OpenVDB would need to be installed separately on the machine that'll do the compiling.

    Also, let me fix the bugs before talking about sharing builds .

    Originally Posted by cekuhnen View Post
    wow this looks nice, btw what interface theme do you use?
    The theme is one I made, based on Pablo Velasquez's theme, here it is: light_blue.xml.zip.
    Gigabyte 970A-DS3P | AMD FX-8320 @ 3.5 GHz | 16 Gb RAM | GeForce GTX 650
    Linux Mint 17 Qiana 64-bit



  9. #9
    Member
    Join Date
    Jul 2013
    Location
    Wichita, KS
    Posts
    300
    Awesomesauce!



  10. #10
    Member pitiwazou's Avatar
    Join Date
    Jul 2013
    Location
    France
    Posts
    2,173
    I dream of a brush to paint meshes on surfaces ^^

    Great job



  11. #11
    Originally Posted by cekuhnen View Post
    wow this looks nice, btw what interface theme do you use?
    Looks like Flatty Light from the current test build.



  12. #12
    Member Spirou4D's Avatar
    Join Date
    Jul 2010
    Location
    Lille, France
    Posts
    1,037
    Hi KWD you are a master with openVDB! I have read you project but you have made already a great result!
    I follow your job anyway....
    Words are Images that loosed Light!
    Linux Mint 17.3 RosaBi-Quad Intel 2.66Ghz x64Bytes - Nvidia OpenGL GT 630 4Go-vram



  13. #13
    Member
    Join Date
    Oct 2012
    Location
    Milky-Way Earth Planet
    Posts
    119
    Thank you man, this is a great thing on blender.



  14. #14
    Member Ace Dragon's Avatar
    Join Date
    Feb 2006
    Location
    Wichita Kansas (USA)
    Posts
    26,473
    Excellent, I honestly started to think that the prospect of being able to produce a skin for SPH particles is a long shot idea (due to no one being interested in the years since the initial implementation.

    About time someone started working on the final piece of that puzzle, hopefully this is part of a trend of bringing Blender out of its reputation of seeing features implemented halfway and not getting what's needed to make it especially useful.
    Sweet Dragon dreams, lovely Dragon kisses, gorgeous Dragon hugs. How sweet would life be to romp with Dragons, teasing you with their fire and you being in their games, perhaps they can even turn you into one as well.
    Adventures in Cycles; My official sketchbook



  15. #15
    @KWD
    Is it possible to make a Mac OSX build? since it's linux



  16. #16
    Member
    Join Date
    Oct 2012
    Location
    Milky-Way Earth Planet
    Posts
    119
    there is an interview by BlenderDiplom that Ken Museth point the blender will have OpenVDb near in future, is this related to?

    http://blenderdiplom.com/en/intervie...n-openvdb.html



  17. #17
    Member KWD's Avatar
    Join Date
    Jul 2011
    Location
    Colmar, France
    Posts
    427
    Originally Posted by Albertofx View Post
    @KWD
    Is it possible to make a Mac OSX build? since it's linux
    Technically yes, it would also be possible to make some Windows build; that falls into the realm of cross-compiling, and that's not an easy task, especially with a software the size of Blender. I've never done that, and I probably won't do it in the near future.

    Originally Posted by Shylon View Post
    there is an interview by BlenderDiplom that Ken Museth point the blender will have OpenVDb near in future, is this related to?

    http://blenderdiplom.com/en/intervie...n-openvdb.html
    Let's say it's a happy coincidence .
    Gigabyte 970A-DS3P | AMD FX-8320 @ 3.5 GHz | 16 Gb RAM | GeForce GTX 650
    Linux Mint 17 Qiana 64-bit



  18. #18
    Good job man keep working on it.

    One thing i wanted to point out if it is still untold to you, Campbell as said so many times that when you start a new project with Blender contact the module owner as earlier as possible so that he may help you with blender rules. It will be good to see this feature in the master.
    Enjoy your coding
    "Don't forget that blender is a community project, we develop blender together.
    If you feel things aren't as good as the should be, make it your goal to improve it." Sergof



  19. #19
    can it also work with the molecular script ?,
    If i do remind correctly I think that guy is also working on a 'mesher' script you 2 should get into contact with each.



  20. #20
    Member BluePrintRandom's Avatar
    Join Date
    Jul 2008
    Location
    NoCal Usa
    Posts
    16,064
    Yay!

    Keep @ it !
    Break it and remake it - Wrectified
    If you like what I do, and can afford it.
    Patreon



Page 1 of 6 123 ... LastLast

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •