|
|
leseur sylvain <syl### [at] potar-hurlantcom> wrote:
> Hello Warp
> Can'i use your Glow's macro to build a plugin for Moray ?
Well, that macro is not really an ingenious piece of code which no-one
else couldn't come up with. It contains a mere 12 lines of very basic
SDL code (well, 11 actually; the "method 3" line is obsolete), and anyone
knowing how media works with scaling could have come up with a similar
solution.
So yes, of course you can use it. It doesn't have anything that I could
claim was my intellectual property since it's very basic SDL code. :)
My purpose was more to show the idea of how it can be done than to
provide an ingenious piece of SDL which does something marvelous no-one
else could have come up with. :)
--
plane{-x+y,-1pigment{bozo color_map{[0rgb x][1rgb x+y]}turbulence 1}}
sphere{0,2pigment{rgbt 1}interior{media{emission 1density{spherical
density_map{[0rgb 0][.5rgb<1,.5>][1rgb 1]}turbulence.9}}}scale
<1,1,3>hollow}text{ttf"timrom""Warp".1,0translate<-1,-.1,2>}// - Warp -
Post a reply to this message
|
|