Toast
Hi,

I've been super impressed with instance manager. I currently use VRayScatter but the logic behind instance manager makes great sense with it's layers and heavy scenes. It's certainly a lot more intuitive than xgen and doesn't need the alembic conversion step and also to my delight renders native vray proxy nodes.

However I thought of one possible useful feature and I have also discovered what appears to be a bug with the instance node in soup.

For the "bug" it appears if you instance like 500,000 points across a surface, the points display perfectly fine, however objects won't render with V-Ray when representation is set to points.

So one has to switch the node from points to instances for V-Ray to render. By default it is set to objects which can sometimes crash a video card and maya on high settings. So I found that box is the best setting (the bug I'm reporting is that if I have one scene with 200000 scattered nodes) and the one bounding box is actually slower than the display of points. Like to the point of locking up maya.

In terms of features, coming over from VRayScatter - I think the following would be pretty cool addition if it is possible;

Surface/border edges detection and the ability to control spawn points by a ramp. So we can control that "no point can spawn within 5m of the edge of the surface" for example. Thanks for reading.

Look forward to more soup now that I have my first taste of it!
Reply 0 0
pshipkov
Glad to hear you like the instanceManager.

I guess you cannot render instances when in point mode because the instancer is hidden. This is for VP2 performance reasons. Maya lacks deferred loading of data at render time and things have to be live. If i leave the instancer visible then VP performance will suffer. Bounding box modes of the instancer will still need time to compute from the actual geometry, so internally geometry is instanced in order to calculate the bounding boxes, just data is not drawn on screen. That's why it is pretty bad slow.
EDIT - this is how Maya's instancer works, there is not much i can do about it.
I will try to find a workaround for your rendering problem - basically keep instancer hidden but still being able to render it.
The real solution is to write a render procedural to take care of that at render time. We can ask the VRay guys to consider implementing it in VRayScatter.

I whish maya had a proper lazy evaluation / delayed load rendering pipeline.
I on purpose never expanded SOuP to cover rendering because MR never felt right and especially in the recent years pretty much no one used it. Now with Arnold things are different and i consider already adding more render time functionality.

----

I like your idea about border edges. Will do.
Reply 0 0
Toast
Thanks Peter. That makes a lot of sense.

I've found a workaround and that is if you hide the LOD of the group containing all the nodes for the instancemngr node, then the VP2 seems to be happy and back to full FPS. True, you get no bounding box information, but that doesn't really matter I guess once a scene is finalised for rendering. I think this is perfectly acceptable and it will still render too.
Reply 0 0
pshipkov
deleted
Reply 0 0
Toast
There seems to be a memory leak but I'm trying to find out why and how. I'll post back here but it seems to be related to scattering a specific item.

Edit: it actually seems that the leak is happening with V-Ray detecting the scatter node. If I have it set to Auto it will work, but then something will trigger and it will start rendering with insane amounts of RAM being used. If I change it to dynamic it's okay.
Reply 0 0
pshipkov
weird. no idea.
Reply 0 0
Reply