Small Feature Errors

Discuss suspected bugs with other users and Sim Innovations Staff

Moderators: russ, Ralph

Message
Author
SimPassion
Posts: 5340
Joined: Thu Jul 27, 2017 12:22 am

Re: Small Feature Errors

#41 Post by SimPassion »

With Paint.Net 5.0 and anti-aliasing ON in AM

Paul's script

image.png

Keith's script

image.png

With anti-aliasing OFF in AM

Paul's script

image.png

Keith's script

image.png
 

Tetrachromat
Posts: 236
Joined: Sun Feb 14, 2021 6:55 pm

Re: Small Feature Errors

#42 Post by Tetrachromat »

OK?
draw_keith2.png

User avatar
Keith Baxter
Posts: 4685
Joined: Wed Dec 20, 2017 11:00 am
Location: Botswana

Re: Small Feature Errors

#43 Post by Keith Baxter »

Hmmmm

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)	
This.
ice_screenshot_20230118-220130.png
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)	
This
ice_screenshot_20230118-221011.png
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 

SimPassion
Posts: 5340
Joined: Thu Jul 27, 2017 12:22 am

Re: Small Feature Errors

#44 Post by SimPassion »

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

Tetrachromat
Posts: 236
Joined: Sun Feb 14, 2021 6:55 pm

Re: Small Feature Errors

#45 Post by Tetrachromat »

I have not used the _fill primitive , so I'm surprised that it uses a different geometry as _stroke primitive.

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)	
gives:
stroke.png
with _fill only:

Code: Select all

	
Canvas = canvas_add(1,1,5,5)

canvas_draw(Canvas, function() 
	_rect(1,1,3,3)
	_fill("red")
end)	
gives:
fill.png
First _stroke, then _fill (using the same _rect path)

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)	
gives:
stroke_fill.png

User avatar
Keith Baxter
Posts: 4685
Joined: Wed Dec 20, 2017 11:00 am
Location: Botswana

Re: Small Feature Errors

#46 Post by Keith Baxter »

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. :oops:

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 

SimPassion
Posts: 5340
Joined: Thu Jul 27, 2017 12:22 am

Re: Small Feature Errors

#47 Post by SimPassion »

Keith Baxter wrote: Wed Jan 18, 2023 8:51 pm .../... But that will be on Friday as it is my birthday tomorrow. :oops:

Keith
Have a nice time tomorrow Keith, I guess with family and friends.

User avatar
Keith Baxter
Posts: 4685
Joined: Wed Dec 20, 2017 11:00 am
Location: Botswana

Re: Small Feature Errors

#48 Post by Keith Baxter »

SimPassion wrote: Wed Jan 18, 2023 8:57 pm
Keith Baxter wrote: Wed Jan 18, 2023 8:51 pm .../... But that will be on Friday as it is my birthday tomorrow. :oops:

Keith
Have a nice time tomorrow Keith, I guess with family and friends.
100's Gilles. Thanks for the kind words and will make sure I have a good time with the nice family members. :twisted:
I will remember to keep off the forum with a few dry reds down my hatch. :lol:

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 

User avatar
jph
Posts: 2856
Joined: Fri Apr 10, 2020 12:50 pm
Location: Somewhere over the rainbow..

Re: Small Feature Errors

#49 Post by jph »

Yes, happy birthday you old git :D
68 ? - pah, a mere lad. Still a few miles on the old engine yet.
:mrgreen:
Have a good one,
Joe
Joe. CISSP, MSc.

User avatar
Keith Baxter
Posts: 4685
Joined: Wed Dec 20, 2017 11:00 am
Location: Botswana

Re: Small Feature Errors

#50 Post by Keith Baxter »

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
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 

Post Reply