Mathematica 9 is now available
Services & Resources / Wolfram Forums
-----
 /
MathGroup Archive
2004
*January
*February
*March
*April
*May
*June
*July
*August
*September
*October
*November
*December
*Archive Index
*Ask about this page
*Print this page
*Give us feedback
*Sign up for the Wolfram Insider

MathGroup Archive 2004

[Date Index] [Thread Index] [Author Index]

Search the Archive

RenderMan RIB bindings

  • To: mathgroup at smc.vnet.net
  • Subject: [mg51161] RenderMan RIB bindings
  • From: flip.phillips at gmail.com (flip phillips)
  • Date: Wed, 6 Oct 2004 04:35:21 -0400 (EDT)
  • Sender: owner-wri-mathgroup at wolfram.com

Years and years ago (in 1988 to be exact) while I was at Pixar I put
together a package in Mathematica that would output RI files (back
then called RIP files... oh the memories).

I have an experiment where I need to generate a bunch of entire scenes
(not just export Graphics3D) so I resurrected the concept (new code)
and have a mostly complete implementation of the RIB bindings
available from within Mathematica. You can do things like:

RiBegin["test.rib"];
  RiWorldBegin[];
  RiTransform[...,];
  RiSphere[...];
  ...
  RiWorldEnd[];
RiEnd[];

Its not fully done enough to make available autonomously, but if you'd
like to experiment with it / help me finish the port off please get in
touch and I'd be happy to share it.

As of right now it has about 90% of the routines. It is a MathLink
program built inside Xcode for MacOS X. It requires a relatively
current RIB library. In the spirit of the Pixar code my colleagues and
I wrote back then, it consists of one monstrous MathLink template file
and another similarly huge .c glue file, so it would be trivial to
port to other platforms.


  • Prev by Date: recover a value in module at the end
  • Next by Date: Re: notation for integration limits
  • Previous by thread: Re: recover a value in module at the end
  • Next by thread: No more memory available