Page 1 of 2
Memory free instance scattering in 3ds max?
Posted: Tue Sep 15, 2015 10:43 am
by Rik
OK I give up. All I want is real grass.
So what's this about?
I create thousands of instances of an octane proxy using array octane sees them as instances with no memory hit.
I create thousands of instances of an octane proxy using object paint and octane also sees them as instances, again no memory usage.
Great.
Then when using the scatter tool octane sees the scattered objects as completely different meshes and cripples the memory.
I know about the various overcomplicated expensive plugins but they all cost money - more than I paid for Octane. Forest lite is free but only works on flat surfaces which is a big problem.
If Octane can make thousands of instanced meshes with no hit to memory, why can't it work with max's native scatter tool.
Arghhh
Re: Memory free instance scattering in 3ds max?
Posted: Tue Sep 15, 2015 2:12 pm
by akira
if i were you, i would use particle flow instead of scatter obj.
Re: Memory free instance scattering in 3ds max?
Posted: Tue Sep 15, 2015 2:57 pm
by Rik
Thanks. Looks great but still has the problem of not acting like instances so when you ramp up the number of teapots/grass the memory gets eaten up.
When I use an octane proxie they render out as the low level detail display model. Switching the proxie's display level of detail to original means they show up in the render but the memory gets used up again.
Cant understand why certain methods of generating many copies of an instance will not use up memory yet other methods eat it up...
Re: Memory free instance scattering in 3ds max?
Posted: Tue Sep 15, 2015 3:28 pm
by suvakas
I think scatter tool outputs everything as a single mesh in Max SDK during rendering time. So there is no way to get the info of separate elements.
Particle flow support should be possible though. It's up to a plugin writer if he is willing to invest a bit of extra time. It's much more easier (and faster to code) to render pFlow as a single mesh too.
Suv
Re: Memory free instance scattering in 3ds max?
Posted: Thu Sep 17, 2015 12:43 pm
by 3dgeeks
The problem is in maxes Native scatter tool. It has never treated anything as instances. There are a lot of other free ways to do it in max like painting object onto a surface that will still maintain instancing.
Re: Memory free instance scattering in 3ds max?
Posted: Thu Sep 17, 2015 1:53 pm
by Rik
Yeah, I end up using the paint tool which is OK but a bit time consuming if you're having to paint a field of grass...
Re: Memory free instance scattering in 3ds max?
Posted: Tue Apr 12, 2016 9:11 am
by Rik
I've not been working on this for the past few months, honest. But I have a bit of a solution/workflow for octane renderable instances on terrain, using free plugins which is nice. so I though I'd share.
Hopefully someone will tell me of the better way to do it...
draw shape of field/lawn
if 3d then normalise spline to get more detail for correct levels of elevation
POPULATE TERRAIN script to make it geometry
make sure trees/grass are octane proxys
move the tree/grass up in z
INSTANCE not copy the tree/grass in row
INSTANCE not copy the row so you have a grid of the trees/grass overlapping the terrain
OBJECT RANDOMISER script
random move x y for variance
random rotate only y or z, depending on tree/grass geometry for variance
SCRIPTED GLUE script
select terrain to make it the base object
select the trees/grass objects and click glue
if grass turn surf align on, if trees or v tall grass leave surf align off
in side view delete all trees/grass not glued/needed
OBJECT RANDOMISER script
Scale the trees/grass for variance
Boom!
Bit of a faff but hey it's free and you don't need to spend time learning new software.
Did I mention it's free?
Did I mention the trees/grass/teapots stay as Octane renderable instances.
Re: Memory free instance scattering in 3ds max?
Posted: Tue Apr 12, 2016 9:33 pm
by azen
Hi,
More intuitive support MAX support for instances certainly deserves high priority during the on-going development of the 3.x releases. Where this would fit into the greater task list will become much clearer as we get closer to release. Good to see that you came up with a very impressive workaround - here's to putting an end to as many of these kind of workaround approaches as soon as possible with Octane 3
Re: Memory free instance scattering in 3ds max?
Posted: Wed Apr 13, 2016 6:06 am
by mbetke
If you want Grass with full control and low memory usage get Forest pack Pro from itoo Software.
Re: Memory free instance scattering in 3ds max?
Posted: Wed Apr 13, 2016 6:34 am
by Rik
Thanks Azen. Hopefully by 'more intuitive' you mean 'will work'
Would be really fantastic to have Octane instances work with all the modelling tools. For starters how about...
Max's own scatter tool (obviously)
AvisStudio Atiles plugin
http://www.avizstudio.com/tools/atiles/
Populate Panels
http://populate3d.com/products/panels/
I've tried Forestpack lite and it does look amazing. Snag is that for the number of times I'd use all that functionality it seems a nut-ache to have to spend £160 on the pro version when Octane should just work properly so I don't need to spend my hard earned loot.
If the Forest pack lite could use 3d terrain then I'd just use that but unfortunately it's restricted to 2d base objects