Xfrog plants rendering black

Started by Kieran Port, February 23, 2012, 02:34:22 am

Previous topic - Next topic

Kieran Port

Hey, when ever I render any Xfrog plant, the free samples, they their leaves turn out black all the time. Does anyone have any solutions.

TheBadger

It sounds like your textures are not connected in the node. Or the alphas are corrupted. First check to be sure that the files are connected in the node.
It has been eaten.


Kieran Port

Sorry to bug you again but i checked the node connections and they seemed to be alright except in lowest level they were not connected to each other or anything else. I tried to connect them together but it still didn't work so how exactly should they be connected up. If you could help me with this that would be great, thanks.

jo

Hi,

Could you post a screenshot of the part that doesn't look like it's hooked up right?

Regards,

Jo

Kieran Port

Hey sure thing,
The first one in the node Network level 1 and the second should be the Node Network level 3. The third is what my plant looks like what it should look like.




Thanks heaps,
Kieran

Oshyan

Kieran, the pics aren't showing up on our end because you've linked using your local file system paths. I suggest uploading as attachments instead.

- Oshyan

GioMez

I had the same problem too with some new models: I found out that there was no reference to the alpha in the shaders within "Parts Shader"
I copied the name of the image from the box "Colour image" to the "Opacity image" one (in the form "Opacity") and checked "Use alpha channel"... I hope it works!

rcallicotte

I have experience problems where the reference for the object in Terragen included an extra backslash and that prevented the image from being found via the MTL file.
So this is Disney World.  Can we live here?

Kieran Port

Hey,
Sorry it been a while but I had to go away and forgot about it. If anyone is still interested here are the images.
[attachmini=1]
[attachmini=2]
[attachmini=3]
[attachmini=4]
Hopefully they work this time, I'm kind of new to Terragen Forums.
Thanks.

masonspappy

April 15, 2012, 09:01:17 pm #10 Last Edit: April 16, 2012, 02:08:06 am by masonspappy
Re: your first image showing "black" render, what I'm seeing is the leaf image surrounded by a black border. Which tells me you don't have a mask for you leaf image.  So what you need to do is:
- make a mask (same format, eg PNG, GIF or what ever as your original leaf)
- load the plant object into terragen
- on the left side of the screen highlight the object name, then select the "surface shader" tab beneath it.  click the box to the righ, and select "go to parts shader...."
- the parts shader box opens up.  click the box to "edit the internal node of this network"
- There will be one or more red box/grey box pairings.  Double-click the red box that corresponds to your leaf image.
- Another box opens up. select the "opacity" tab, then click the Open FOlder Icon on the "opacity image"line.  Navigate to the folder containing your mask  and load that mask.
Hopefully you'll now be able to render your image and see the leaves as they should be.
If that doesn't work, try cursing, threating the computer or banging your fist against the wall. Won't fix anything but sometimes that makes me feel better.  ;D
I know that images have an Alpha Chanel where you can load the mask and bypass the exercise above. But they don't much seem to work in Terragen, so I usually end up gong through the exercise above

Walli

Xfrog plants usually make use of textures with embedded alpha/opacity, so you just have to activate the according checkbox (use alpha channel)

Kieran Port

hi,
sorry I took a while to respond. I tried following the steps you, masonspappy, gave me but it didn't work :(. But that's probably just because I stuffed them up. I also tried Walli's idea and that worked :). Thanks to all of you guys for helping.
Thanks, Kieran