Well, yeah, *any* shader designed to bring 3d failed for me prior to switching to 11.1.
Judging by the changelog which explicitly stated there were many canvas problems in 11.0.
Will test rc3 asap
Edit: rctest3.love works with 11.1.0 like a charm
So, the recent update make it work for me. Gonna test other shaders (non-3d that were failing me earlier) as well.
Why faking 3D nowadays?
Re: Why faking 3D nowadays?
Hello so I tried to remake Löve3D demos but I have problems with depth can someone show me what I am doing wrong? I tried rc example on this page and that one works well but I can not figure out why depth does not work in this.
https://openfun.eu/owncloud/index.php/s/cogyBbnwei53B4T
https://openfun.eu/owncloud/index.php/s/cogyBbnwei53B4T
Re: Why faking 3D nowadays?
Welcome to the forums.
I don't see anything wrong when I try to run that file. What did you expect and what do you see instead?
Please attach the .love file to your post next time.Demonio wrote: ↑Mon Jul 09, 2018 11:55 am Hello so I tried to remake Löve3D demos but I have problems with depth can someone show me what I am doing wrong? I tried rc example on this page and that one works well but I can not figure out why depth does not work in this.
https://openfun.eu/owncloud/index.php/s/cogyBbnwei53B4T
I don't see anything wrong when I try to run that file. What did you expect and what do you see instead?
Re: Why faking 3D nowadays?
What I expect is this
But what I get is this
But what I get is this
Re: Why faking 3D nowadays?
Thanks. The depth buffer is not the problem; the demo works in 0.10 even when disabling love3d entirely, you just see some polygons drawn in a weird order. It seems to me that the problem is in some lib that isn't upgraded to work with 11.x (probably IQM). I get the same result when I run the original love3d demo in 11.1.
Edit: I forgot, the problem is that shader:send requires the matrix transposed in 11.x. https://github.com/excessive/cpml/issues/32
Changing to_vec4s() to transpose the result works.
Note you should use dots for directories in require(). For example: require('libs.iqm'). That's not the problem, though, just a note.
Edit: I forgot, the problem is that shader:send requires the matrix transposed in 11.x. https://github.com/excessive/cpml/issues/32
Changing to_vec4s() to transpose the result works.
Note you should use dots for directories in require(). For example: require('libs.iqm'). That's not the problem, though, just a note.
Last edited by pgimeno on Wed Jul 11, 2018 8:55 am, edited 1 time in total.
Re: Why faking 3D nowadays?
I tried to use IQM in rclib example and it works there (with poligons in wrong order). What I expect is problem in cpml. I will try to rewrite both of them and see how it will go.
Thanks you for your help.
Thanks you for your help.
Re: Why faking 3D nowadays?
Oops, I edited too late. Yes, it's this problem: https://github.com/excessive/cpml/issues/32
Edit: Note also that the love3D demo additionally performs backface culling to improve performance which you can activate with love.graphics.setMeshCullMode.
Edit: Note also that the love3D demo additionally performs backface culling to improve performance which you can activate with love.graphics.setMeshCullMode.
Who is online
Users browsing this forum: Ahrefs [Bot] and 7 guests