Author Topic: Hpw to open an OBJ mtl file  (Read 835 times)

Offline luvsmuzik

  • Member
  • *
  • Posts: 2410
    • luvsmuzik 1995
Hpw to open an OBJ mtl file
« on: February 02, 2018, 08:41:06 PM »
This may or may not help newer Terrageneers

Expand your object shader tree to access the control boxes or use the node network in OBJECTS

Offline Oshyan

  • Planetside Staff
  • *
  • Posts: 12195
  • Holy snagging ducks!
Re: Hpw to open an OBJ mtl file
« Reply #1 on: February 04, 2018, 01:51:01 AM »
Good info, but to be clear, that is only showing what Terragen interpreted *from* the MTL and OBJ files. You can also open .MTL files in a simple text editor and this is frequently a valuable troubleshooting tool in cases where materials do not seem to be coming into Terragen correctly. A valid .MTL with correct texture paths is needed for Terragen to properly assign materials from OBJs.

- Oshyan

Offline Ethrieltd

  • Member
  • *
  • Posts: 162
  • Well, here I am...
    • Youtube SFX Reels
Re: Hpw to open an OBJ mtl file
« Reply #2 on: February 04, 2018, 04:19:02 AM »
A valid .MTL with correct texture paths is needed for Terragen to properly assign materials from OBJs.

- Oshyan

Do those have to be absolute paths?

Offline Dune

  • Terragen Alpha Tester (Win)
  • ***
  • Posts: 13665
  • Corkscrew Bird
    • www.ulco-art.nl
Re: Hpw to open an OBJ mtl file
« Reply #3 on: February 04, 2018, 05:46:07 AM »
Unless it's in the same folder.
In case you still haven't seen enough of my work: www.ulco-art.nl

Offline luvsmuzik

  • Member
  • *
  • Posts: 2410
    • luvsmuzik 1995
Re: Hpw to open an OBJ mtl file
« Reply #4 on: February 04, 2018, 10:44:49 AM »
Good info, but to be clear, that is only showing what Terragen interpreted *from* the MTL and OBJ files. You can also open .MTL files in a simple text editor and this is frequently a valuable troubleshooting tool in cases where materials do not seem to be coming into Terragen correctly. A valid .MTL with correct texture paths is needed for Terragen to properly assign materials from OBJs.

- Oshyan

Well yeah, then you can use your find and replace options to track down colors, materials ....etc. Been there too. :) I did not realize for awhile that mtls opened in notepad. Like those programs that create a text file for you as you create, there can be a huge file.

Mostly I did this example so one could see if textures exported correctly. I find that often objects I make do not so then I use Poseray to fix the mtl. My problems are probably due to lack of knowledge as to how to export the initial materials with the object.
« Last Edit: February 04, 2018, 11:05:33 AM by luvsmuzik »

Offline SILENCER

  • Member
  • *
  • Posts: 117
Re: Hpw to open an OBJ mtl file
« Reply #5 on: February 08, 2018, 07:15:47 PM »
Yes, this needs to be corrected.
I've had various flora in .obj format come in with zippo. A lot of that occurred with Vizipark stuff.

Also, with the new .LWO format in LightWave 2018, it'd be nice to be able to get that format's texture data across as well.

Offline Mid-Knight Acchan

  • Member
  • *
  • Posts: 66
  • https://www65.atwiki.jp/terragen/
    • Terragen 4 japanese wiki
Re: Hpw to open an OBJ mtl file
« Reply #6 on: February 22, 2018, 05:34:14 AM »
https://www65.atwiki.jp/terragen/pages/97.html

I'm glad if you can use it as a reference.
However, the explanation is Japanese ;)

Offline bobbystahr

  • Member
  • *
  • Posts: 9003
  • Turn, and face the Strange Ch Ch Changes...D Bowie
Re: Hpw to open an OBJ mtl file
« Reply #7 on: February 26, 2018, 02:57:07 AM »
https://www65.atwiki.jp/terragen/pages/97.html

I'm glad if you can use it as a reference.
However, the explanation is Japanese ;)

Google translates it just fine....thanks for the link.
something borrowed,
something Blue.
Ring out the Old.
Bring in the New

bobbystahr

Offline digitalguru

  • Member
  • *
  • Posts: 276
Re: Hpw to open an OBJ mtl file
« Reply #8 on: February 26, 2018, 10:19:05 AM »
that's the best translation I've seen for a technical web page - site looks interesting too

Offline WASasquatch

  • Member
  • *
  • Posts: 1626
  • to = ( be ) ? be : not;
Re: Hpw to open an OBJ mtl file
« Reply #9 on: March 05, 2018, 01:19:50 AM »
I've noticed a common issue with objects is the author tends to test his objects within his workspace, export, and than change the file structure to compress. This tends to cause confusion when using the objects where textures point to non-existent locations.
Art can be a window into the soul