but the b.rib is not generated at all. It seems that the
nested RiBegin~RiEnd pair is not supported in Pixie2.2.6.
And could you tell me whether the code on the trunk support this now?
Thank you
yaoyansi
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi Yaoyansi,
Pixie does not support nested RiBegin/RiEnd. According to the interface, this is invalid. However, you can use RiArchieve to create rib files.
Okan
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi, all
I test this code with the *.h and *.lib files in Pixie-win-2.2.6.zip.
int main(void)
{
RiBegin("a.rib");
RiColor(Color);
RtContextHandle oldContext = RiGetContext();
RiBegin("b.rib");
RiColor(Color);
RiEnd();
RiContext( oldContext );
RiEnd();
return 0;
}
but the b.rib is not generated at all. It seems that the
nested RiBegin~RiEnd pair is not supported in Pixie2.2.6.
And could you tell me whether the code on the trunk support this now?
Thank you
yaoyansi
Hi Yaoyansi,
Pixie does not support nested RiBegin/RiEnd. According to the interface, this is invalid. However, you can use RiArchieve to create rib files.
Okan