Black edge, when using opacity

Maxon Cinema 4D (Export script developed by abstrax, Integrated Plugin developed by aoktar)

Moderators: ChrisHekman, aoktar

Post Reply
lukas8410
Licensed Customer
Posts: 100
Joined: Tue Oct 02, 2012 9:59 am

Hi guys, this might be a simple question but I haven't been able to find
the answer on my own. So please help.

My problem is that when I am importing a text in psd file,
and applying it onto my geometry with the help of a mix material
I am experiencing a black edge around the letters. I have been trying
different data types, and border modes but without success. What am I
missing here?

Thanks
Luke
// Behance: https://www.behance.net/LukaszKondek //

- Octane v3
- 1x Geforce 980 Ti , and 1x 570 GTX
User avatar
atome451
Licensed Customer
Posts: 285
Joined: Mon Feb 22, 2010 8:04 pm
Location: Brussels - Belgium
Contact:

Difficult to answer with these informations.
How do you use your text as PSD file? Alpha in amount of mix material? As diffuse, opacity? Wich type: Alpha, Float, Normal? What's the anti-aliasing parameter of your text in Photoshop? ...
You should give some more information and/or a sample image. ;)
Win10 64bits | 3x 980 + 2x 670 + 1060 | Cubix XPander + network | Core i7 3600 MHz | 32GB | 1300w PSU
Sorry for my bad english...
lukas8410
Licensed Customer
Posts: 100
Joined: Tue Oct 02, 2012 9:59 am

Yes I use my text, as PSD file.
In mix material I do use mix texture because i want both materials to be equally - fully - visible.
My PSD file has alpha in it, so I do not use opacity channel because it doesn't seem to be necessary,
i load my text to diffuse channel trough mix material, and then image texture in mix material.

I use smooth AA in PS. It's a little bit complicated to explain this stuff.

You can check out the attached image, to see how the problem occurs - now the edge is white.

Thanks :D
Attachments
Edge.PNG
// Behance: https://www.behance.net/LukaszKondek //

- Octane v3
- 1x Geforce 980 Ti , and 1x 570 GTX
User avatar
atome451
Licensed Customer
Posts: 285
Joined: Mon Feb 22, 2010 8:04 pm
Location: Brussels - Belgium
Contact:

Hi,
I think the definition of your text isn't high enough. That's the reason of the border i think.

To construct this kind of shader, you only need an alpha bitmap in the amount of a mix material. You just add a glossy and a diffuse material in the mix material. I have made a little sample with a spline text as material for the amount of the mix material but it's the same with a bitmap. Of course, if you need details or different colors in the text, you may add a colored bitmap in diffuse (of the glossy material in this case) ... ;)
test_text.zip
a sample
(165.71 KiB) Downloaded 207 times
Win10 64bits | 3x 980 + 2x 670 + 1060 | Cubix XPander + network | Core i7 3600 MHz | 32GB | 1300w PSU
Sorry for my bad english...
lukas8410
Licensed Customer
Posts: 100
Joined: Tue Oct 02, 2012 9:59 am

Thanks Mate,

I'll check this file out :D
// Behance: https://www.behance.net/LukaszKondek //

- Octane v3
- 1x Geforce 980 Ti , and 1x 570 GTX
lukas8410
Licensed Customer
Posts: 100
Joined: Tue Oct 02, 2012 9:59 am

Thanks Mate,

I have checked out Your Sample,
and i can see very clearly, that
the text on the cube also lacks
the definition on edges, which
are very rough.

I am not sure if this was the point
of this sample...?
// Behance: https://www.behance.net/LukaszKondek //

- Octane v3
- 1x Geforce 980 Ti , and 1x 570 GTX
User avatar
atome451
Licensed Customer
Posts: 285
Joined: Mon Feb 22, 2010 8:04 pm
Location: Brussels - Belgium
Contact:

To have a better result with text spline, you should test with Octane settings, Settings tab > Shader to texture set to 1024 or 2048. (This parameter is important for the conversion system integrated to the plugin for C4D shaders like noise or text splines. By default, the setup is too low for a text.)

Or replace the text spline by a bitmap with a higher definition like 1024 or 2048 square pixels. :)

Here a quick render of my sample with shader to texture setting to 4096 x 4096 px
sample with shader to texture 4096px
sample with shader to texture 4096px
Win10 64bits | 3x 980 + 2x 670 + 1060 | Cubix XPander + network | Core i7 3600 MHz | 32GB | 1300w PSU
Sorry for my bad english...
lukas8410
Licensed Customer
Posts: 100
Joined: Tue Oct 02, 2012 9:59 am

Nice, thank You for the info and fast response :D

Cheers,
Luke
// Behance: https://www.behance.net/LukaszKondek //

- Octane v3
- 1x Geforce 980 Ti , and 1x 570 GTX
Post Reply

Return to “Maxon Cinema 4D”