[Interest] Apply shader effect from QtGraphicalEffects to QSGGeometryNode?

André Somers andre at familiesomers.nl
Thu Jun 13 09:02:40 CEST 2013


Op 13-6-2013 8:46, Mark schreef:
> On Thu, Jun 13, 2013 at 7:56 AM, Sletta Gunnar <Gunnar.Sletta at digia.com> wrote:
>> On Jun 12, 2013, at 9:58 PM, Mark <markg85 at gmail.com> wrote:
>>
>>> Hi Gunnar,
>>>
>>> I just tried your example out (from the new review link [1]) and
>>> you've truly done a amazing job! + you saved my days of fiddling
>>> around :)
>>> Big pros! It runs well on Qt with OpenGL on Windows. I haven't tried
>>> other instances.
>>>
>>> Again, an awesome job!
>>>
>>> Will this be added as an example to 5.1.0 or 5.1.1? It's not like it's
>>> blocking anything ;)
>> Targeted at 5.1.1 now, it is by no means a showstopper :)
> Hey, psst, have you tried out one of your own pitfalls? ^_-
> I bet you didn't, hehehe.
>
> I added 0.5 in my code for the X in the vertical lines and 0.5 for the
> Y in horizontal lines.
> Then multisampling looks sharp again. However, when doing that and
> disabling multisampling again the lines are off by one pixel.. I
> haven't looked into that yet why that happens.
>
> Regards,
> Mark
>
Sounds like you might need to try substracting that 0.5 instead of 
adding it...

André

-- 
You like Qt?
I am looking for collegues to join me at i-Optics!




More information about the Interest mailing list