Talk About Network

Google


Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Graphics > RenderMan interface > Compiling Rende...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 1 of 3 Topic 733 of 788
Post > Topic >>

Compiling Renderman C programs using XCode on OSX

by Pangaea <dave@[EMAIL PROTECTED] > Jul 10, 2007 at 10:04 AM

Hi all. I have finally got around to buying 'The Renderman Companion"
I have coded the first example program and had some errors, which I
reduced to 1, by including the full path to the ri.h header. I still
have one error regarding the RI_P string token.

Here is the XCode Run Log

[Session started at 2007-07-10 17:55:58 +0100.]
ZeroLink: unknown symbol '_RI_P'

rendermanProg has exited due to signal 6 (SIGABRT).

here is the program

#include </Applications/Graphics/3Delight-6.5.0/include/ri.h>

RtPoint Square[4] = {{.5,.5,.5}, {.5,-.5,.5}, {-.5,-.5,.5}, {-.
5,.5,.5}};

main()
{

	RiBegin(RI_NULL); //start the render
	RiWorldBegin();
	RiSurface("constant", RI_NULL);
	RiPolygon(4, RI_P,(RtPointer) Square, RI_NULL);
	RiWorldEnd();
	RiEnd(); //clean up
}
 




 3 Posts in Topic:
Compiling Renderman C programs using XCode on OSX
Pangaea <dave@[EMAIL P  2007-07-10 10:04:44 
Re: Compiling Renderman C programs using XCode on OSX
Nicholas <Yue.Nicholas  2007-07-11 03:10:40 
Re: Compiling Renderman C programs using XCode on OSX
Michel Joron <joron@[E  2007-07-12 06:07:33 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan12V112 Fri Nov 21 21:03:36 CST 2008.