|
Re: Question about BSDFClosure functions
Hey Alejandro!
Great to hear from you, I had no idea you were involved in this
project.
I incorrectly interpreted what would actually be given to the
renderer, I thought it would be a single
Hey Alejandro!
Great to hear from you, I had no idea you were involved in this
project.
I incorrectly interpreted what would actually be given to the
renderer, I thought it would be a single
|
By
brecht <brechtv...@...>
·
#69
·
|
|
Re: Question about BSDFClosure functions
Well, is Larry's baby. I'm in the group that makes the render using
OSL.
That's right.
Yeah
That's more of a question for Larry. I know osl closures are in the
roadmap, but he is the one to talk to
Well, is Larry's baby. I'm in the group that makes the render using
OSL.
That's right.
Yeah
That's more of a question for Larry. I know osl closures are in the
roadmap, but he is the one to talk to
|
By
Alex Conty <aco...@...>
·
#70
·
|
|
Re: Review: fix derivatives of mod()
Anybody?
--
Larry Gritz
l...@...
Anybody?
--
Larry Gritz
l...@...
|
By
Larry Gritz <l...@...>
·
#71
·
|
|
Re: Review: fix derivatives of mod()
Well, I'm not sure what to think. The derivatives of mod(x,y) is the
same as x most of the time, but at the discontinuity? Not sure what
else you could really do since the function isn't
Well, I'm not sure what to think. The derivatives of mod(x,y) is the
same as x most of the time, but at the discontinuity? Not sure what
else you could really do since the function isn't
|
By
Jonathan Gibbs <jono...@...>
·
#72
·
|
|
Re: Review: fix derivatives of mod()
Well, there's "math" and then there's "what's useful in shaders." In the strict mathematical sense, the derivative is undefined at the discontinuity (x==d), though you could speak of the limit as you
Well, there's "math" and then there's "what's useful in shaders." In the strict mathematical sense, the derivative is undefined at the discontinuity (x==d), though you could speak of the limit as you
|
By
Larry Gritz <l...@...>
·
#73
·
|
|
Re: Review: fix derivatives of mod()
Agreed. You answer seems the most useful one.
--jono
Agreed. You answer seems the most useful one.
--jono
|
By
Jonathan Gibbs <jono...@...>
·
#74
·
|
|
Re: Review: fix derivatives of mod()
Hi guys,
After quite some thought I agree that
d/dx mod(x,a) == 1
is about about the best you can do, even though it doesn't make sense at
the discontinuity.
It is possible to make sense of the
Hi guys,
After quite some thought I agree that
d/dx mod(x,a) == 1
is about about the best you can do, even though it doesn't make sense at
the discontinuity.
It is possible to make sense of the
|
By
Chris Foster <chri...@...>
·
#80
·
|
|
Compiling OpenShadingLanguage under Windows
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
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
|
By
Oleg <ode...@...>
·
#75
·
|
|
Re: Compiling OpenShadingLanguage under Windows
The chunk of code between the '{' and '}' is just C++ (mostly, except for the
$ markers of course). Looking at this, the line
TypeSpec t (simple, t.is_closure());
doesn't make any sense to me,
The chunk of code between the '{' and '}' is just C++ (mostly, except for the
$ markers of course). Looking at this, the line
TypeSpec t (simple, t.is_closure());
doesn't make any sense to me,
|
By
Chris Foster <chri...@...>
·
#81
·
|
|
problem building on macos
I'm having some difficulty building OpenImageIO on macos (Snow
Leopard), as a required pre-requisite for building OSL. The build of
the external packages fails because libtiff doesn't build.
I'm having some difficulty building OpenImageIO on macos (Snow
Leopard), as a required pre-requisite for building OSL. The build of
the external packages fails because libtiff doesn't build.
|
By
Nick Porcino <nick....@...>
·
#76
·
|
|
Re: Compiling OpenShadingLanguage under Windows
Hi Chris,
Thank you very much for your reply. It works!
Here comes the next problem compiling the "osllex.cpp" file generated
by flex from "osllex.l"
Hi Chris,
Thank you very much for your reply. It works!
Here comes the next problem compiling the "osllex.cpp" file generated
by flex from "osllex.l"
|
By
Oleg <ode...@...>
·
#77
·
|
|
Re: problem building on macos
I do a most of my day-to-day development on Snow Leopard, so I know this can be made to work.
Are you building OIIO by checking out the "external" project and trying to build the whole thing? If so,
I do a most of my day-to-day development on Snow Leopard, so I know this can be made to work.
Are you building OIIO by checking out the "external" project and trying to build the whole thing? If so,
|
By
Larry Gritz <l...@...>
·
#78
·
|
|
Realy funny jokes about director)
aaa))))that is sooooo cool))thx) http://gwy.in/jokesoffice
aaa))))that is sooooo cool))thx) http://gwy.in/jokesoffice
|
By
NormanKolins <hyep...@...>
·
#79
·
|
|
Re: Compiling OpenShadingLanguage under Windows
I too have been trying to build under windows and ran across the same
problem with the t variable.
Assuming gcc allows it for some reason, by default is_closure() is
false so that is what i set it
I too have been trying to build under windows and ran across the same
problem with the t variable.
Assuming gcc allows it for some reason, by default is_closure() is
false so that is what i set it
|
By
wormszer <worm...@...>
·
#82
·
|
|
Re: Compiling OpenShadingLanguage under Windows
Hi Jeremy,
I'm using the following versions of flex/bison:
- flex, GnuWin32 distribution, version 2.5.4
- bison, GnuWin32 distribution, version 2.4.1
and having the same problems. I have
Hi Jeremy,
I'm using the following versions of flex/bison:
- flex, GnuWin32 distribution, version 2.5.4
- bison, GnuWin32 distribution, version 2.4.1
and having the same problems. I have
|
By
Oleg <ode...@...>
·
#83
·
|
|
Re: Compiling OpenShadingLanguage under Windows
Thanks Oleg,
I am using flex 2.5.35 and bison 2.3 in cygwin 1.7.
I am pretty sure that my flex version is newer even though the version number is earlier. But im not sure about bison.
I have the
Thanks Oleg,
I am using flex 2.5.35 and bison 2.3 in cygwin 1.7.
I am pretty sure that my flex version is newer even though the version number is earlier. But im not sure about bison.
I have the
|
By
Wormszer <worm...@...>
·
#84
·
|
|
Re: Compiling OpenShadingLanguage under Windows
Ok I was able to get
oslquery
oslinfo
oslcomp
oslc
all to build. I am still working on oslexec
Here is what I had to change to get it to build, see if these changes work for you or match what you
Ok I was able to get
oslquery
oslinfo
oslcomp
oslc
all to build. I am still working on oslexec
Here is what I had to change to get it to build, see if these changes work for you or match what you
|
By
Wormszer <worm...@...>
·
#85
·
|
|
Re: Compiling OpenShadingLanguage under Windows
My generated code issues were from VS having not rebuilt the files with the new flex.
So now I am just left with a bunch of missing math functions.
It looks likes visual studios implementation of
My generated code issues were from VS having not rebuilt the files with the new flex.
So now I am just left with a bunch of missing math functions.
It looks likes visual studios implementation of
|
By
Wormszer <worm...@...>
·
#86
·
|
|
Re: Compiling OpenShadingLanguage under Windows
These are all C99 math functions, not available on windows I guess... I had a
look in boost (they implement some of the C99 functions there) but
unfortunately these ones aren't implemented yet
These are all C99 math functions, not available on windows I guess... I had a
look in boost (they implement some of the C99 functions there) but
unfortunately these ones aren't implemented yet
|
By
Chris Foster <chri...@...>
·
#88
·
|
|
Re: Compiling OpenShadingLanguage under Windows
Thanks Chris,
I got the defines included but after searching around and trying some various things I have been unable to find a solution to the missing math functions.
The closest I got was to using
Thanks Chris,
I got the defines included but after searching around and trying some various things I have been unable to find a solution to the missing math functions.
The closest I got was to using
|
By
Wormszer <worm...@...>
·
#89
·
|