Small Feature Errors
-
- Posts: 5340
- Joined: Thu Jul 27, 2017 12:22 am
Re: Small Feature Errors
With Paint.Net 5.0 and anti-aliasing ON in AM
Paul's script
Keith's script
With anti-aliasing OFF in AM
Paul's script
Keith's script
Paul's script
Keith's script
With anti-aliasing OFF in AM
Paul's script
Keith's script
- Keith Baxter
- Posts: 4685
- Joined: Wed Dec 20, 2017 11:00 am
- Location: Botswana
Re: Small Feature Errors
Hmmmm
I get something different. With anti-aliasing NOT checked I get with this code.
This.
And with this code
This
Why the difference??
Because it is doing exactly what I say.
Keith
I get something different. With anti-aliasing NOT checked I get with this code.
Code: Select all
my_canvas1 = canvas_add(1,1,5,5)
canvas_draw(my_canvas1, function()
_rect(0,0,5,5)
_fill("yellow")
_rect(1,1,4,4)
_stroke("red",1)
end)
And with this code
Code: Select all
my_canvas1 = canvas_add(1,1,5,5)
canvas_draw(my_canvas1, function()
_rect(0,0,5,5)
_fill("yellow")
_rect(1,1,3,3)
_stroke("red",1)
end)
Why the difference??
Because it is doing exactly what I say.
Keith
AMD RYZEN 9 5950X CPU, Corsair H80I cooler, ASUS TUF GAMING B550-PLUS AMD Ryzen Mother Board, 32Gb ram Corsair Vengeance 3000Mh, MSI GTX960 4G graphics card
-
- Posts: 5340
- Joined: Thu Jul 27, 2017 12:22 am
Re: Small Feature Errors
Hi Keith @Keith Baxter,
both "Anti aliasing" and "Image Prescaling" should be unticked and also check the pre scaling is not set in NVIDIA Control Panel, as stated previously : https://siminnovations.com/forums/viewt ... 000#p52000
For the screenshot, best to paste them in Paint.Net, enable grid view, full zoom in, then make a screenshot of the result, to avoid bringing blur on zooming a small part of the screen
[EDIT] Additionally, I'm on DirectX 11 for AM Graphics API
both "Anti aliasing" and "Image Prescaling" should be unticked and also check the pre scaling is not set in NVIDIA Control Panel, as stated previously : https://siminnovations.com/forums/viewt ... 000#p52000
For the screenshot, best to paste them in Paint.Net, enable grid view, full zoom in, then make a screenshot of the result, to avoid bringing blur on zooming a small part of the screen
[EDIT] Additionally, I'm on DirectX 11 for AM Graphics API
-
- Posts: 236
- Joined: Sun Feb 14, 2021 6:55 pm
Re: Small Feature Errors
I have not used the _fill primitive , so I'm surprised that it uses a different geometry as _stroke primitive.
with _stroke only:
gives:
with _fill only:
gives:
First _stroke, then _fill (using the same _rect path)
gives:
with _stroke only:
Code: Select all
Canvas = canvas_add(1,1,5,5)
canvas_draw(Canvas, function()
_rect(1,1,3,3)
_stroke("blue",1)
end)
Code: Select all
Canvas = canvas_add(1,1,5,5)
canvas_draw(Canvas, function()
_rect(1,1,3,3)
_fill("red")
end)
Code: Select all
Canvas = canvas_add(1,1,5,5)
canvas_draw(Canvas, function()
_rect(1,1,3,3)
_stroke("blue",1)
_rect(1,1,3,3)
_fill("red")
end)
- Keith Baxter
- Posts: 4685
- Joined: Wed Dec 20, 2017 11:00 am
- Location: Botswana
Re: Small Feature Errors
Cool,
Thanks for the interesting discussion guys. It certainly brought up some interesting topics without aggravation.
I will do some tests changing my nvida settings and see if I can get what you guys say. But that will be on Friday as it is my birthday tomorrow.
But for me at this time, I believe what I say is correct for my setup.
Keith
Thanks for the interesting discussion guys. It certainly brought up some interesting topics without aggravation.
I will do some tests changing my nvida settings and see if I can get what you guys say. But that will be on Friday as it is my birthday tomorrow.
But for me at this time, I believe what I say is correct for my setup.
Keith
AMD RYZEN 9 5950X CPU, Corsair H80I cooler, ASUS TUF GAMING B550-PLUS AMD Ryzen Mother Board, 32Gb ram Corsair Vengeance 3000Mh, MSI GTX960 4G graphics card
-
- Posts: 5340
- Joined: Thu Jul 27, 2017 12:22 am
Re: Small Feature Errors
Have a nice time tomorrow Keith, I guess with family and friends.Keith Baxter wrote: ↑Wed Jan 18, 2023 8:51 pm .../... But that will be on Friday as it is my birthday tomorrow.
Keith
- Keith Baxter
- Posts: 4685
- Joined: Wed Dec 20, 2017 11:00 am
- Location: Botswana
Re: Small Feature Errors
100's Gilles. Thanks for the kind words and will make sure I have a good time with the nice family members.SimPassion wrote: ↑Wed Jan 18, 2023 8:57 pmHave a nice time tomorrow Keith, I guess with family and friends.Keith Baxter wrote: ↑Wed Jan 18, 2023 8:51 pm .../... But that will be on Friday as it is my birthday tomorrow.
Keith
I will remember to keep off the forum with a few dry reds down my hatch.
Keith
AMD RYZEN 9 5950X CPU, Corsair H80I cooler, ASUS TUF GAMING B550-PLUS AMD Ryzen Mother Board, 32Gb ram Corsair Vengeance 3000Mh, MSI GTX960 4G graphics card
Re: Small Feature Errors
Yes, happy birthday you old git
68 ? - pah, a mere lad. Still a few miles on the old engine yet.
Have a good one,
Joe
68 ? - pah, a mere lad. Still a few miles on the old engine yet.
Have a good one,
Joe
Joe. CISSP, MSc.
- Keith Baxter
- Posts: 4685
- Joined: Wed Dec 20, 2017 11:00 am
- Location: Botswana
Re: Small Feature Errors
Hi,
Thank you for the birthday wishes Joe.
@SimPassion @Tetrachromat I had a bit of spare time this morning and checked my NVIDA scaling and it is set to full_screen.
If I change it to No scaling then I get what you guys say and I cannot draw at 0 or 0.5
All my instruments are drawn with Full-Screen checked so I am going to leave it. If I change it then I would have to redraw a lot of my instruments because the spacing's would alter.
Keith
Thank you for the birthday wishes Joe.
@SimPassion @Tetrachromat I had a bit of spare time this morning and checked my NVIDA scaling and it is set to full_screen.
If I change it to No scaling then I get what you guys say and I cannot draw at 0 or 0.5
All my instruments are drawn with Full-Screen checked so I am going to leave it. If I change it then I would have to redraw a lot of my instruments because the spacing's would alter.
Keith
AMD RYZEN 9 5950X CPU, Corsair H80I cooler, ASUS TUF GAMING B550-PLUS AMD Ryzen Mother Board, 32Gb ram Corsair Vengeance 3000Mh, MSI GTX960 4G graphics card