Jump to content

Galaxy


Thein Win

Recommended Posts

Hi, this is my first post.

So let me quickly introduce myself. I am from Burma. Currently studying VFX in the UK at the University of Hertfordshire. 

Rite now I am working on my final year film project. In the film I have lots of different particle effects. One of them I am struggling to get at the moment is a galaxy. I have tried many different ways but none of them seem to be looking very nice.

 

Image I have attached below is from the breakdown of documentary Cosmos. I really like how it is looking with the spiral and particles around. So can anyone please help or guide me to achieve something like that. I have tried with trail sop and applying polywire and converted into volume and scatter points. But is still not getting the spiral look.

 

I have only been using Houdini for three months. So still learning. 

 

Thank you.

 

post-15440-0-43567300-1454118658_thumb.p

  • Like 1
Link to comment
Share on other sites

you can use the  "goldenspiral" and emit points from them, i made it with Arrays but there should be some posts about it on the sidefx forums and here,

 

a tutorial from adam is on cmivfx

 

maybe helpful  

 

http://www.toadstorm.com/blog/?p=255

http://forums.odforce.net/topic/11780-creating-a-nebula-simulation-from-a-photograph/

spiral.hipnc

Edited by deniz
  • Thanks 1
Link to comment
Share on other sites

Thx for the reply. I have gone through the tutorials and links you all have given to me. They are quite helpful. I will soon be start working on it and hopefully will also upload up on this page to get some feedbacks.

 

If any of you have anything related to galaxy or nebula, and particles or krakatoa like effects done in houdini please share me videos, files or links. It will be so nice. 

 

This is the link to my film project work thread - 

 

http://www.3dhit.co.uk/index.php?showtopic=27778

 

please go through it if u have time

 

Type of effects I want to achieve - https://vimeo.com/106800693

                                                       https://www.youtube.com/watch?v=JHRiaKEYeis

 

Thank you so much

Link to comment
Share on other sites

  • 1 month later...

Hi I haven't touched the galaxy for a while and now I am back. I want to continue improve. Need Help!

Below I have attached four pictures. The first one is what I have done so far. 

The rest three is what I am aiming to achieve. What I have done is more like a base. So rite now I want to add some more elements to it. 

As you can see in those pictures there are layers of particles, which I have kinda done, and smoke or gas and those pinkish nerves like gas. Can anyone please help me on how to get those nerve like pink gas as you can see on the pictures. I am not so good with pyro stuff. 

 

The rest three pictures are from Cosmos documentary

 

I really want the quality just like those from the pictures.

I have also provided my hip file. Could you please look inside and see how else can I improve my galaxy.

 

Thank you so much! :)

 

 

 

 

 

 

post-15440-0-79205900-1457909690_thumb.j

post-15440-0-68550000-1457909799_thumb.p

post-15440-0-99813100-1457909832_thumb.p

post-15440-0-32084000-1457909934_thumb.p

Pink_Galaxy.hipnc

Link to comment
Share on other sites

Hi Thein,

 

I hope you have had some more luck with this galaxy that your trying to create. Unless you need to see large dynamic motion in your shots you could generate this volume procedurally through some VOPS potentially. Here is a hip file which has something started in it along these lines, it's currently all math driven but I'm sure you could find some ways to control it nicely. For the final render I would lean towards doing the same operations but inside a volume procedural so that your not limited in resolution.

Hope this helps.

Cheers 

Jake.

 

 

galaxyVolumeSwirl.hipnc

  • Like 1
Link to comment
Share on other sites

If you need galaxy formation in time and you have a lot of computing power you can use NBody sim solver with real phisical parameters to generate galaxy. In attached scene there is only 65K points. For more realistic results you probably need several millions of them. NBody sim is done inside loop of POP VOP (Houdini guys it would be nice if someone code it to run on GPU and include it in new release of Houdini as NBody solver).  In the attached scene, period of several billions of years is scaled to several hundred frames. A few parameters control whole sim, time step, cluster scale, velocity scale, drag, etc. Nice thing with this method is you don't have to worry about collisions of two or more galaxies :) (There is not enough computing power on the world to calc that :) ..... ) Seriously... take another sphere inside same SOP and generate point cloud on it like it was done with first, move it on the scene several units away of the first one by transform SOP, merge those two point clouds and connect it in pop network.  

After merge it is actually single point cloud but some points have offset in space. Run sim and enjoy in spectacular two galaxies collision. They will merge eventually in time (and space).

 

https://mega.nz/#!3JwhhZoZ!X6WJn9dPvxUAC2BqwbD1KevluzzRa5Nt1Nm3DAguIz8

 

 

When you get desired look, convert that point cloud in volume and you are done.

Cheers

  • Like 4
Link to comment
Share on other sites

Wow, thank you everyone. You guys are amazing. After looking into some of the techniques you all have suggested I think I am going to go procedurally, like Jacob suggested. I think it works really well since is faster to generate and my galaxy wont be in motion.

 

Once again thank you all for taking time to help me out. :)

Link to comment
Share on other sites

  • 1 year later...
  • 2 weeks later...

Thx Iskander. Really nice job.

I've got 1.4 FPS on my laptop with your original scene (without trail node calculation) and decide to do optimization of kernel code with some tricks and reached to 3.4 FPS (2.5 times faster). What I did is:

- moved calculation of softening_squared outside of kernel so it is precomputed once and passed to kernel

- removed double index and multiplication of second index for proper position in float3 array by

using vload3 and vstore3 to fetch and store vector data from GPU memory to register and vice versa

- used optimized vector routines in calculus instead calculating values per each vector component

- provided extra arrays to store newpos and newvel vector values and

- used them in writeBack kernel to store values back to attributes instead of using extra pointwrangle node

 

 

Here is modified version

nbody_opencl_modified.hipnc

 

Cheers and thank again

 

  • Like 3
Link to comment
Share on other sites

  • 7 months later...
  • 1 year later...
On 16/3/2016 at 7:13 PM, djiki said:

If you need galaxy formation in time and you have a lot of computing power you can use NBody sim solver with real phisical parameters to generate galaxy. In attached scene there is only 65K points. For more realistic results you probably need several millions of them. NBody sim is done inside loop of POP VOP (Houdini guys it would be nice if someone code it to run on GPU and include it in new release of Houdini as NBody solver).  In the attached scene, period of several billions of years is scaled to several hundred frames. A few parameters control whole sim, time step, cluster scale, velocity scale, drag, etc. Nice thing with this method is you don't have to worry about collisions of two or more galaxies :) (There is not enough computing power on the world to calc that :) ..... ) Seriously... take another sphere inside same SOP and generate point cloud on it like it was done with first, move it on the scene several units away of the first one by transform SOP, merge those two point clouds and connect it in pop network.  

After merge it is actually single point cloud but some points have offset in space. Run sim and enjoy in spectacular two galaxies collision. They will merge eventually in time (and space).

 

https://mega.nz/#!3JwhhZoZ!X6WJn9dPvxUAC2BqwbD1KevluzzRa5Nt1Nm3DAguIz8

 

 

When you get desired look, convert that point cloud in volume and you are done.

Cheers

@djiki Hello, I've been trying to simulate something like this and export as vdb. This simulation is perfect for what I need, but is non-commercial. Is there any posibility I can get or buy you the commercial file? It would be very helpfull.

Thanks!

Link to comment
Share on other sites

  • 4 years later...

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.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...