[Interest] Apply shader effect from QtGraphicalEffects to QSGGeometryNode?

Mark markg85 at gmail.com
Thu Jun 13 10:33:01 CEST 2013


On Thu, Jun 13, 2013 at 9:02 AM, André Somers <andre at familiesomers.nl> wrote:
> 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...
>
Hi Andre,

I will try that when i get home :)
Why didn't i think of that yet..

btw. the line graph looks really nice when multisampling is added in the mix!

Regards,
Mark
> André
>
> --
> You like Qt?
> I am looking for collegues to join me at i-Optics!
>
> _______________________________________________
> Interest mailing list
> Interest at qt-project.org
> http://lists.qt-project.org/mailman/listinfo/interest



More information about the Interest mailing list