Skip to content
Discussion options

You must be logged in to vote

Unfortunately, OSL is not so widely used as to have its own IDE. Generally, I try to use the rendered image output to contain debugging information as much as possible and then resort to printf() only when I need to see the specific values of an iterated or other computation that isn't easily represented as an image value. Note that some renderers will only print unique lines of output rather than every printf() statement, so you will need to add a unique value to the printf() statement in order to see every result rather than just the unique ones.

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by nyue
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants