|
|
On 3/28/2017 9:35 AM, clipka wrote:
> Am 28.03.2017 um 00:45 schrieb Kenneth:
>>> //---------------------------------------------------------------------
>>> #version 3.7; //
>> [snip]
>>
>> This is off-topic, but I thought that to run a 3.7.1 alpha or beta version
>> correctly (i.e., so that it does not invoke its 'backwards compatibility' with a
>> previous version's features), the #version statement should be #version 3.71
>> and not just 3.7 Am I right or wrong about that? I always assumed it to be
>> so.
>
> You are perfectly right in that `#version 3.7` (which is shorthand for
> `#version 3.70`, which in turn is interpreted as "this scene was
> designed for version 3.7.0") will cause some 3.7.1-specific behaviour to
> be disabled in order to maintain compatibility with the behaviour of 3.7.0.
>
> However, most added features work perfectly fine even when the scene
> says `#version 3.70`. (Which I concede isn't ideal, because it makes it
> possible for people to write scenes that use 3.7.1 features but claim to
> be "designed for version 3.7.0", leading to confusion if someone ever
> tries to actually render such a scene with 3.7.0.)
>
The lack of a second dot in `#version 3.70` is kind of confusing.
Mike
Post a reply to this message
|
|