MoI discussion forum
MoI discussion forum

Full Version: 64 Bit and Linux support (via Wine) with Nvidia graphics cards

Show messages: All  1-10  11-19

From: Michael Gibson
4 Mar 2018   [#11] In reply to [#10]
Hi Bernhard,

> but the issue remains and as far as I can tell, the output is always anti-aliased:

It's hard to tell if anti-aliasing is turned on there because it's solid polygon drawing anti-aliasing that would cause the object id problem, edge antialiasing like on all the outlines of a box is done using a different method. Can you do something like a sphere instead so I can see the silhouettes from shaded polygon drawing instead of edge drawing?


> In "nvidia-settings", for "Antialiasing Settings", I applied "Off" and "Override Application Settings":

Usually it's best to let it be "Application controlled" if there is any setting for that available.


> So would it help to add an option in MoI to enable anti-aliasing? I mean, so that MoI
> and wine are in sync about the state?

Well the selection mechanism does some video card rendering but it's slightly different than what you see on the screen. The rendering done for selection can't have antialiasing enabled for it to work properly.

It could be possible that it's some other issue around texture readback that's the problem and not antialiasing being forced on after all, it's just that in the past that has been the case in other instances that only mouse-over selection was not working.


> BTW.: With MoI V3 on wine, it also appears that anti-aliasing is enabled by default (see, below),
> but there is no issue concerning selecting objects.

MoI V3 on Wine was using Wine's Direct3D9 layer for doing the graphics, while MoI v4 on Wine is using OpenGL, so the graphics libraries that are used are pretty different between them. I'll be adding an option in the next beta to force MoI to use Direct3D11 on Wine rather than OpenGL maybe that will work better.

Probably not for the next beta but sometime after I'll investigate if MoI is doing something wrong with texture readback for OpenGL that needs to be tuned up. It should in theory be better for MoI to use OpenGL on Wine since it's a much thinner layer.

- Michael
From: JaXXoN
5 Mar 2018   [#12] In reply to [#11]
Hi Michael,

Thanks for your fast response!

"Use Application Settings" is the default:



The sphere object looks not anti-aliased, but the curve on the sphere appears to be:



Looks the same for MoI v3.


I actually don't dare to ask: with V4 now using Qt and OpenGL, what are the chances that MoI will support Linux natively in a foreseeable future? :-)

best regards

Bernhard

Image Attachments:
moi4-sphere.png  nvidia-settings-Use_Application_Settings.png 


From: Michael Gibson
5 Mar 2018   [#13] In reply to [#12]
Hi Bernhard, thanks for testing that.

So that looks like the problem isn't anti-aliasing being forced on, it must be something else.

I will see if some changes to how MoI does the texture readback for selection might help.


> I actually don't dare to ask: with V4 now using Qt and OpenGL, what are the chances that
> MoI will support Linux natively in a foreseeable future? :-)

I'm sorry but it's not something I think is feasible for me to target currently, there's just so much additional work involved beyond compiling. Things like learning all the platform specific behavior quirks and testing different distros require a lot of time.

Just supporting 2 different platforms has pretty much stretched me to the limit as it is.

- Michael
From: JaXXoN
7 Mar 2018   [#14] In reply to [#13]
Hi Michael,

With all the exceptional work you are doing on MoI and the excellent free support in the Forum, I kind of expected that there's not enough bandwidth for a Linux port :-)
Keep up the good work!

best regards

Bernhard
From: Michael Gibson
7 Mar 2018   [#15] In reply to [#14]
Thanks Bernhard! I will be able to spend some time working out the kinks for Wine support though. It doesn't seem like there is too much to do for tuning that up, the problem is likely to be in a specific area of texture read back for the selection problems.

- Michael
From: JaXXoN
7 Mar 2018   [#16] In reply to [#15]
Hi Michael,

Thanks for supporting wine! Please let me know when you need me to run some tests.

best regards

Bernhard
From: Axel
3 Nov 2018   [#17] In reply to [#16]
Hi Michael,

I am referring to the above screenshots where the sphere is seen with the line anti-aliased and the outlines of the sphere like small steps. I am not into that discussion about Linux and wire, but using Win7 and NVIDIA graphics (with an older gamer card, 780TI or similar) is there a way to get rid of these small steps on the outlines?

For example when I draw two lines and make a loft resulting in a surface it looks really annoying with the surface outlines and the curve line combined especially when pan around in 3D view which I often use, it's quite hard to work with when using surfaces. Only with normal curve lines it's fine, they are anti-aliased. Maybe just a graphic setting or editing the .ini file will help?



Best regards,

Axel
From: Michael Gibson
3 Nov 2018   [#18] In reply to [#17]
Hi Axel, sorry no there currently isn't any way set in MoI to do anti-aliasing of shaded surface areas. But curves and edges are antialiased automatically.

- Michael
From: Axel
3 Nov 2018   [#19] In reply to [#18]
Thanks Michael, nonetheless a great program :-)


Best regards,

Axel

Show messages: All  1-10  11-19