News:

 

Topic: obj Import problem  (Read 5697 times)

0 Members and 1 Guest are viewing this topic.

  • Posts: 1697
  • Administrator
  • Polygon
    • http://samardac.com/
January 12, 2015, 07:58:23 am
Hallo, I exported obj from KeyShot and can not open it in NVil.
Have this error:






obj:
https://drive.google.com/file/d/0B1uI4ljG15POX3M1X1AySVlNSG8/view?usp=sharing
Portfolio: www.samardac.com

  • No avatar
  • Posts: 2103
  • Polygon
January 12, 2015, 09:03:09 am
Looking at the .obj file, it is using "Relative Vertex Numbering". That is causing issues in various 3d applications I use.

Is there an option in "Keyshot" to export .obj in "Absolute"?


  • Posts: 1697
  • Administrator
  • Polygon
    • http://samardac.com/
January 12, 2015, 09:52:47 am
Hay Steve,
Looks like there is no any setting for Export in KeyShot.
Also wanted to say that some files that I Exported from KeyShot, NVil opens without problems.
All that files I created with NVil.
Portfolio: www.samardac.com

  • Posts: 1697
  • Administrator
  • Polygon
    • http://samardac.com/
January 12, 2015, 09:55:12 am
For example this file I exported from KeyShot and it opens well in NVil.
https://drive.google.com/file/d/0B1uI4ljG15POX3M1X1AySVlNSG8/view?usp=sharing
Portfolio: www.samardac.com

  • No avatar
  • Posts: 2103
  • Polygon
January 12, 2015, 10:15:29 am
For example this file I exported from KeyShot and it opens well in NVil.
https://drive.google.com/file/d/0B1uI4ljG15POX3M1X1AySVlNSG8/view?usp=sharing

Same error in Nvil.

The files appear to be the same, with the same download link.

  • No avatar
  • Posts: 3760
  • Developer
  • Administrator
  • Polygon
January 12, 2015, 10:18:24 am
If you open the obj file in a text editor, you will find two line like this

vn -1.#IND -1.#IND -1.#IND

It is a definition for a normal. But I don't know what means #IND.

If I change those two lines to

vn -1.0 -1.0 -1.0

It works.

  • Posts: 1697
  • Administrator
  • Polygon
    • http://samardac.com/
Portfolio: www.samardac.com

  • No avatar
  • Posts: 2103
  • Polygon
January 12, 2015, 10:24:39 am
If you open the obj file in a text editor, you will find two line like this

vn -1.#IND -1.#IND -1.#IND

Good find.

That usually refers to Invalid Normals.

  • No avatar
  • Posts: 3760
  • Developer
  • Administrator
  • Polygon
January 18, 2015, 09:26:27 am
I made some changes. If invalid normal values found, the normal information will be dumped and NVil will generate new normals.