filtering is not
>>> linear then it uses a nearest neighbor algorithm. It's not used by the 3D
>>> side it seems.
>>>
>>> On Sun, Jun 25, 2023 at 8:54 PM Matija Brown
>>> wrote:
>>>
>>>> This is a good point you’re bringing
OpenGL side of things.
>>>
>>>
>>>
>>> The ES2Texture class appears to handle everything there. There are two
>>> create-Methods, but the other
>>>
>>> one is responsible for MediaFrame stuff and it doesn’t really? make
>>> sense to
ain if it
>> makes sense use-case wise.
>>
>>
>>
>> Thanks,
>>
>> Matija.
>>
>>
>>
>> *From: *Nir Lisker
>> *Sent: *Sunday, 25 June 2023 19:49
>> *To: *Matija Brown
>> *Cc: *Jayathirth Rao Daarapuram Venkatesh Mur
...@outlook.de>
*Cc: *Jayathirth Rao Daarapuram Venkatesh Murthy
<mailto:jayathirth@oracle.com>; Kevin Rushforth
<mailto:kevin.rushfo...@oracle.com>; openjfx-dev@openjdk.org
*Subject: *Re: [JavaFX 3D ( | Feature Request)] Setting Texture
Nearest-Sampling on PhongM
thy ,
Kevin Rushforth , openjfx-dev@openjdk.org
Subject: [External] : Re: [JavaFX 3D ( | Feature Request)] Setting Texture
Nearest-Sampling on PhongMaterial
Perhaps Jay and Kevin can weigh in on this.
By the way, I see that the com.sun.prism.Texture interface already defines
get/setLinearFilter
ybe just a flag in PhongMaterial would suffice?
>
>
>
> Have a nice day,
>
> Matija.
>
> *From: *Matija Brown
> *Sent: *Thursday, 22 June 2023 18:37
> *To: *Jayathirth Rao Daarapuram Venkatesh Murthy
> ; Nir Lisker ; Kevin
> Rushforth
> *Cc: *openjfx-dev@open
ev@openjdk.org>
Subject: Re: [JavaFX 3D ( | Feature Request)] Setting Texture Nearest-Sampling
on PhongMaterial
I think that the first question to answer is whether the filtering method is
applied to all maps/textures of the material (diffuse, specular,
self-illumination) or to each individu
do for OpenGL, as
> we have that for D3D already.
>
> Then do a little example probably – doesn’t really seem too much work to
> me?
>
>
>
> Thanks,
>
> Matija.
>
>
>
> *From: *Jayathirth Rao Daarapuram Venkatesh Murthy
>
> *Sent: *Thursday, 22 June 2023 06:
il.com>;
Kevin Rushforth<mailto:kevin.rushfo...@oracle.com>
Cc: openjfx-dev@openjdk.org<mailto:openjfx-dev@openjdk.org>
Subject: RE: [JavaFX 3D ( | Feature Request)] Setting Texture Nearest-Sampling
on PhongMaterial
I’ll do the OpenGL – have done quite a bit with Vulkan and GL in t
Lisker<mailto:nlis...@gmail.com>; Kevin
Rushforth<mailto:kevin.rushfo...@oracle.com>
Cc: openjfx-dev@openjdk.org<mailto:openjfx-dev@openjdk.org>
Subject: Re: [JavaFX 3D ( | Feature Request)] Setting Texture Nearest-Sampling
on PhongMaterial
Correcting myself:
Currently I am working on
Date: Thursday, 22 June 2023 at 9:22 AM
To: Nir Lisker , Kevin Rushforth
Cc: openjfx-dev@openjdk.org
Subject: Re: [JavaFX 3D ( | Feature Request)] Setting Texture Nearest-Sampling
on PhongMaterial
Currently I am working on Metal implementation of the same and has no bandwidth
to work on
:40 PM
To: Kevin Rushforth
Cc: openjfx-dev@openjdk.org
Subject: Re: [JavaFX 3D ( | Feature Request)] Setting Texture Nearest-Sampling
on PhongMaterial
If I remember correctly, in OpenGL you parse the texture filter when the
texture is being created, while in DirectX as it is bound
to the sampler
upport only these 2 filters for all platforms.
>
>
>
> Thanks,
>
> Jay
>
>
>
> *From: *openjfx-dev
> on behalf of Nir Lisker
>
> *Date: *Wednesday, 21 June 2023 at 3:57 PM
> *To: *Matija Brown
> *Cc: *openjfx-dev@openjdk.org
>
> *Subjec
*Cc: *openjfx-dev@openjdk.org
*Subject: *Re: [JavaFX 3D ( | Feature Request)] Setting Texture
Nearest-Sampling on PhongMaterial
In OpenGL we set GL_LINEAR by default at :
https://github.com/openjdk/jfx/blob/0d9dcf38275528e1b621d71631aac5bdb9452110/modules/javafx.graphics/src/main/java/com/sun/prism/e
;
Sent: Wednesday, 21 June 2023 13:09
To: Nir Lisker<mailto:nlis...@gmail.com>; Matija
Brown<mailto:matija.br...@outlook.de>
Cc: openjfx-dev@openjdk.org<mailto:openjfx-dev@openjdk.org>
Subject: Re: [JavaFX 3D ( | Feature Request)] Setting Texture Nearest-Sampling
on PhongMaterial
In Op
nce contributors hands.
From: Nir Lisker<mailto:nlis...@gmail.com>
Sent: Tuesday, 20 June 2023 20:50
To: Matija Brown<mailto:matija.br...@outlook.de>
Cc: openjfx-dev@openjdk.org<mailto:openjfx-dev@openjdk.org>
Subject: Re: [JavaFX 3D ( | Feature Request)] Setting Texture Nearest-Sampling
ry well acquainted with current design principles of this
> library, these things should lie in more experience contributors hands.
>
>
>
> *From: *Nir Lisker
> *Sent: *Tuesday, 20 June 2023 20:50
> *To: *Matija Brown
> *Cc: *openjfx-dev@openjdk.org
> *Subject: *Re: [JavaFX 3
Brown<mailto:matija.br...@outlook.de>
Cc: openjfx-dev@openjdk.org<mailto:openjfx-dev@openjdk.org>
Subject: Re: [JavaFX 3D ( | Feature Request)] Setting Texture Nearest-Sampling
on PhongMaterial
Which leads to the question; Does there, in JavaFX exist something comparable
to setting t
>
> Which leads to the question; Does there, in JavaFX exist something
> comparable to setting the texture-sampler to NEAREST
>
> instead of LINEAR sampling?
>
There is no API to set the texture filter. If you would like to contribute
and add it, I can help. It needs to be compatible with both Dir
On my never ending journey of building a Minecraft-clone in every
graphics-framework available,
I have come across JavaFX for the next attempt.
However a minor inconvenience has crossed my path in the process:
Using the (very well developed!) 2D-Graphics displaying pixel-art style images
is no
20 matches
Mail list logo