How to load obj file with texture ?

Started by softhunterdevil, September 18, 2009, 12:59:43 PM

Previous topic - Next topic

softhunterdevil

I have composed an ocean scene with a ship.
But the problem is I downloaded the free ship model as *.obj file
As I load it any texture is not there or the ship is completely black.
This was not the case with *.tgo files.
[attachimg=#]
Can any one tell me how to load obj file with texture. Is there some obj file with texture and some without texture ?
Or can anyone direct me to a similar ship model in *.tgo file. Cant find any...
Thanks in advance :)

goldfarb

was there and associated mtl file? are the textures in the right place?
--
Michael Goldfarb | Senior Technical Director | SideFX | Toronto | Canada

cyphyr

Welcome to the forum softhunterdevil :)
Obj's "should" come with a .mat file associated with them. Check that you've got both files in your download and that they're in the same directory. There are issues with obj's, its not really a standard format so depending where it was initially created the file may have differing qualities. One of the best solutions for getting obj's into Terragen properly is PoseRay. Do a search on the forum for Poseray, there's a variety of tutorials covering different uses and situations. You may even have to load your model in to a modeling app and re-texture :)
Good luck
Richard
www.richardfraservfx.com
https://www.facebook.com/RichardFraserVFX/
/|\

Ryzen 9 5950X OC@4Ghz, 64Gb (TG4 benchmark 4:13)

Henry Blewer

Click on the Objects Tab in Terragen 2. Click on the Shaders Tab in the objects control/input.  There should be a parts shader with a box to the right. This will bring up a new window. It should have an input with three icons to the right. Click on the one which looks like an upside down triangle; the node button.
In the node network window, below the preview, a list of the various Material/Shaders should appear. The red ones with the input connectors control color, images, and other aspects of each Material/Shader.
If I do not know where/what something is, I give it an obnoxious color, and do a small quick render. Now you are ready to color, and texture, add images as you need.

Looks like a really interesting render! I look forward to seeing the final image. 8)
http://flickr.com/photos/njeneb/
Forget Tuesday; It's just Monday spelled with a T

Henry Blewer

I'll be posting a tutorial on using Blender objects in Terragen 2. The Blender part is done.

http://forums.planetside.co.uk/index.php?topic=7567.msg80806#msg80806

The next part will cover the Terragen 2 aspect.
http://flickr.com/photos/njeneb/
Forget Tuesday; It's just Monday spelled with a T

softhunterdevil

#5
Quote from: cyphyr on September 18, 2009, 01:35:55 PM
Welcome to the forum softhunterdevil :)
Obj's "should" come with a .mat file associated with them. Check that you've got both files in your download and that they're in the same directory. There are issues with obj's, its not really a standard format so depending where it was initially created the file may have differing qualities. One of the best solutions for getting obj's into Terragen properly is PoseRay. Do a search on the forum for Poseray, there's a variety of tutorials covering different uses and situations. You may even have to load your model in to a modeling app and re-texture :)
Good luck
Richard

Thanks for the welcome note and for sharing the knowledge.
As far as I know the model was not accompanied by any other file.
Another thing ... is Poseray free ? and how to convert obj file to tgo file ? in Poseray ? In the mean time I am searching for tutorials.

BTW, I think this forum need little arrangement. One tutorial section (by experts) and one help section (for novices) . Otherwise in terragen 2 discussion all topics are dissolved.

cyphyr

Yes PoseRay is free, follow the link on my post.
You do have a good point about the organisation but generally the "good stuff" gets moved over to the Terragen wiki and User Contributed Tutorials
:)
Richard
www.richardfraservfx.com
https://www.facebook.com/RichardFraserVFX/
/|\

Ryzen 9 5950X OC@4Ghz, 64Gb (TG4 benchmark 4:13)