|
Re: Compiling OpenShadingLanguage under Windows
Thanks Larry,
I was wondering where the best place would be to add the missing functionality.
Currently I have used the boost C99 math libraries and the missing two functions logbf and exp2f i defined
Thanks Larry,
I was wondering where the best place would be to add the missing functionality.
Currently I have used the boost C99 math libraries and the missing two functions logbf and exp2f i defined
|
By
Wormszer <worm...@...>
·
#102
·
|
|
shadertypes
Hi everyone,
I'm just a simpel student and totaly new to this stuff.
I read the specifications as soon as I could download it.
Hopefully I can make it to set up the developing environment
Hi everyone,
I'm just a simpel student and totaly new to this stuff.
I read the specifications as soon as I could download it.
Hopefully I can make it to set up the developing environment
|
By
BaiLong <teneigh...@...>
·
#100
·
|
|
Re: Compiling OpenShadingLanguage under Windows
Sorry about joining this thread late.
I think that any files that need these functions should
#include <OpenImageIO/fmath.h>
where many of these symbols and some of the missing functions are
Sorry about joining this thread late.
I think that any files that need these functions should
#include <OpenImageIO/fmath.h>
where many of these symbols and some of the missing functions are
|
By
Larry Gritz <l...@...>
·
#99
·
|
|
Re: Arbitrary derivatives
Well put, a very concise explanation of the basic idea.
-- lg
--
Larry Gritz
l...@...
Well put, a very concise explanation of the basic idea.
-- lg
--
Larry Gritz
l...@...
|
By
Larry Gritz <l...@...>
·
#98
·
|
|
Re: Arbitrary derivatives
Let's separate the language specification, from the implementation in this library, from what a renderer is expected to do when using the OSL library.
The language spec just requires that an
Let's separate the language specification, from the implementation in this library, from what a renderer is expected to do when using the OSL library.
The language spec just requires that an
|
By
Larry Gritz <l...@...>
·
#97
·
|
|
Re: Arbitrary derivatives
No, it does automatic differentiation.
The overall idea is that if your inputs know their derivatives ( for
instance, when raytracing a primitive, computing P, dP/dx and dP/dy is
easy )
and your
No, it does automatic differentiation.
The overall idea is that if your inputs know their derivatives ( for
instance, when raytracing a primitive, computing P, dP/dx and dP/dy is
easy )
and your
|
By
Henri <henri...@...>
·
#96
·
|
|
Arbitrary derivatives
Hello folks,
In specification, it sais "Arbitrary derivatives without grids or
extra shading points.", but I really confused how it works without
explicit grid. Does it like the GPU, compute the
Hello folks,
In specification, it sais "Arbitrary derivatives without grids or
extra shading points.", but I really confused how it works without
explicit grid. Does it like the GPU, compute the
|
By
Bo Schwarzstein <bo.schw...@...>
·
#95
·
|
|
Re: Compiling OpenShadingLanguage under Windows
You're quite right, Chris. I think this is just a bad cut-and-paste from the distant past and was never symptomatic, but definitely is wrong.
-- lg
--
Larry Gritz
l...@...
You're quite right, Chris. I think this is just a bad cut-and-paste from the distant past and was never symptomatic, but definitely is wrong.
-- lg
--
Larry Gritz
l...@...
|
By
Larry Gritz <l...@...>
·
#93
·
|
|
Re: Compiling OpenShadingLanguage under Windows
A GPU only version is definitely interesting, but a very big job :)
Heck no! Instead I imagine that most of the functions can be easily
implemented in terms of existing C89 functionality. For
A GPU only version is definitely interesting, but a very big job :)
Heck no! Instead I imagine that most of the functions can be easily
implemented in terms of existing C89 functionality. For
|
By
Chris Foster <chri...@...>
·
#103
·
|
|
Re: Review: fix derivatives of mod()
Oh yes, I've written AA'd versions of many of these at various times. "aastep" (aka "filterstep" in RMan-land) is there mostly for historical reasons. Other aa functions are a little trickier and
Oh yes, I've written AA'd versions of many of these at various times. "aastep" (aka "filterstep" in RMan-land) is there mostly for historical reasons. Other aa functions are a little trickier and
|
By
Larry Gritz <l...@...>
·
#92
·
|
|
Re: Question about BSDFClosure functions
Yes, exactly.
It's in the road map to eventually allow closure primitive functions and integrators to be written in OSL. But for now, both are built into the renderer.
--
Larry
Yes, exactly.
It's in the road map to eventually allow closure primitive functions and integrators to be written in OSL. But for now, both are built into the renderer.
--
Larry
|
By
Larry Gritz <l...@...>
·
#91
·
|
|
Re: Compiling OpenShadingLanguage under Windows
After looking at ATI's open cl I think its a little bit overkill. From initial look i think we would have to create kernels for each math function we wanted as well as create an open cl context to
After looking at ATI's open cl I think its a little bit overkill. From initial look i think we would have to create kernels for each math function we wanted as well as create an open cl context to
|
By
Wormszer <worm...@...>
·
#94
·
|
|
Re: Compiling OpenShadingLanguage under Windows
I tried the first link you mention but i end up with a different set of errors.
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
I tried the first link you mention but i end up with a different set of errors.
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
|
By
Wormszer <worm...@...>
·
#90
·
|
|
Re: Compiling OpenShadingLanguage under Windows
Hi Jeremy,
I have installed the latest cygwin version and was able to process all
flex/bison files. The cygwin flex version can handle "/" as path
separator, too :-) Apart from that I had the same
Hi Jeremy,
I have installed the latest cygwin version and was able to process all
flex/bison files. The cygwin flex version can handle "/" as path
separator, too :-) Apart from that I had the same
|
By
Oleg <ode...@...>
·
#87
·
|
|
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
·
|
|
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
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
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
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
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
·
|