Stephen Posted August 1, 2017 Share Posted August 1, 2017 Im just getting into redshift and I have been googling around try to figure out if using the instancefile att is possible. I would like to instance files off disk so that I can have control over the frame of the cache that I'm instancing. I set up this simple test scene so feel free to take a look and point out what I have missed. Thanks, Stephen rs_instance.hip Quote Link to comment Share on other sites More sharing options...
Stephen Posted August 1, 2017 Author Share Posted August 1, 2017 solved... Just had to export the .rs proxy file from Redshift ROP > Archive tab. Now instancefile is working is working. Would be great if that was broken out like the Geometry ROP. Quote Link to comment Share on other sites More sharing options...
Atom Posted August 2, 2017 Share Posted August 2, 2017 (edited) Thanks for the follow up. Can you explain a bit more how to achieve this using your example file? I have written your box object to disk $TEMP/box.$F4.bgeo. Then I go to the out context, under the Archive tab on the Redshift ROP, and enable Export .rs Proxy. $HIP/filename.$F4.rs When I render the scene is blank. Are there any other adjustments I need to make to see this feature work? Edited August 2, 2017 by Atom Quote Link to comment Share on other sites More sharing options...
Sepu Posted August 2, 2017 Share Posted August 2, 2017 Hey Atom, This is the same scene. Just make sure that in the ROP when you are doing the proxy (.rs file) you have just the Box in the force obj. instance.zip Quote Link to comment Share on other sites More sharing options...
Stephen Posted August 2, 2017 Author Share Posted August 2, 2017 (edited) Hi Atom, I attached the solve. Unfotunatly .bgeo is not supported when using instancefile. @Sepu fix works as well. The .rs file takes the place of the .bgeo The key is in the OUT context. In the file attached I have separated out the steps. It seems like redshift has combine the rop for rendering and exporting their (proxy)geometry. So set up one rop to cache out the .rs file/s and another rop to render the image. I attempted to cache the .rs file with a ROP Output Driver but it did not work. There must be some magic behind the Redshift ROP. rs_instance_v002.hip Edited August 2, 2017 by Stephen 2 Quote Link to comment Share on other sites More sharing options...
Daryl Dunlap Posted August 3, 2017 Share Posted August 3, 2017 Valid point. Just submitted and got accepted an RFE to expose RS Proxy creation on the Geometry ROP. This will make it alot easier to control whats in the Proxy as well ( right now you have to use Bundles on the Render ROP ) There are several other features ahead of this one (such as Stylesheet support), but at least its on the TODO list. 1 Quote Link to comment Share on other sites More sharing options...
Atom Posted August 3, 2017 Share Posted August 3, 2017 (edited) Thanks for the example files, I got it working. I did find that to see the instances in the viewport I have to use both options, @instance and @instancefile. Does this mean Redshift is rendering 2 object on top of one another? Here is what I ended up with inside the Instance node in the final wrangle. s@instance = "/obj/cache_me_first"; s@instancefile = "$HIP/box.0001.rs"; Edited August 3, 2017 by Atom 1 Quote Link to comment Share on other sites More sharing options...
Stephen Posted August 3, 2017 Author Share Posted August 3, 2017 13 hours ago, Daryl Dunlap said: Valid point. Just submitted and got accepted an RFE to expose RS Proxy creation on the Geometry ROP. This will make it alot easier to control whats in the Proxy as well ( right now you have to use Bundles on the Render ROP ) There are several other features ahead of this one (such as Stylesheet support), but at least its on the TODO list. Thats great! I need to start postings over at redshift. @atom I just did a really quick test and it looks like the instancefile attribute takes priority over the instance attribute. So you shouldn't be getting duplicates. 1 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.