Re: Compiling OpenShadingLanguage under Windows
I tried the first link you mention but i end up with a different set of errors.toggle quoted messageShow quoted text
What did you do to get it working? I will play with it some more and see.
I got the defines enabled by defining the _USE_MATH_DEFINES like Chris mentioned and mentioned in the second link.
I agree on trying to use something like open CL. Do they provide CPU implementations for all the math functions?
But to take advantage of the real gpu speed up we would need to do it somewhere else where things can be batched.
I hope once i get this building to dig in and figure out what is going on in the shader execution and language parsing. With my goal trying to help with getting some kind of GPU based shader preview implementation going as mentioned in Larry's introduction.
Open CL I would think should be a good language to shoot towards as I am under the impression its supposed to replace nvidias cuda and ati's brook stream stuff. Or at least both vendors will support it.
On Mon, Jan 18, 2010 at 6:19 PM, Oleg <ode...@...> wrote: