Frictional Games Forum (read-only)
[HELP] Blender modeling - Printable Version

+- Frictional Games Forum (read-only) (https://www.frictionalgames.com/forum)
+-- Forum: Amnesia: The Dark Descent (https://www.frictionalgames.com/forum/forum-6.html)
+--- Forum: Custom Stories, TCs & Mods - Development (https://www.frictionalgames.com/forum/forum-38.html)
+---- Forum: Development Support (https://www.frictionalgames.com/forum/forum-39.html)
+---- Thread: [HELP] Blender modeling (/thread-18648.html)

Pages: 1 2 3


[HELP] Blender modeling - robo - 10-06-2012

So i'm having a problem with texturing a bush.
This is the model and the problem. I want to filtering out the black but I have no idea how to do it!
Anyone in here with any experience?

[Image: 6VdR0.png]


RE: [HELP] Blender modeling - Statyk - 10-06-2012

Have you added an alpha channel to the image?


RE: [HELP] Blender modeling - robo - 10-06-2012

I dont know.
What I should have mentioned was that i'm new to this kind of modelling.
Could you be more specific? Smile


RE: [HELP] Blender modeling - Your Computer - 10-06-2012

If you're viewing it in Blender, then you shouldn't worry about it till you try to import to Amnesia. However, if you can't stand looking at it like that, then in the Materials tab make sure Transparency is enabled and set the alpha to 0. Then in the textures tab, make sure Alpha is checked and has a value of 1 under Influence. Then when you render the image, it shouldn't show the black background of the image if the image has an alpha channel.

You should note that not all image formats support transparency. DDS and PNG support transparency.


RE: [HELP] Blender modeling - robo - 10-06-2012

Is TGA supported too?


RE: [HELP] Blender modeling - Your Computer - 10-06-2012

TGA supports transparency.


RE: [HELP] Blender modeling - robo - 10-06-2012

I did what you said but the model still had the black in it.
The only way I can remove it is having no mesh. But you need mesh to compile it in amnesia :/

Here is the model inside Model editor
http://i.imgur.com/2TvQN.png


RE: [HELP] Blender modeling - Your Computer - 10-06-2012

If you want to see the transparency in Blender's viewport, not just the rendered image, you have to switch the shading display to GLSL. To do this, hit N on the keyboard to bring up extra options if not already open. Then look for "Display" and in that there should be a field called "Shading." Change the value to GLSL.


RE: [HELP] Blender modeling - Statyk - 10-06-2012

Alpha channels are a channel in an image that allow for transparency. There is Red, Blue, Green, and Alpha. To add an alpha channel in Photoshop go to Window>Channels. Add a new channel at the bottom right of the channel window, and it should generate an Alpha channel.

The Alpha channel works in greyscale. White to black.

White = 100% visibility
Black = 0% visibilty/invisible
In between/grey = translucent. The darker the grey, the less visible, the brighter, the more visible.

You should paint any part of the image that is a leaf WHITE, and leave the rest black. Common filetypes that support alpha channels are .png, .tga, .dds, though .dds is more for games, Which Amnesia uses. It has a good compression and contains mipmaps, which is a feature in games where, simply put, the further you walk away, the less detailed a texture gets, which is good for optimization. .dds is much more preferred. Compress it as DXT5. Though it takes up more memory space, it holds alpha channels. DXT1 does not, but it takes up less memory space. So be smart when compressing .dds! Only catch is that you need to download the .dds plugin for your photo editing software.

Edit: Ninja'd like crazy. I guess I took too long typing that.


RE: [HELP] Blender modeling - robo - 10-06-2012

oh okey, but anyway,
Here is the model inside Model editor
http://i.imgur.com/2TvQN.png