chimeric Posted August 26, 2011 Share Posted August 26, 2011 (edited) Hey guys! I am having problem that I cannot solve, I am trying for over more than one week but the problem persist. I am building a tornado effect using Smoke which is driven by Velocity Field created by POP VOP. My idea was to be able to create the effect of tornado forming from the clouds and reaching the ground. The problem is that it never reaches the ground (the bottom of the fluid container) because it dissipate very fast. I was trying to add density using Gas Field VOP, however this causes the volume build up more and more so it start to cover the whole container. Anyway I have discovered that the dissipation rate is directly related with the velocity, the bigger the velocity the faster the dissipation therefore the density dissipates even without reaching the middle of the container. This is how it looks now: http://vimeo.com/27958151 So my questions are: 1. What part of the Smoke solver is responsible for the dissipation/diffusion of the gas? I have look for it inside the solver but cannot find it. 2. Is there other way of controlling the density without destroying the original density field. Please, if you know something that could help me do not hesitate to post it. Thanks in advance Edited August 26, 2011 by chimeric Quote Link to comment Share on other sites More sharing options...
efx Posted August 26, 2011 Share Posted August 26, 2011 Hi, I think his hip can help you. http://www.sidefx.com/index.php?option=com_forum&Itemid=172&page=viewtopic&t=22162 I learned a lot from this. Take a look at density vop part. It's like get magnitude of velocity( min/max ) and based on the velocity magnitude, you can add or subtract density. Hope this will help you. Cheers Quote Link to comment Share on other sites More sharing options...
chimeric Posted August 26, 2011 Author Share Posted August 26, 2011 Thanks for fast reply! I have actually tried to multiply by the velocity magnitude but this makes it dependent on the velocity itself. Anyway I will take a look at the example first Quote Link to comment Share on other sites More sharing options...
chimeric Posted August 29, 2011 Author Share Posted August 29, 2011 Hey, after many tries this what I get: http://vimeo.com/28322280 Looks ok and it goes from to to bottom. Now the problem is that I lose a lot of details so it looks very unrealistic. Do you have any suggestions how to improve the details? Quote Link to comment Share on other sites More sharing options...
anim Posted August 29, 2011 Share Posted August 29, 2011 what about creating tornado motion from particles and source your smoke from them? and maybe use the same vortex force for both? Quote Link to comment Share on other sites More sharing options...
chimeric Posted August 29, 2011 Author Share Posted August 29, 2011 (edited) Thanks, for the suggestion, I have tried something similar before. The problem was that it kind of look like sprites. Anyway I will give it a go and post it. Anyway I am creating the force using POP VOP, so there are no actual forces involves just the velocity of particles. Edited August 29, 2011 by chimeric Quote Link to comment Share on other sites More sharing options...
anim Posted August 29, 2011 Share Posted August 29, 2011 you can have many particles, which will add very little density each, not few with 100% density which would look like cotton balls leaving some cotton trail and maybe some turbulence on top, and that vortex force Quote Link to comment Share on other sites More sharing options...
chimeric Posted August 29, 2011 Author Share Posted August 29, 2011 (edited) you can have many particles, which will add very little density each, not few with 100% density which would look like cotton balls leaving some cotton trail and maybe some turbulence on top, and that vortex force True, definitely will give it a go! I just saw that you are going to BU this year I will be attending the 3rd year of BA Computer Visualisation and Animation there, we will be to able to meet in person Now, I saw your showreel and I am completely shocked. Actually with so much professional experience I wonder why u still wanna go to uni. Your work is at least twice better as of most of people graduating from NCCA Edited August 29, 2011 by chimeric Quote Link to comment Share on other sites More sharing options...
anim Posted August 29, 2011 Share Posted August 29, 2011 great, see you in a few weeks then studying at uni is a great oportunity to focus on things in which I want to improve and there are tons of them Quote Link to comment Share on other sites More sharing options...
chimeric Posted August 30, 2011 Author Share Posted August 30, 2011 I have tried to use particles as source but it was taking a lot of time and it was giving very strage results. Anyway in meanwhile I gave another try with static source using upres. I think it is starting to look acceptable, specially that it is only 160 resolution in Y. Quote Link to comment Share on other sites More sharing options...
anim Posted August 30, 2011 Share Posted August 30, 2011 looking nice, it seems you are on the right track Quote Link to comment Share on other sites More sharing options...
chimeric Posted September 3, 2011 Author Share Posted September 3, 2011 One more try, this time using particles as source. The difference is that instead of using particles as very small points, I have created very blurred density field that is being advected by velocity. This way I finally gained control over the density, so it goes from top to bottom. I really liked how the previous example looked like but it was very frustrating that I had no control over density and any, even very small, change of velocity would result in unpredictable effect (normally density would dissipate more) http://vimeo.com/28530997 Quote Link to comment Share on other sites More sharing options...
Klockworks Posted September 6, 2011 Share Posted September 6, 2011 Love the look you are getting, mind posting a .hip? Quote Link to comment Share on other sites More sharing options...
chimeric Posted September 13, 2011 Author Share Posted September 13, 2011 Hey Klockworks, yeah why not. Its a mess now but when organise it, I will post it Quote Link to comment Share on other sites More sharing options...
chimeric Posted September 14, 2011 Author Share Posted September 14, 2011 Another test, this time I am not using particles at all and I calculate the velocity field directly using Gas Field VOP. I though it will be faster than generating high resolution velocity field from POPs. Funny enough it is not The problem is that now velocity is being calculated for each voxel instead of particle. With high resolution grid this is just very very slow. On the other hand it gives me always high detail velocity field that matches the container resolution. I think it is still better because I could export the velocity field first with low resolution and than use it to drive high resolution simulation. I have also added some upress, close to default turbulence. http://vimeo.com/29014314 Quote Link to comment Share on other sites More sharing options...
bunker Posted September 14, 2011 Share Posted September 14, 2011 (edited) cool stuff ! to get better sampling out of particles, you can use a gasfield Vop with your own pointcloud lookup - that's not really fast though. The Particle To field microsolver is pretty useless IMO... Edited September 14, 2011 by bunker Quote Link to comment Share on other sites More sharing options...
Solitude Posted September 14, 2011 Share Posted September 14, 2011 cool stuff ! to get better sampling out of particles, you can use a gasfield Vop with your own pointcloud lookup - that's not really fast though. The Particle To field microsolver is pretty useless IMO... Any chance you post an example of this and specifically what would make the Vop version of this work better? Quote Link to comment Share on other sites More sharing options...
Netvudu Posted September 14, 2011 Share Posted September 14, 2011 oooh,I love your latest test, Chimeric. It looks very interesting. I haven´t been able to play with Gas Field VOPs yet...does the quality of your latest test directly relate to it, or did you do something else worth noting? Quote Link to comment Share on other sites More sharing options...
bunker Posted September 15, 2011 Share Posted September 15, 2011 (edited) @Ian : doing a pointcloud lookup allows you to do your own sampling depending on the proximity to the voxels. That gives you a lot more options and you can get more accurate resuts. (2nd image is similar to the "gas particle to field" microsolver sampling) I included a very basic example. Of course you can do your own metaball kernel function, multiple samples to get antialiased volumes or motion blur too - up to you pointclouds_vs_particletofield.hip Any chance you post an example of this and specifically what would make the Vop version of this work better? Edited September 15, 2011 by bunker Quote Link to comment Share on other sites More sharing options...
chimeric Posted September 15, 2011 Author Share Posted September 15, 2011 I am glad that u liked it guys! bunker: I have not tried it this way. I think that in terms of the accuracy and details the Gas Field VOP is the best solution because each voxel has its own velocity function so you don't need to approximate anything. On the other hand as I said it takes some time. Btw, thanks for the example, its really cool that you can have a falloff using particles, this gives some extra details as well. Netvudu: Yes I think the fact that I used the Gas Field VOP has increased, considerably, the amount of details. However, in theory, I could probably get similar results using Gas Particle To Filed or creating the field in SOP and exporting it as Vector Volume (this is what I did in the beginning). The problem is that if you use just particles it will take some time for the container to be field with desired velocity (where are no particles there is no velocity). It is possible to improve it, having a box as particle emitter, with container size, and emit from surfaces (if you do from volume, particles that are being created in the middle will distort the velocity field and you can expect some artefacts). Still at most the particles are represented as spheres (of influence) in volume where voxels are squared so it is always an approximation. Eventually you will get voxels where there is not velocity, even if you create lots of them. One more thing, I think I found the reason why I was loosing the density (hence this whole topic ). I was creating the velocity field that would suck the smoke in to the centre of the tornado. I believe that this is more-less correct, or at least, intuitive way of representing and simplifying forces that govern tornadoes. Unfortunately this was creating sink (negative divergence) which made the smoke evaporate (at least I believe so). The last example has only circular and upward velocity components, so I had no issues with density. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.