domino Posted January 23, 2010 Share Posted January 23, 2010 Hello, I am working on a rather heavy dop simulation. I added a fileDop in my AutoDopNetwork and rendered out the sequence to .sim files. My question is now how do I go about reading that .sim information back in and then apply a shader and then render it out? I originally tried to render the dop sim straight from Mantra but it kept freezing at frame 1 so I thought I should go about it the .sim files way. Any help would be very greatly appreciated. Thanks! Quote Link to comment Share on other sites More sharing options...
aracid Posted January 23, 2010 Share Posted January 23, 2010 Hey Domino Once you've written out the data using the Ffile DOP, If you set the file DOP Node to Read, it will bring in the .sim files then you treat it like any DOP Simulation, where you bring in the simulations using the DOP I/O SOP. I've attached an example DOP.hipnc Hope this helps Quote Link to comment Share on other sites More sharing options...
domino Posted January 23, 2010 Author Share Posted January 23, 2010 Awesome thats great. Though now my problem is trying to write out the sim info. Keeps jamming 1/2 way through with that annoying memory allocation error. How should I go about getting around this? I am doing a a field of grass with wires in dops and it has to be rather heavy due to the density of the grass. Quote Link to comment Share on other sites More sharing options...
aracid Posted January 24, 2010 Share Posted January 24, 2010 Hey Domino if you simming out too disk, and there's no real need to keep the data in memory, Under the DOP Network, at the object level, or if its a dopnet in sops - on the actual DOPNET under the Simulation tab, un-tick the cache simulation -> this will basically just produce data per frame and throw the data away straight afterwards. Hope this works Quote Link to comment Share on other sites More sharing options...
domino Posted January 27, 2010 Author Share Posted January 27, 2010 grass jan26.hip Hi there, Thank you that was a great help. I exported the simulation to file, grass affected by a tube. The rendered sim data shows only the grass, which is what I wanted, but now that I've brought in the outputted .sim data in a dopimport node but I am getting the grass geo AND the tube geometry. I know the answer is staring me straight in the face, but I can't figure out how to just view the grass. Maybe I've been at my computer too long LOL! File is attached if you want to see what I'm getting at. Thank you to everyone in advance! This forum is so helpful. Quote Link to comment Share on other sites More sharing options...
wolf_cub_one Posted January 27, 2010 Share Posted January 27, 2010 The problem is that in your DOP_IMPORTED_.SIM_info node > dopimport1 node > Object Mask field has a *, which denotes that it wants all the data to be used. If you want the grass only then you need to tell it exactly that. You can do this by using a dopobjscreatedby expression, type in the number of the object, or type in the name of the the actual object: So in your case: `dopobjscreatedby("/obj/AutoDopNetwork/grid_object1")` or 0 or grid_object1 I hope that was clear, if not just ask for further explanation. HTH Quote Link to comment Share on other sites More sharing options...
Netvudu Posted January 27, 2010 Share Posted January 27, 2010 Yup. What wolf said. The only reason to use the `dopobjscreatedby` expression as opposed to the name of the dobject (which is obviously easier to remember) is that using the expression you can change the name of the object at DOPs and the whole thing will still work. 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.