Planetside Software Forums

General => Terragen Discussion => Topic started by: DanD on October 01, 2007, 04:45:49 PM

Title: Onyx
Post by: DanD on October 01, 2007, 04:45:49 PM
Ok..I create the tree in Onyx,save it as .obj, Yet..It renders black, I got rid of the spaces.
between the file names,and ..nada..nothing, anyone have any ideas ?

Dan
Title: Re: Onyx
Post by: dhavalmistry on October 01, 2007, 04:48:46 PM
did you also create .mtl file when you exported the tree to obj format??

.mtl file is a material file and when imported to TG2, the texture bitmaps/files has to be in same folder as your object

if you dont have texture files then .mtl will only store color info.
Title: Re: Onyx
Post by: DanD on October 01, 2007, 06:04:40 PM
Yep,Did that,What I get is a small window saying it cant read the image file.
However,I cant find anywhere to manually input color settings,without changing the surrounding
terrain. Is this feature not yet implemented ?
Title: Re: Onyx
Post by: eneilb on October 01, 2007, 07:30:42 PM
I have imported many Onyx trees into TG2 without problem.  I never even worried about the .mtl files.  The only issue I've ever had is "losing" the tree inside Terragen because the .obj format is in such a different scale than the terrain.
Title: Re: Onyx
Post by: DanD on October 01, 2007, 09:01:32 PM
Well,Thats fine Enelib,mind sharing how you do it ? Cause nothing is working here
Title: Re: Onyx
Post by: bobbystahr on October 03, 2007, 04:38:48 PM
DanD....try exporting from ONXY as a .3ds if that's allowed and running it through PoseRay, that way by the time you're saving it as an .obj out of PoseRay you already know where the textures are from doing them in the Materials Tab. Just save the .3ds to the folder you acquire the original ONYX model from, don't have it so I can't be more precise. Then create a folder in your TG2 objects dir named ONYX 'xxxxx' and copy all textures and .3ds file to there. When converting from PoseRay get the model from this folder and save to the same place and, even tho you may have to go into the Multi shader list to reset the textures at least you've seen their order in PoseRay in it's Materials Tab when you assign or confirm them. I recommend writing this order down as I have had mixed results getting the texture list I see in PoseRay to export to TG2 in the .obj file. Hope this helps...the reason I suggest this path is I have a few ONYX model hanging around from an architectural render series I did for a client[perks]and she gave them to me as .3ds so I assume she exported them as such, and I know this route works.. ...
Title: Re: Onyx
Post by: DanD on October 03, 2007, 08:07:25 PM
I had already tried that and while it worked for some,It had mixed results
I havent had any problem other than a minor scaling issue and random crashes which I expect