enzyme69
Dear SOuP evangelists,

I am learning a little bit about 3Delight (more seriously_ at this moment and testing the SOuP Instancer in all kinds of way, somewhat it works really well to my surprise. Easy to set up randomized points in 3D space.

My test is still super simple, but I am excited about the possibilities. I tried exporting really simple RIB archive from Blender (monkey), using Matt Ebb File-Export-RIB (I am thinking in the future, maybe I can render out RIB sequences. This RIB archive does not even have materials.)

I see the potential for "simple crowd system", I really don't know if this would work yet. And the cool this is the Interoperability using RIB and 3Delight, and all kinds of 3D packages..

So far, everything ends up in Maya to layout everything back together and render. And since Maya has SOuP and also 3Delight support, it all works nicely so far.
  • Each RIB archives, can have each own sequence of animations, and hopefully can be offset with variations as needed. I don't know how yet. But by doing this, Instance can have its own sequences and inside SOuP we just worry about randomizing Points and Transformation.
  • I am not 100% with Shader handling, UV, etc, I guess all can go into RIB archive.
The questions:
1. Is it possible in anyway to see/view/display 3Delight RIB archive in 3D view as a more informative Bounding Box using any available SOuP node, instead of just a box without any orientation clue? Sort of like a variation of Display Component. Maybe can be idea for future SOuP node?
2. What would be recommended for Point Cloud (with sequence) to import into Maya (with SOuP network), if I were to do this from Houdini? So far, with Point Cloud, I am thinking PLY. Maya does not really handle "just points" I don't think, unless it becomes Particles.

Sorry my question may be too big and a little bit OT from SOuP scope. Anyhow, I just want to mention it.

Thanks.

- Jimmy
Reply 0 0
enzyme69
Hack like Hosuk did here would work actually (for RIB dummy shape).
Reply 0 0
noizfactory
Welcome to the rib archive (and by extension Renderman) world :)

1. Unfortunately, one can not view rib archives directly in the viewport. However, you can always use extreeeeeemely low res geometry as just the rib box placeholder and run a post geo mel on it to replace it with the actual rib archive at run time (just liek with the 3delight rib archive node that you're already familiar with ;). Or there are other workflows which brings me to your 2nd question.

2. Look for John Cassella's excellent partio4Maya tool which he has also posted about in this very forum. This can easily interchange between multiple particle/data formats from different apps including bgeos from Houdini and bring them into Maya at 0 cost :-) Its a truly excellent plugin built using the open source partio library from Disney. It can use its own partio emitter to use the bgeo cache and "emit" the baked points as regular maya particles so you can access and post-process them in SOuP. Yeah, I know - awesome!

Circling back to (1) - for rib boxes you can even use double negative's open source  dnPtcViewerNode node as a rib box (I often do that). This node can draw renderman ptc file in your viewport as a locator node. So you can bake extremely low density point clouds (only few KBs should suffice) and that would give you a rough idea about the geo as well as provide the correct bounds. Even hundreds of thousands of these in the instancer node would draw decently enough. The web page contains the source files which you can compile and build against the 3delight and Maya libraries. If its confusing, lemme know and I'll try compiling it this weekend if I find time (only got 2012 though).

Besides these there are some really great libraries like cortex vfx lib out there which provide methods of rendering a complete geometry procedurally (and with viewport feedback too) but these require more time and involvement (besides programming knowledge) to set up.
Reply 0 0
enzyme69
Thanks again Sachin, I will take a note. Lots of information, but exciting.

1.
I just found interesting fact this morning: RIB Archive of 3Delight can at least understand Bounding Box for object that is exported via 3Delight. I tried exporting RIB Archive via Renderman, but I am not getting the BBox.

Maybe it has extra information attached. I will study that.

But your advice is great, I think low res placeholder is totally fine. This certainly can be hacked in many different way.

2. 
Partio4Maya... I think I heard about it not long ago, maybe from you, but I forgot to check. Is it awesome? I must take a look really soon.

3. 
Ptc viewer node... ok noted, and will check it a bit later. Wait.. did you say it needs to be compiled? Compile is confusing for me. I am using 2012 Maya Student Version, so it will be great.

Cortex VFX, I heard about this also. Dr.D Studio research. I heard it is really powerful, but I don't know much. Maybe I should ask another friend, Dan, he knows a lot.

Methods of rendering a complete geometry procedurally ... 


Reply 0 0
noizfactory
1. RfM also exports bounding box values into the rib. However, depending on which version you are using, the behavior can vary. The initial version (RfM 1.0) had very poor controls for calling back exported ribs on proxy geos. I don't think that ever had a resize option at all. But if you are using the newer versions then there is a resize check box that's added when you use "Add Archive Controls". Just swicth that on and the proxy ribbox/geo should be resized. However, by default it only works with ascii ribs.

If you want to use DelayedReadArchive but want to avoid this messy resize business then simply create a cube and manually scale it to cover the entire volume of the object that you exported as ribs. You can scale it slightly bigger to give yourself some buffer space. Then freeze transform it and call your read archive script on this one. Now these bounds would go into the DelayedReadArchive calls.
Reply 0 0
pshipkov
few notes from me also

ribs data can be converted to maya  geometry, many studios have tools that derive geo from selected bbox for given frame. it can be slow.

to manipulate shaders you will need rifilter.

i didnt check rs2, but i prefer to generate bboxes as a separate process. this way we customize prev/current/next frames combos for moblur coverage or expansion for rendertime primitives like hair clumps or instances, etc.

ply wont do it for particles, go for partio or own thing.
Reply 0 0
enzyme69
Thanks Sachin and Peter!
So, the answer should be:
1. RIB Archive has certain workaround.
2. Check Partio in the near future.
Reply 0 0
Reply