FX 3D : PhongMaterial xxxMap's Image questions

August Lammersdorf, InteractiveMesh sdn at interactivemesh.com
Tue May 28 05:03:01 PDT 2013


 Hi Chien,

 the early access releases 0.3 of the JavaFX 3D model importers 
 supporting JavaFX 8.0 b91 are now available.

 New:

  - 3ds model importer
  - support of tga and tif images for PhongMaterial maps as 
 WritableImage
  - WritableImage type option also for bmp, gif, jpeg, and png images
  - internal adaptions due to TriangleMesh API changes
 
 August
 
 PS : A sample 'FXTuxCube' for testing the performance of Java 3D(TM) 
 integration into Java FX 2 is now available: 
 http://www.interactivemesh.org/testspace/j3dmeetsjfx.html

 Am Montag, den 13.05.2013, 22:38 +0200 schrieb Chien Yang 
 <chien.yang at oracle.com>:
> 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



More information about the openjfx-dev mailing list