Detatching Alpha layer

If you feel like you're up to the challenge of building your own Ages in Blender or 3ds Max, this is the place for you!

Detatching Alpha layer

Postby Grogyan » Sat Jan 19, 2008 8:23 pm

I have just downloaded the newest plugin, and I was just about to use the stencil mode when I realized something.

If I vertex paint as an alpha layer specific spots that I would like blend with another texture with Stencil mode later on, there is, as far as I can quickly see, no way to pull off that layer and save it it as a "stencil".

So I am requesting, cause I don't know how to script yet, a script or wizard, that allows one to vertex paint as an Alpha layer, and pull that layer off and save it, so that we can use it as a stencil, please?
And is it possible to use multiple stencils on the same mesh, to indicate different areas to blend different textures?



I am very grateful that you guys have done so much work on getting the plugin working the way it is.
Last edited by Grogyan on Sun Jan 20, 2008 8:52 pm, edited 1 time in total.
Better to have loved and lost than never to have loved at all
User avatar
Grogyan
 
Posts: 1203
Joined: Thu Oct 11, 2007 1:27 am

Re: Script request

Postby Kato » Sun Jan 20, 2008 9:34 am

I'm pretty sure that it's impossible to do this. You CAN, however, use texture paint and an all-black or all-white image to paint your stencil. You can then save this and use it as a stencil.

To do this, open a UV/Image Editor window, and open up your texture. Make sure your model is unwrapped, press the pencil-looking button, and paint away. When you're done, you can save this (via Image > Save or Image > Save As) and then reload it as a stencil. Use View > Paint Tool to pop up a window with which you can change the brush settings and color.

Does that work for you?

Also, I'm not sure about the multiple stencils. Give it a try and let us know!

-Kato
Image
(explorer card designed and created by me)
User avatar
Kato
 
Posts: 315
Joined: Fri Sep 28, 2007 8:02 pm
Location: South USA

Re: Script request

Postby Nadnerb » Sun Jan 20, 2008 11:22 am

You might be able to write a script to convert this into a specialized UV layer. Use a texture that is a gradient from black to white, and set all the white uv coords on one side and all the black ones on the other. (and for what's in between) Then use that texture and uv layer as a stencil layer. Cyan actually uses this method a couple of times to combine what would normally be multiple vertex alpha blended objects into one material.
Image
Live KI: 34914 MOULa KI: 23247 Gehn KI: 11588 Available Ages: TunnelDemo3, BoxAge, Odema
Nadnerb
 
Posts: 1057
Joined: Fri Sep 28, 2007 8:01 pm
Location: US (Eastern Time)

Re: Detatching Alpha layer

Postby Grogyan » Sun Jan 20, 2008 9:11 pm

I have changed the topic title.
I am sure the best way to handle this problem is to save it as a UV image and edit that in either Gimp or Paint.net.

But seeing as the wiki is up, i'll read that before I try anything silly.
Better to have loved and lost than never to have loved at all
User avatar
Grogyan
 
Posts: 1203
Joined: Thu Oct 11, 2007 1:27 am

Re: Detatching Alpha layer

Postby Marcello » Mon Jan 21, 2008 1:18 am

I would say paint a map either using the UV paint or Photoshop/Gimp. You will be able to much more detail. Converting a vertex paint layer will restrict you in detail.

When using stencils for this purpose try to keep the image size as small as possible for the amount of detail you need. I don't think adding several large 1024x1024 stencil maps is the way to go. I have yet to see an age in which Cyan uses stencils this way. They manage pretty well without them :)
User avatar
Marcello
 
Posts: 374
Joined: Sun Nov 04, 2007 8:59 am
Location: Haarlem, The Netherlands

Re: Detatching Alpha layer

Postby Nadnerb » Mon Jan 21, 2008 9:35 pm

Actually, as you seem to have discovered, (reading your tutorial "cyan's tricks") cyan uses the method I described above to blend without using decal meshes, using that ALPHA_BLEND gradient texture, which is extremely small. It's the equivalent of converting a vertex paint layer, though I'm not sure whether they do that manually or not. :P
Image
Live KI: 34914 MOULa KI: 23247 Gehn KI: 11588 Available Ages: TunnelDemo3, BoxAge, Odema
Nadnerb
 
Posts: 1057
Joined: Fri Sep 28, 2007 8:01 pm
Location: US (Eastern Time)


Return to Building

Who is online

Users browsing this forum: No registered users and 0 guests