Search the Community
Showing results for tags 'proxy'.
-
hey, we're working on a project where I cache a proxy of geo, do my pops sims, and call the proxy from disk at rendering time using the "instance file" attribute per point. works great. However, the whole scene needs to be Archived to a redshift "Scene Proxy" and sent over to another artist who has different named drives. it works great when rendering from my end, but when the other artist using Maya imports the "Scene proxy" which calls the "Geo proxy" from Drive and it fails to load because it isn't the same path. in the Docs, it mentions using the REDSHIFT_PATHOVERRIDE_FILE can be used. I was hoping it would be like in obj level the override user data tick box to override that proxy path, like the "Material Override list". But it isn't the case. the Doc states So, for example, if the environment variable is set to REDSHIFT_PATHOVERRIDE_FILE = C:\mypathoverrides.txt ... the file mypathoverrides.txt could contain the following, which helps to map from a local folder to some shared network location "C:\MyTextures" "\MYSERVER01\Textures" "C:\MyVDBs" "\MYSERVER01\VDBs" How do I Implement it in Houdini and in Maya? thanks
-
With the help of both the Redshift community and resources here, I finally figured out the proper workflow for dealing with Redshift proxies in Houdini. Quick summary: Out of the box, Mantra does a fantastic job automagically dealing with instanced packed primitives, carrying all the wonderful Houdini efficiencies right into the render. If you use the same workflow with Redshift, though, RS unpacks all of the primitives, consumes all your VRAM, blows out of core, devours your CPU RAM, and causes a star in nearby galaxy to supernova, annihilating several inhabited planets in the process. Okay, maybe not that last one, but you can't prove me wrong so it stays. The trick is to use RS proxies instead of Houdini instances that are in turn driven by the Houdini instances. A lot of this was based on Michael Buckley's post. I wanted to share an annotated file with some additional tweaks to make it easier for others to get up to speed quickly with RS proxies. Trust me; it's absolutely worth it. The speed compared to Mantra is just crazy. A few notes: Keep the workflow procedural by flagging Compute Number of Points in the Points Generate SOP instead of hard-coding a number Use paths that reference the Houdini $HIP and/or $JOB variables. For some reason the RS proxy calls fail if absolute paths are used Do not use the SOP Instance node in Houdini; instead use the instancefile attribute in a wrangle. This was confusing as it doesn’t match the typical Houdini workflow for instancing. There are a lot of posts on RS proxies that mention you always need to set the proxy geo at the world origin before caching them. That was not the case here, but I left the bypassed transform nodes in the network in case your mileage varies The newest version of Redshift for Houdini has a Instance SOP Level Packed Primitives flag on the OBJ node under the Instancing tab. This is designed to basically automatically do the same thing that Mantra does. It works for some scenarios but not all; it didn't work for this simple wall fracturing example. You might want to take that option for a spin before trying this workflow. If anyone just needs the Attribute Wrangle VEX code to copy, here it is: v@pivot = primintrinsic(1, “pivot”, @ptnum); 3@transform = primintrinsic(1, “transform”, @ptnum); s@name = point(1, “name_orig”, @ptnum); v@pos = point(1, “P”, @ptnum); v@v = point(1, “v”, @ptnum); Hope someone finds this useful. -- mC Proxy_Example_Final.hiplc
- 13 replies
-
- 10
-
- instancing
- proxies
-
(and 3 more)
Tagged with:
-
Hey guys, I need to send a large point cloud which instances geo to the cloud to render. The problem I'm having is the instancefile attribute is absolute, and once the project is uploaded to the cloud render environment the path is no longer relevant/correct. Redshift does not seem to expand strings at render time, so $HIP or $JOB do not get evaluated afaik. I've also tried setting the path to a node within the .hip file. For example, this will work: M:/_Work/_Personal/sandbox/rs_proxy_relative/rs_proxy/teapot.0001.rs But this will not: \$HIP/rs_proxy/teapot.0001.rs Nor will this: /obj/teapot_rs/OUT/ I've attached a super simple setup where I get instancing working using an absolute path (it references the output of the RS Proxy Output SOP). Is there any way to get Redshift to to instance from a path that is relative to the project folder, or a node within the .hip file? Or has anyone had experience getting Redshift instances rendering on Gridmarkets? Thanks all! Note: I've also tried using the instance obj node (see v002 hip attachment). BUT the issue I run into with this is it maxes out my GPU's VRAM at render time, whereas using an absolute path with instancefile renders just fine with the ~6m points I need to instance on. rs_proxy_relative_v001.hip rs_proxy_relative_v002.hip
-
Hey guys, I have a vellum setup in dops where I'm dropping gummies. So far, to replace vellum geo, I used a point deform, that worked when I had same mesh as input in vellum and point deform, but on Dops I'm emitting 1 gummie after 10 frames, so not sure how to approach this. I tried using this expression $FF%10==1 in the timeshift for the point deform, but isn't working since doesn't take all the other dop meshes. I also tried some stuff in a sop solver within Dops with no luck Any tip to get a original uv mesh in this kind of setup will be super helpful Thanks!
-
Hey guys, I try to export particles to maya with a redshift proxy but when I try to export it, the proxy appears empty. I tried using both the Output Proxy Sop and the Redshift Rop and both give the same result. Is there anyone who know why this would happen ? Cheers,
-
Hi, I'd like to get some help from you, because I ran out of ideas. It's about Redshift proxy and instances. I'd like to make forest with different colors with the "RSUserDataInteger" in the Redshift Material in shop network. I tried with the simple box example, and it worked. However, when I use the material override in different ways for the proxy trees and it uses only one color, so I cannot randomize colors. I attached the hip file and proxy tree for you to examine. Thank you in advance! switchShaderTest_02_v003.hiplc tree_01_v01.rs
-
Hi Guys, is there a way to have tree meshes scattered on a terrain with variance in leaf colour on every single tree so that no two are the same colour? back in the Softimage/ICE days i could scatter points on a terrain mesh and give the points a random colour then i'd create a plant or tree mesh with different materials for bark, leaves etc, in Softimage's node based material builder i would plug in an attribute node into a colour mixer merged in with the leaf texture map, this attribute would read the random colour generated on the scattered points then i'd export the tree mesh as a Redshift proxy at render time the proxies would be loaded in, and each individual tree's leaves would be given an individual colour variation within a specified range based on the random colour from the scattered points this would mean each individual tree would have a unique colour added to its leaves and would be quick in the viewport/quick to render because of RS proxies (it also worked for Arnold standins) I've been trying to do this in Houdini but am hitting a wall, I've tried material style sheets but that requires me to create a different override for each parameter i want to control then assign specific trees to those overrides, its still not giving me unique colour variation per tree, its also quite a pain to set up, on top of that mat style sheets don't work if there's more than one material on a mesh which makes it redundant in this scenario I've also tried user data + attributes + shader switch but again you're using a mixer to switch between different specific shaders that you have to individually build, am i missing something? thanks for your help Houdiniers
-
Hi, I'm trying to find a way to export nested .ass files - for example with a crowd. I can get a crowd exported using alembics using this method - but I was wondering if anyone could point me in the right direction for exporting, say, each agent as an arnold procedural within a single arnold procedural i.e. nested. cheers
-
Hi Guys, I need some expert advice and insights on this project I'm working on. I'm doing some RnD first before moving to bigger scale so I can provide you guys with the HIP file. The objects however (barrels and table pieces) I cannot share with you. But maybe there's something in the dop nodes or solvers that you can spot right away. I'm working on a flood scene where there's a lot of debris and rubble that needs to be transported by the water. Please have a look at the video. The barrels seems to acquire a spin which at one point is out of control! I can imagine this could be the rotational stiffness... but the exploding (and stuck) piece of table is still a mystery at the moment. As you can see I'm also having trouble controlling the buoyancy of the objects in the fluid. Right now I use the density to try and float pieces but it's not entirely working the way I want it. To sum it up: - The wooden planks need to float - barrels need less spin and need to be embedded more in the fluid. - the tables obviously need to stop launching like superman . any advice or tips are greatly appreciated . High-RBD_count-in-fluid-006.hip
-
What are the benefits/applications to creating an .rs proxy of a light? I only ask because I did not realize I was creating an .rs proxy of my object and the light in my scene when I created my archive. I realize now that I just have to check on the "export only selected objects" and it will exclude the light. It would have saved me a few hours of digging if that was checked on by default. Thoughts?
-
Hello. I'm making an RBD simulation that involves several hundred point objects. For performance reasons I'm simulating several types of low-res objects but I'd like to replace them with their high-poly versions at render time. I looked up the docs, but cannot find any info there on how to do it. Could someone perhaps give me a hint?