Delayed Read Archive Question

   2617   0   1
User Avatar
Member
82 posts
Joined: 4月 2019
Offline
HI………..

I am writing a Procedural Primitive for Renderman.
The attempt is to write a fur procedural for renderman.
In my DSO, I am creating multiple curves using , RiCurvesV() function.
It is working. It creates multiple curves with given points. Now, instead of curves,
I want to place a custom geometry, with LOD. So I am using Delayed Read Archive.
My code is something like this..

RtString args = {“/home/jaideepk/grass_1.rib”};
RtBound mybound = {-1, 1, -1, 1, -1,1} ;
RiProcedural((RtPointer)args, mybound, RiProcDelayedReadArchive,NULL);

Is it the right way to call archive? I am getting a blank output.

My grass_1.rib file is in RIB binding and not C_Binding. Is that wrong??

Plz Help
iamjaideep80 (Jaideep Khadilkar)
  • Quick Links