Win a copy of Java Mock Exams (software) this week in the Programmer Certification (OCPJP) forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Exception in importing objects

 
Girish Velivela
Greenhorn
Posts: 16
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Everyone,

I am trying to import a 3d model rendered by rendering software. But while importing during time I am getting an exception something like this

"com.interactivemesh.jfx.importer.ImportException: Material not found in mtl-file, name = >Mat< ".

Please how to solve?

Is there any rules that we should use only particular type of material, colours or software's should be used ?

thanks in advance......

 
August Lammersdorf
Greenhorn
Posts: 8
  • Likes 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
This exception will be thrown while importing an *.obj file. Typically, there is a corresponding *.mtl file which comprises all materials referenced from within the *.obj file. This exception was thrown because the material named "Mat" couldn't be found in the *.mtl file.

August
 
Happiness is not a goal ... it's a by-product of a life well lived - Eleanor Roosevelt. Tiny ad:
the new thread boost feature: great for the advertiser and smooth for the coderanch user
https://coderanch.com/t/674455/Thread-Boost-feature
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!