Facebook Twitter YouTube Frictional Games | Forum | Privacy Policy | Dev Blog | Dev Wiki | Support | Gametee


Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[HELP] Blender modeling
robo Offline
Member

Posts: 55
Threads: 15
Joined: Dec 2011
Reputation: 0
#1
Question  [HELP] Blender modeling

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]
10-06-2012, 01:47 AM
Find
Statyk Offline
Schrödinger's Mod

Posts: 4,390
Threads: 72
Joined: Sep 2011
Reputation: 241
#2
RE: [HELP] Blender modeling

Have you added an alpha channel to the image?
10-06-2012, 01:58 AM
Find
robo Offline
Member

Posts: 55
Threads: 15
Joined: Dec 2011
Reputation: 0
#3
RE: [HELP] Blender modeling

I dont know.
What I should have mentioned was that i'm new to this kind of modelling.
Could you be more specific? Smile
10-06-2012, 02:47 AM
Find
Your Computer Offline
SCAN ME!

Posts: 3,456
Threads: 32
Joined: Jul 2011
Reputation: 235
#4
RE: [HELP] Blender modeling

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.

Tutorials: From Noob to Pro
(This post was last modified: 10-06-2012, 03:06 AM by Your Computer.)
10-06-2012, 03:04 AM
Website Find
robo Offline
Member

Posts: 55
Threads: 15
Joined: Dec 2011
Reputation: 0
#5
RE: [HELP] Blender modeling

Is TGA supported too?
10-06-2012, 03:07 AM
Find
Your Computer Offline
SCAN ME!

Posts: 3,456
Threads: 32
Joined: Jul 2011
Reputation: 235
#6
RE: [HELP] Blender modeling

TGA supports transparency.

Tutorials: From Noob to Pro
10-06-2012, 03:08 AM
Website Find
robo Offline
Member

Posts: 55
Threads: 15
Joined: Dec 2011
Reputation: 0
#7
RE: [HELP] Blender modeling

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
(This post was last modified: 10-06-2012, 03:15 AM by robo.)
10-06-2012, 03:11 AM
Find
Your Computer Offline
SCAN ME!

Posts: 3,456
Threads: 32
Joined: Jul 2011
Reputation: 235
#8
RE: [HELP] Blender modeling

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.

Tutorials: From Noob to Pro
10-06-2012, 03:15 AM
Website Find
Statyk Offline
Schrödinger's Mod

Posts: 4,390
Threads: 72
Joined: Sep 2011
Reputation: 241
#9
RE: [HELP] Blender modeling

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.
(This post was last modified: 10-06-2012, 03:19 AM by Statyk.)
10-06-2012, 03:19 AM
Find
robo Offline
Member

Posts: 55
Threads: 15
Joined: Dec 2011
Reputation: 0
#10
RE: [HELP] Blender modeling

oh okey, but anyway,
Here is the model inside Model editor
http://i.imgur.com/2TvQN.png
10-06-2012, 03:20 AM
Find




Users browsing this thread: 1 Guest(s)