POV-Ray : Newsgroups : povray.general : Open Shading Language Server Time
26 Nov 2024 18:27:50 EST (-0500)
  Open Shading Language (Message 1 to 3 of 3)  
From: Mr
Subject: Open Shading Language
Date: 19 Mar 2010 07:05:00
Message: <web.4ba359e84ed3322b49313f190@news.povray.org>
Have you had a look at OSL ?

http://code.google.com/p/openshadinglanguage

Would it be comparable to POV and has it been considered for POV-Ray 4 embedded
language or is the current Python like new syntax project simply more user
friendly or better suited to POV feature set?


Post a reply to this message

From: clipka
Subject: Re: Open Shading Language
Date: 21 Mar 2010 16:53:27
Message: <4ba68747$1@news.povray.org>
Mr schrieb:
> Have you had a look at OSL ?
> 
> http://code.google.com/p/openshadinglanguage
> 
> Would it be comparable to POV and has it been considered for POV-Ray 4 embedded
> language or is the current Python like new syntax project simply more user
> friendly or better suited to POV feature set?

What "Python like new syntax project"?

So far, individual people have, in povray.pov4.discussion.general, (a) 
suggested design principles for a new POV-Ray 4 SDL, (b) proposed 
various different existing languages as new POV-Ray 4 SDL (yes, I think 
python was mentioned in such a context, too), and/or (c) some more or 
less concrete proposals for an actual new language.

So far, nothing has come out of it that comes anywhere close to 
deserving to be called a "project", let alone anything officially 
endorsed by the dev team.

OSL hasn't been mentioned yet (though support for "a shader language" 
was mentioned as a desired feature by some).


Post a reply to this message

From: clipka
Subject: Re: Open Shading Language
Date: 21 Mar 2010 19:10:56
Message: <4ba6a780$1@news.povray.org>
Mr schrieb:
> Have you had a look at OSL ?
> 
> http://code.google.com/p/openshadinglanguage
> 
> Would it be comparable to POV and has it been considered for POV-Ray 4 embedded
> language or is the current Python like new syntax project simply more user
> friendly or better suited to POV feature set?

I just skimmed over the intro; judging from that, I'd say it should 
indeed be compatible with POV-Ray's architecture (and licensing model), 
so it might be worthwile considering OSL support as a feature for POV-Ray 4.

Note however that OSL only addresses what POV-Ray puts into the 
material{} statement, so a separate language is still needed for object 
definition - and I'd advocate using OSL only as an alternative to some 
simpler material-definitions with roughly the feature(s), expressiveness 
and verbosity of POV-Ray 3.x's material{} statement.

Looks like OSL would be a kind of swiss army knife for material 
definitions - but when all you need is a decent pair of scissors, the 
swiss army knife's implementation of said tool would probably not be 
your first choice ;-)


Post a reply to this message

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.