PDA

View Full Version : Getting 3delight to work with massive.


SilentRage
05-27-2010, 11:35 AM
I hope someone sees this and can help me out, in a pinch here!

In massive I set the beauty pass to render with 3delight, created a box, attached a random geo to it(in this case shirt.obj), then put on a material and assigned a 3delight plastic shader to it,
went to run > sim, clicked on output Sim in amc format and Rib with 3delight.dll, and clicked go.
I got an amc file and a series of rib files that read like this

Procedural "DynamicLoad" ["massive_3delight.dll" "1 (null) F:/new.amc 1"] [-10 10 -10 10 -10 10]

When I try a commandline render, I get this

C:\Program Files\3Delight\bin>renderdl f:\a0001.rib
# Rendering f:\a0001.rib ...
3DL ERROR P1051: [f:\a0001.rib:1]: invalid context for 'RiProcedural'

Can someone tell me what's going on?

Gravedigger
05-27-2010, 12:09 PM
never used massive yet

the error you get tells you that the RiProcedural call is not valid at the point where it's called. i think you simply took the wrong rib file

its common to create several ribs which are then loaded within one job rib. do you have a rib which loads the others? what ribs did you get?

grs
Gravedigger

SilentRage
05-27-2010, 12:26 PM
The massive manual states rib files should be generated each frame for each of the following scene elements,
lights that require shadow maps, agents, and terrains.
And a master RIB should be genereated each frame that links to the above ribs.

I currently have no shadow map enabled lights and no terrain in the scene, so it should only generate agent ribs and master ribs, so far all it outputs when I do a sim is the above mentioned sims,

Procedural "DynamicLoad" ["massive_3delight.dll" "1 (null) F:/Massive/Sim/frame.4.apf 4"] [-0.1 0.1 -0.1 0.1 -0.1 0.1]

For example this one referes to frame.4 apf, which is the animation data, and massive_3delight.dll is supposed to be loaded when rendering to generate the geometry for the agents.

I guess I must be missing the master rib files?

Gravedigger
05-27-2010, 12:50 PM
hmm i really don't have any experience with massive so you will have to wait until someone else can answer that

i just can say that the rib you tried to render does calls in a wrong context which is common for sub ribs called from master ribs

so yes i think your master rib is missing

fudini
05-28-2010, 12:08 AM
Its probably worth noting, recently Aghiles posted a warning for Massive users:
http://www.3delight.com/en/modules/PunBB/viewtopic.php?id=2075

Those of you using Massive, please make sure to use the following attribute at the beginning of your RIBs:

Attribute "procedural" "reentrant" [0]

This disables an "optimization" in 3Delight that Massive cannot handle for now.

SilentRage
06-01-2010, 03:12 AM
Thanks guys, I'll give this a try when I get to work, but I suspect I'm indeed missing the master rib. :/

SilentRage
06-02-2010, 07:04 AM
Someone please help me figure out where the master ribs went, got people breathing down my neck here.

lunat1k
06-02-2010, 07:20 AM
The render ribs you need are specified in Options > Renders > Render parameters > output ribs.

SilentRage
06-02-2010, 09:38 AM
I tried setting up render parameters, then I setup a sim and ran it, but it still only spits out the same set of ribs as before, the ones that does a RiProcedure call.

CGTalk Moderation
06-02-2010, 09:38 AM
This thread has been automatically closed as it remained inactive for 12 months. If you wish to continue the discussion, please create a new thread in the appropriate forum.