FX 3D : PhongMaterial xxxMap's Image questions
Chien Yang
chien.yang at oracle.com
Mon May 13 22:38:05 PDT 2013
Hi August,
Thanks for the update. You are ahead of us in using this new API.
:-) Can you please file JIRA on the issues and missing features that you
have found.
We will investigate/study the JIRAs if you filed.
Thanks,
- Chien
On 5/13/2013 10:13 AM, August Lammersdorf, InteractiveMesh wrote:
> Chien,
>
> my own tests lead to following answers:
>
>> - Can a WritableImage generally be used as a map's image?
>
> Yes !
>
>> - Will the corresponding map be updated if PixelWriter.setPixels(...)
>> is called?
>
> No !! But the map will be updated if the same WritableImage is also
> added per an ImageView to the scene.
>
>> - What are the preferred pixel formats for maps ... ?
>
> WritableImage doesn't provide any choice.
> WritableImage.getPixelWriter().getPixelFormat() seems to be the one
> and only format ?!
>
> The next release of my 3D model importers will allow to choose
> WritableImage for maps. I need this too for image formats not
> supported by JavaFX like 'tga' and 'tif'.
>
> Is map's pixel update planned or should I (or you) file a JIRA?
>
> August
>
> Am Montag, den 06.05.2013, 14:18 +0200 schrieb Chien Yang
> <chien.yang at oracle.com>:
>> Hi August,
>>
>> These are great questions. WritableImage is a sub class of Image
>> so it should work, but honestly speaking we haven't tried. ;-) Please
>> file a JIRA if it doesn't work. The default image orientation for
>> maps: y-down (origin at the upper left). If time permit I plan to
>> write some tests, later this week, to address some of your questions.
>>
>> Thanks,
>> - Chien
>>
>>
>
More information about the openjfx-dev
mailing list