[Bf-committers] Proposal: to remove the TexFace options

Dalai Felinto dfelinto at gmail.com
Fri Feb 4 21:31:03 CET 2011

... replies on text ...

> Is there a way to automatically convert older files using TexFace, instead
of requiring manual updates?
I originally thought that Blender had a limit of materials per object. It
doesn't so as Brecht pointed out backward compatible is possible. The
implementation itself scary me a bit though:

For render files that shouldn't matter much (although I've seen some render
files with texface options set on it). For games you will have plenty of new
materials on your scene. At least it will work. One option is to have a
dialog or ui checkbox to "convert texface into multiple materials" when
loading and appending new files. Another one is to have a python script to
do that. Or of course simply drop that . . .

>Hmm. I am not sure if it used to work face-like in the past. However,
>currently it works in the 3D View AND at render time (F12). See this
>.blend (2.49 but works in 2.5x also). I just made a Cube with one Face
>Vertex Paint and the others set to "ObCol", makin a smal Col-Ipo and
>playing it in BGE. - http://www.pasteall.org/blend/5079
> So why not fix it in the GE?

Take your example file. I toggled the ObCol in all the faces of the cube and
nothing changes in the BGE nor in render. So although they behave
differently they do it regardless of the ObColor info in TexFace. To be fair
there is one thing that change: the 3dview.
So it seems to me that what you are reporting is different. BGE seems
unaware of the ObColor toggle in the material panel. If it's a bug it is to
be fixed, but again it shouldn't affect this proposal directly. Actually
before I noticed that ObColor in TexFace wasn't being used I thought in
using the option in the material panel.


2011/2/4 Brecht Van Lommel <brechtvanlommel at pandora.be>

> Hi Dalai,
> Good proposal. Backwards compatibility is possible if you
> automatically add/modify materials, though the conversion code would
> get messy.
> On Fri, Feb 4, 2011 at 1:32 PM, Carsten Wartmann <cw at blenderbuch.de>
> wrote:
> >>> So I think it have to be possible
> >>> to show all the textures in GLSL when following is meet:
> >>> - Object has a Material,
> >>> - "Face Textures" in Options-Panel is ON
> >> Agree with that here. Actually I consider this more to be a bug than a
> >> design. Brecht would know better. Have you consider adding this to the
> >> tracker? Personally I would love if GLSL could work without materials
> using
> >> TexFace, but maybe that's me being lazy to add "dumb" materials.
> >
> > No, did not track it so far. Maybe Brecht can say something about it,
> > not that it is a wanted feature and my bug gets closed fast ;-)
> I'm not against this, just didn't get to implementing it.
> However, there's of course a deeper problem here, that we even have
> these parallel material systems. We should have an easy way to use
> multiple images in the same material, using an "image layer" as
> already referred to in the proposal. And the texture/uv coordinates
> that you see/edit in the viewport should somehow be linked to the
> active texture in the material. But anyway, image textures are an
> issue separate from this proposal.
> Brecht.
> _______________________________________________
> Bf-committers mailing list
> Bf-committers at blender.org
> http://lists.blender.org/mailman/listinfo/bf-committers

More information about the Bf-committers mailing list