[Bf-committers] Texture Paint brush's
Campbell Barton
cbarton at metavr.com
Fri Sep 8 03:56:53 CEST 2006
Hey Brecht,
Got to hear the texture update is in the works (texture offset)..
Just released an early version of the python script.
http://members.iinet.net.au/~cpbarton/image_bake_decal.py
it dosnt do anything to work out occluded faces at the moment- just has
a distance measurement function to make sure distant faces aren't
affected (will probably add backfacing faces also)
Interesting to see how modo does it.
http://video.luxology.com/modo/202/modo202_ImageInk.mov
- Cam
Brecht Van Lommel wrote:
>
> Hey Campbell,
>
> Campbell Barton wrote:
>> Hey Brecht.
>> Was just looking at the new brush tool, (nice work, so much faster)
>>
>> If you press "F" fakeuser button, it enables the meshes fake user.
>
> Fixed in cvs now.
>
>> One thing that would be realy nice is to use a texture brush, and
>> have the mouse intersection point as the input to offset the texture
>> coords, because at the moment the same texture is being repeated.
>> (would be best as an option)
>
> There's code for such a feature already, with partial updates to the
> texture
> pixels as the brush moves to keep it fast, just not enabled, needs some
> finishing touches.
>
>> Related topic, Im experementing with a decal projection script
>> http://members.iinet.net.au/%7Ecpbarton/test.png
>> http://blenderartists.org/forum/showthread.php?t=76937
>>
>> if the paint tool could project the brush texture onto the mesh's
>> image, rather then finding the point of mouse intersection and then
>> painting in 2d- It would remove the need for the above python script.
>
> Yeah, projection painting would be neat of course, you're not exactly the
> first one asking for that :).
>
> The hard part seems detecting which pixels are visible, did you get
> that to
> work, or are you just discarding based on the normal? One option is to
> use
> a shadow mapping technique, but that has aliasing and rounding issues.
> Though at least bodypaint and modo seem to do that, and suffer from the
> same issues, so maybe it's acceptable.
>
> Brecht.
> _______________________________________________
> Bf-committers mailing list
> Bf-committers at projects.blender.org
> http://projects.blender.org/mailman/listinfo/bf-committers
>
--
Campbell J Barton
133 Hope Street
Geelong West, Victoria 3218 Australia
URL: http://www.metavr.com
e-mail: cbarton at metavr.com
phone: AU (03) 5229 0241
More information about the Bf-committers
mailing list