<html xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
<meta name="Generator" content="Microsoft Word 15 (filtered medium)">
<style><!--
/* Font Definitions */
@font-face
{font-family:"Cambria Math";
panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
{font-family:Calibri;
panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0cm;
font-size:11.0pt;
font-family:"Calibri",sans-serif;}
.MsoChpDefault
{mso-style-type:export-only;}
@page WordSection1
{size:612.0pt 792.0pt;
margin:72.0pt 72.0pt 72.0pt 72.0pt;}
div.WordSection1
{page:WordSection1;}
--></style>
</head>
<body lang="en-DE" link="blue" vlink="#954F72" style="word-wrap:break-word">
<div class="WordSection1">
<p class="MsoNormal">On my never ending journey of building a Minecraft-clone in every graphics-framework available,</p>
<p class="MsoNormal">I have come across JavaFX for the next attempt.</p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">However a minor inconvenience has crossed my path in the process:</p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Using the (very well developed!) 2D-Graphics displaying pixel-art style images is no trouble whatsoever.</p>
<p class="MsoNormal">Simply rendering it to a canvas and disabling smoothing does the job just fine. Unfortunately, I have been<o:p></o:p></p>
<p class="MsoNormal">unable to figure out how to achieve a similar thing using the 3D-Graphics engine and the PhongMaterial that comes with it.<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Which leads to the question; Does there, in JavaFX exist something comparable to setting the texture-sampler to NEAREST<o:p></o:p></p>
<p class="MsoNormal">instead of LINEAR sampling?<o:p></o:p></p>
<p class="MsoNormal">Unfortunately the latest information I could find online was from about 2013 and much has (probably)<o:p></o:p></p>
<p class="MsoNormal">changed since then. Thus the question is being posed once again.<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">I whish to excuse myself for probably repeating a fairly common question,<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Kind regards,<br>
Matija Brown.<o:p></o:p></p>
</div>
</body>
</html>