In article <38CCE027.44616417@iris.seed.net.tw>,
Michael Marine Leeson. <marine28@iris.seed.net.tw> wrote:
>
>Is it true that frankenrender is still
>not available in IntelNT's port?
Correct. frankenrender is not yet running for NT.
Actually, if anybody is interested in lending a hand... The problem
is that I have no idea how to write the equivalent of the popen2
function, which is listed on p. 503 of the "Advanced RenderMan" book.
It takes the name of a command, opens a pipe to it, and returns int
file descriptors to the stdin and stdout of that process.
If anybody has an equivalent routine for Win32 that they don't mind
giving me, I'll happily fold it into BMRT and release the ray server
capabilities.
-- lg
--
Larry Gritz Pixar Animation Studios
lg@pixar.com Richmond, CA
От:Andrew Bromage (bromage@goaway.cc.monash.edu.au)
Заголовок:Re: rayserver in BMRT2.5 NT?
[snip]
This might help:
http://sourceware.cygnus.com/cygwin/
In particular, look at the winsup directory which provides equivalents
for standard Unix calls like fork() and pipe() on top of Win32.
Cheers,
Andrew Bromage
От:Gregory Ecker (gxe@panix.com)
Заголовок:Re: rayserver in BMRT2.5 NT?
Larry Gritz wrote:
> [snip]
> Actually, if anybody is interested in lending a hand... The problem
> is that I have no idea how to write the equivalent of the popen2
> function, which is listed on p. 503 of the "Advanced RenderMan" book.
> It takes the name of a command, opens a pipe to it, and returns int
> file descriptors to the stdin and stdout of that process.
> If anybody has an equivalent routine for Win32 that they don't mind
> giving me, I'll happily fold it into BMRT and release the ray server
> capabilities.
>
this command is called "_pipe". I've included the documentation below.
Greg Ecker
Programmer
Manhattan Transfer
_pipe
Creates a pipe for reading and writing.
int _pipe( int *phandles, unsigned int psize, int textmode );
Routine Required Header Optional Headers Compatibility
_pipe <io.h> <fcntl.h>,1 <errno.h>2 Win 95, Win NT
1 For _O_BINARY and _O_TEXT definitions.
2 errno definitions.
For additional compatibility information, see Compatibility in the
Introduction.
Libraries