Jump to content

tortoise

Members
  • Content count

    10
  • Donations

    0.00 CAD 
  • Joined

  • Last visited

Community Reputation

2 Neutral

About tortoise

  • Rank
    Peon

Personal Information

  • Name
    Martin Egger
  • Location
    Vienna, Austria
  1. Hello fellow odforce-people, at the moment I'm working on my bachelor thesis which I'm writing about Dynamic Simulations for Film in Houdini. In order to demonstrate these effects, I'm producing two shots of a short film that I've wanted to do for a long time. And for the environment of this short film I decided to do some procedural modelling with Houdini. And since the houdini community is so extremely generous, I decided to take part myself and share my entire project file. It's slightly messy, but I hope it's useful. * I started out in Cinema 4D where I did some basic cloner-modelling to get all the basic shapes right. * Then I moved into Houdini, converted everything to an SDF and cut out dynamically generated holes. (Scatted loads of spheres into a vdb that I generated from the sdf, displaced the spheres, made an sdf from it and "difference-d" it away from the main mesh.) * Having converted the object back to polygons, I ran the mesh through Instantmeshes to get a clean quad-mesh. (Love this program almost as much as Houdini.) * For uv-mapping and memory-efficient exporting I got rid of all the faces that were not visible from the inside. (more than half) (I wrote a little script that sends rays from every point of the mesh to the 'god-points' in the center (because godrays, haha... ha...) and when any of these rays hit, it's marked as visible (green). Then I get rid of all the invisble points (red). * I unwrapped the mesh using Auto-Unwrap from the game-dev-toolkit and exported it (as well as the high-res-version from before) to Substance Painter where I baked all the maps (normals, AO, etc.) from the hi-res mesh to the low-res mesh. * In painter I just smashed a couple of smart material on there that I found on Substance Share, scaled up the UV-Tiling (because huge mesh) and was pretty much done with texturing. The render is a screenshot from painter's integration of I-Ray. (When I get everything together in Cinema and render with Octane, I'm gonna step the lighting up a notch of course. ) Here's a couple of pics: And attached you'll find the project file as well as the base-obj I started out with from Cinema (And one remesh to work with in case you don't have Instant-Mesh set up). To make viewing easier, I turned on a switch that sclices out only a small part of the arena for editing and increased the voxel-size so that loading only takes 15 seconds instead of half an hour. Cheers, Martin ARENAWRANGLE_TOODFORCE.zip
  2. To be honest, I gave up on it as I didn't feel it actually paid off to spend this time setting up. Probably because porting to the live-view still took about a minute, even with the instances. I was pretty close though. I think all that was missing was a deeper understanding of prim intrinsics. And the way the sim worked originally and how Redshift handles its instances (where the center is when saving and where it is projected to when re-loaded), because that is hardly documented, as far as I could find out. (Also, I unfortunately lost the saves, so that cut my motivation to go on as well.)
  3. Baby steps. I tinkered with the instances a lot and fingured out that the instancing if applied to the packed sim data projects an instance to every unpacked point. I fixed that by copying a point to every instance (with keeping the orient on the copy-to-node) and transferring the needed attributes. My next issue that you identified very precisely Atom was that the saved instances are saved at the center. So I had to transform the instances' center to the origin (when saving out the proxies) for the instances to appear where they were intended. And my last and not yet solved issue is that the rotation is not applied entirely to the instances. It's weird, but I feel like I'm getting there. I can post some pics and the hip tomorrow. At this point I think I'm just looking for a way to get the intrinsic rotation of the sim's pieces to the points that I clone the instances onto. Any suggestions I'd be very happy about.
  4. Alright, so I tried out your approach and it seems to almost work. The thing that's missing now is the transformation of the original pieces. It looks like this now: Now I wonder if redshift stores the transformation values/matrices for the instances in a different manner as houdini? That's the code I used from Steven Knipping's original setup to transform the Pivot and Transform from the original points to the instances. Any more ideas?
  5. Oh wow, that's the perfect video for my issue! Thanks so much. I haven't gotten to it yet, but it looks like it has to work. I raise my hat to you, Atom!
  6. Few questions: Redshift on H16.5/OSX

    I can't give you definite answers, but from what I've heard: 1) I don't think you need Indie to run the trial. 2) 2gb should definitely be enough, especially because RS uses RAM when VRAM is used up. It takes a little more time but it should work. 3) From installing my versions, I a pretty sure the RS-installs need the exact version of Houdini they are made for. For example I installed the 16.0.678 RS to my 16.0.5xx version of Houdini and it wouldn't work until I matched the versions. I hope that helps, cheers.
  7. Hello, I recently went through Steven Knipping's tutorial on Rigid Bodies (Volume 2). And now I have a nice scene with a building blowing up. The simulation runs off low-res geometry and then Knipping uses instancing to replace these parts with high-res geometry that has detailing in the break-areas. The low-res geometry has about 500K points as packed disk primitives so it runs pretty fast in the editor. Also, it gets ported to Redshift in a reasonable amount of time (~10 seconds). However, when I switch to the high-res geometry, as you might guess, the 10 seconds turn into around 4 minutes, with a crash rate of about 30% due to memory. When I unpacked it I think it was 40M points, which I can understand are slow to write/read in the Houdini-Redshift bridge, but is there no way to make Redshift use the instancing and packed disk primitives? My theory kind of is that RS unpacks all of that and that's why it takes forever, because when I unpack it beforehand, it works somewhat faster - at least for the low-res. The high-res just crashes. I probably don't understand how Redshift works, and have wrong expectations. It would be nice if someone could give me an explanation. Attached you'll find an archive with the scene with one frame (Frame 18) of the simulation included as well as the folder for the saved instances of low- and high-res geometry. Thanks a lot for your help, Martin (Here's the pic of the low-res geometry, the high-res is basically every piece bricked down into ~80 times more polygons.) Martin_RBDdestr_RSproblem_archive.zip
  8. Redshift Volume Emission Problems

    Hello Atom, thank you so very much, I got it working now. Apparently all the tweaking in the world is useless if you ignore the fact that there are two more parameters with slightly weird names!
  9. Hello fellow scientists,I am currently working on a shot where I want to render out an indoor-explosion over about 50 frames. Now since I can't get my mantra render-times below 20 minutes (in FHD) I had hoped to render the volume in redshift more quickly because I have had good experiences with rendering just density in RS.The problem comes up as soon as I start to use emission with redshift. I start to get very weird boxes of emission around the edges of my volume (it seems to be like 16 cubed boxes of voxels reminding me of compression.) - screen attached. Screenshot_50 has about the look I want to achieve, but with this weird halo. When I amp up the emission, the boxes become apparent.Not sure if I tried switching to VDB to render, but I'm not hopeful that would change much.Has anyone come across this issue before?Attached is also my hipfile with the way I set up my render and one cached frame so you don't have to sim again. (Including my approach to an indoor-explosion for anyone who might learn something from that - please do!)I would really appreciate any thoughts on this. (And if my decision to move away from mantra in this case is actually remotely sensible - I'm really unsure.)Thanks,Martin Grenade_RnD_v20.hip
  10. Render ROPs in background

    Hello! I have a question concerning ROPs, because I can't seem to figure out how to render them "in the background" as you can do with other write-to-disk SOP-nodes or Mantra-render-nodes. I really like this options as it gives me the ability to still work in the same scene without having to open another window. My particular case is that I have a flip sim and want to render two caches out at the same time (one fluid cache, one surface), frame-by-frame dependent on each other. If, as I expect, you say that there is no way to do this, because of the dependencies, then I'm fine with that. I just wanted to ask if I missed some usual Houdini-black-magic. Thanks!
×