|
Thirdparty/Utilties in trunk
Part of the windows build now requires the use of MCPP to do the OSL preprocessing. There is a binary available but unfortunatly it doesn't support a necessary command line parameter. So I had to buil
Part of the windows build now requires the use of MCPP to do the OSL preprocessing. There is a binary available but unfortunatly it doesn't support a necessary command line parameter. So I had to buil
|
By
Wormszer
·
|
|
Compiling OpenShadingLanguage under Windows
38 messages
Hi All, I'm trying to compile the OpenShadingLanguage library under Windows using VisualStudio 2008. I was able to compile the following projects so far: - oslquery - oslinfo There is a problem compil
Hi All, I'm trying to compile the OpenShadingLanguage library under Windows using VisualStudio 2008. I was able to compile the following projects so far: - oslquery - oslinfo There is a problem compil
|
By
Oleg
·
|
|
Fixes in westin_sheen closure (issue194147)
2 messages
Reviewers: osl-dev_googlegroups.com, Description: We were forgetting to set the pdf in the eval function, plus we were using the wrong cosine in its sampler. Please review this at http://codereview.ap
Reviewers: osl-dev_googlegroups.com, Description: We were forgetting to set the pdf in the eval function, plus we were using the wrong cosine in its sampler. Please review this at http://codereview.ap
|
By
aco...@...
·
|
|
Review: more nan/inf checking (issue196066)
3 messages
Reviewers: , Description: At Chris Kulla's suggestion, expand our "debugnan" checking to include the binding step, to catch any bad values passed into the shading system. Please review this at http://
Reviewers: , Description: At Chris Kulla's suggestion, expand our "debugnan" checking to include the binding step, to catch any bad values passed into the shading system. Please review this at http://
|
By
larry...@...
·
|
|
"Polymorphic" in OSL manual
6 messages
Hey guys, Reading through the OSL manual, on page 20 there's this paragraph: """Functions may be polymorphic. That is, multiple functions may be defined to have the same name, as long as they have dif
Hey guys, Reading through the OSL manual, on page 20 there's this paragraph: """Functions may be polymorphic. That is, multiple functions may be defined to have the same name, as long as they have dif
|
By
Blair Zajac
·
|
|
Review: extend inf/nan checking to derivatives, fix problem with arrays (issue199063)
3 messages
Reviewers: , Description: Extend the inf/nan checking to also check (and print specific messages for) derivatives. Also, fixed a minor buglet that, for arrays, would only have checked the first elemen
Reviewers: , Description: Extend the inf/nan checking to also check (and print specific messages for) derivatives. Also, fixed a minor buglet that, for arrays, would only have checked the first elemen
|
By
larry...@...
·
|
|
Review: extend inf/nan checking to derivatives, fix problem with arrays (issue199063)
Sure, I guess I could. I figured that the constants from the oso file were probably beyond reproach, but since it doesn't cost anything, will do. -- lg -- Larry Gritz l...@...
Sure, I guess I could. I figured that the constants from the oso file were probably beyond reproach, but since it doesn't cost anything, will do. -- lg -- Larry Gritz l...@...
|
By
Larry Gritz
·
|
|
Review: broken string ops (issue198076)
3 messages
Reviewers: , Description: In several string ops, I used a local var that just told whether any of the arguments were varying, to determine whether to assign to just the first element of Result, or all
Reviewers: , Description: In several string ops, I used a local var that just told whether any of the arguments were varying, to determine whether to assign to just the first element of Result, or all
|
By
larry...@...
·
|
|
Review: broken getmessage (issue199069)
Reviewers: , Description: In the same way as my last review for string ops, if getmessage had all uniform args but was called from within a varying conditional, it could fill in only the first value o
Reviewers: , Description: In the same way as my last review for string ops, if getmessage had all uniform args but was called from within a varying conditional, it could fill in only the first value o
|
By
larry...@...
·
|
|
Review: broken getmessage (issue199069)
2 messages
Which other cases do you think are broken? I can try to simplify, but it's a fairly complicated set of moving parts. I'll see what I can do. -- lg -- Larry Gritz l...@...
Which other cases do you think are broken? I can try to simplify, but it's a fairly complicated set of moving parts. I'll see what I can do. -- lg -- Larry Gritz l...@...
|
By
Larry Gritz
·
|
|
Review: oslc -E (issue201057)
2 messages
Reviewers: , Description: Like gcc, allow a "-E" option to oslc that just outputs the result of preprocessing. Please review this at http://codereview.appspot.com/201057/show Affected files: src/libos
Reviewers: , Description: Like gcc, allow a "-E" option to oslc that just outputs the result of preprocessing. Please review this at http://codereview.appspot.com/201057/show Affected files: src/libos
|
By
larry...@...
·
|
|
Review: improve adjust_varying (issue204046)
Reviewers: , Description: adjust_varying is the function that doctors whether a variable is uniform or varying based on what is about to be assigned to it. But if a uniform is being assigned from with
Reviewers: , Description: adjust_varying is the function that doctors whether a variable is uniform or varying based on what is about to be assigned to it. But if a uniform is being assigned from with
|
By
larry...@...
·
|
|
Review: improve adjust_varying (issue204046)
4 messages
I think it's not. I added it at one point that I was tracking down a bug and never removed it (figuring that it couldn't hurt, and might protect us from subtle bugs some day). I can remove it. Because
I think it's not. I added it at one point that I was tracking down a bug and never removed it (figuring that it couldn't hurt, and might protect us from subtle bugs some day). I can remove it. Because
|
By
Larry Gritz
·
|
|
primitive variables
3 messages
Just wondering if you have thought about binding shader parameters to geometry like you can with primitive variables in RenderMan. Specifically - if you are going to do something like this - it would
Just wondering if you have thought about binding shader parameters to geometry like you can with primitive variables in RenderMan. Specifically - if you are going to do something like this - it would
|
By
Simon Bunker
·
|
|
check_nan bug fix and skip bind for struct params (issue204077)
Reviewers: dev-osl_imageworks.com, osl-dev_googlegroups.com, Description: Two small things I noticed while debugging something unrelated. 1) check_nan was off-by one 2) we allocate space for struct pa
Reviewers: dev-osl_imageworks.com, osl-dev_googlegroups.com, Description: Two small things I noticed while debugging something unrelated. 1) check_nan was off-by one 2) we allocate space for struct pa
|
By
cku...@...
·
|
|
Review: error for type coercion of output params (issue204076)
2 messages
Reviewers: , Description: Ordinarily, it's fine to have type coercion on function parameters, for example, if you pass a float where a color was expected, it'll just do the usual float-to-color conver
Reviewers: , Description: Ordinarily, it's fine to have type coercion on function parameters, for example, if you pass a float where a color was expected, it'll just do the usual float-to-color conver
|
By
larry...@...
·
|
|
check_nan bug fix and skip bind for struct params (issue204077)
5 messages
How much "space" were we allocating for the struct placeholders? Should be 0, no? Or was the problem just that check_nan was reading bogus heap areas to check nans on these placeholders? -- Larry Grit
How much "space" were we allocating for the struct placeholders? Should be 0, no? Or was the problem just that check_nan was reading bogus heap areas to check nans on these placeholders? -- Larry Grit
|
By
Larry Gritz
·
|
|
sincos opcode (issue205045)
Reviewers: dev-osl_imageworks.com, osl-dev_googlegroups.com, Description: Add a new opcode that computes sin and cos together Please review this at http://codereview.appspot.com/205045/show Affected f
Reviewers: dev-osl_imageworks.com, osl-dev_googlegroups.com, Description: Add a new opcode that computes sin and cos together Please review this at http://codereview.appspot.com/205045/show Affected f
|
By
cku...@...
·
|
|
sincos opcode (issue205045)
11 messages
I would put in fmath.h: #ifndef __GNUC__ ... define it in terms of sin and cos... #endif -- Larry Gritz l...@...
I would put in fmath.h: #ifndef __GNUC__ ... define it in terms of sin and cos... #endif -- Larry Gritz l...@...
|
By
Larry Gritz
·
|
|
array assign can nuke derivatives (issue205043)
4 messages
Reviewers: dev-osl_imagworks.com, osl-dev_googlegroups.com, Description: Array assignment was incorrectly clearing the derivatives of all entries instead of just the derivatives of the entry being ass
Reviewers: dev-osl_imagworks.com, osl-dev_googlegroups.com, Description: Array assignment was incorrectly clearing the derivatives of all entries instead of just the derivatives of the entry being ass
|
By
cku...@...
·
|