sidebar features
sidebar content

Go Back   Blender Artists Forums > General Forums > Python & Plugins

Closed Thread
 
Thread Tools
jms's Avatar
jms jms is offline
Member
 
Join Date: Mar 2002
Location: PACA, France
Posts: 3,475
#----------------------------------------------
# Official page :
http://jmsoler.free.fr/didacticiel/b...ainting_en.htm
#----------------------------------------------
# Communicate problems and errors on: http://www.zoo-logique.org/3D.Blende...oup=3D.Blender
#---------------------------------------------
# this script is released under GPL licence
# for the Blender 2.33 scripts distribution
#----------------------------------------------



Just select a mesh, do some vertex paints and use the script.

You can choise between "normal": all vertex, "selected", to
displace only the selected vertices, and material ( this last
option does not work for the moment )

New design, new functions :



[Tex colors] to get the textures' colors
[UV colors] to get the UV colors
[Save colors] to hold back the vertex colors in a buffer
[Rest colors ] to restaure the buffered vertex colors

New in the Mode Menu :
[Find color ] to select vertices and faces with a specific color



+ 2 Butons
[Faces ] select Faces
[Vertex ] select Vertex
............................................
Ze French Group : ZOO-Blender | Starter Kit Blender (livre en français)
Daily updated Bpy API | Ze best french tutorials site.
#1   Old 17-Apr-04, 17:57   


Modron's Avatar
Modron Modron is offline
Member
 
Join Date: Aug 2003
Posts: 11,047
That looks great! Thanks man, I can't wait to try this out on a UV sphere.
<edit> just tried it out. Very nice.
............................................
Here's a nodes tutorial on Using UV mapping to define material values: http://blenderartists.org/forum/showthread.php?t=73088
And here's another nodes tutorial on how to do a custom sequence wipe: http://blenderartists.org/forum/showthread.php?t=90989
#2   Old 17-Apr-04, 18:36   
tuinbels's Avatar
tuinbels tuinbels is offline
Member
 
Join Date: Dec 2002
Location: Delft - Netherlands
Posts: 167
Very nice!


What about a slider to control the difference in displacement between pure white and pure black?

Greetings,

Wim
............................................
Simplicate and add lightness
- Bill Stout, designer of the Ford Tri-Motor
#3   Old 17-Apr-04, 18:42   
jms's Avatar
jms jms is offline
Member
 
Join Date: Mar 2002
Location: PACA, France
Posts: 3,475
Official page.
http://jmsoler.free.fr/didacticiel/b...ainting_en.htm
.
............................................
Ze French Group : ZOO-Blender | Starter Kit Blender (livre en français)
Daily updated Bpy API | Ze best french tutorials site.
#4   Old 18-Apr-04, 00:15   
Extrudeface Extrudeface is offline
Member
 
Join Date: Nov 2003
Posts: 1,199
sounds great, thanks!
#5   Old 18-Apr-04, 13:22   
jms's Avatar
jms jms is offline
Member
 
Join Date: Mar 2002
Location: PACA, France
Posts: 3,475
new version, now it works with any indexed material of the mesh:
http://jmsoler.free.fr/util/blenderf..._paint232c.zip
............................................
Ze French Group : ZOO-Blender | Starter Kit Blender (livre en français)
Daily updated Bpy API | Ze best french tutorials site.
#6   Old 19-Apr-04, 14:01   
jms's Avatar
jms jms is offline
Member
 
Join Date: Mar 2002
Location: PACA, France
Posts: 3,475
Added few buttons: "create", "repeat"
menu "ORIENTATION" to displace along local axes and not only along normal.
and a warning error text
............................................
Ze French Group : ZOO-Blender | Starter Kit Blender (livre en français)
Daily updated Bpy API | Ze best french tutorials site.
#7   Old 20-Apr-04, 13:18   
SHABA1 SHABA1 is offline
Member
 
Join Date: Mar 2002
Location: California
Posts: 1,457
JMS you make the nicest stuff. But it would be nice if the tutorial was in english. I will translate it with altavista latter today then do some editing so the english makes sense and send it back to you just let me know where to send it.
#8   Old 20-Apr-04, 13:51   
youngbatcat youngbatcat is offline
Member
 
Join Date: Mar 2002
Posts: 2,037
is there hope that it could subdivide the mesh while painting.
No wait it is still just vertex painting, so it must have alot of mesh to draw a smooth line. Still very neat script.
#9   Old 20-Apr-04, 22:30   
Extrudeface Extrudeface is offline
Member
 
Join Date: Nov 2003
Posts: 1,199
this is going to come really handy for normal maps for games ...and high res in general.
#10   Old 21-Apr-04, 06:14   
dante's Avatar
dante dante is offline
Member
 
Join Date: Dec 2002
Posts: 2,278
Personally, I think this should be implemented as an actual feature. This sort of thing is in maya and is very useful.
............................................
germanSpeak: These are quite level.
#11   Old 21-Apr-04, 23:11   
Modron's Avatar
Modron Modron is offline
Member
 
Join Date: Aug 2003
Posts: 11,047
It just occured to me, this script could be used very effectively in conjunction with the UVpaint script.
............................................
Here's a nodes tutorial on Using UV mapping to define material values: http://blenderartists.org/forum/showthread.php?t=73088
And here's another nodes tutorial on how to do a custom sequence wipe: http://blenderartists.org/forum/showthread.php?t=90989
#12   Old 22-Apr-04, 23:48   
jms's Avatar
jms jms is offline
Member
 
Join Date: Mar 2002
Location: PACA, France
Posts: 3,475
#----------------------------------------------
# Official page :
http://jmsoler.free.fr/didacticiel/b...ntpainting.htm
#----------------------------------------------
# Communicate problems and errors on: http://www.zoo-logique.org/3D.Blende...oup=3D.Blender
#---------------------------------------------
# this script is released under GPL licence
# for the Blender 2.33 scripts distribution
#----------------------------------------------
............................................
Ze French Group : ZOO-Blender | Starter Kit Blender (livre en français)
Daily updated Bpy API | Ze best french tutorials site.
#13   Old 02-May-04, 11:31   
youngbatcat youngbatcat is offline
Member
 
Join Date: Mar 2002
Posts: 2,037
Now , jms, can you make it live update the painting ?
#14   Old 03-May-04, 02:13   
jms's Avatar
jms jms is offline
Member
 
Join Date: Mar 2002
Location: PACA, France
Posts: 3,475
Quote:
Originally Posted by youngbatcat
Now , jms, can you make it live update the painting ?
I do not know if it is possible... if we want to preserve a certain stability of script and blender
............................................
Ze French Group : ZOO-Blender | Starter Kit Blender (livre en français)
Daily updated Bpy API | Ze best french tutorials site.
#15   Old 03-May-04, 16:49   
youngbatcat youngbatcat is offline
Member
 
Join Date: Mar 2002
Posts: 2,037
Quote:
Originally Posted by jms
Quote:
Originally Posted by youngbatcat
Now , jms, can you make it live update the painting ?
I do not know if it is possible... if we want to preserve a certain stability of script and blender
But more power and instant feed back the the power of art...or at least this feature
#16   Old 03-May-04, 23:29   
Jimmy Haze's Avatar
Jimmy Haze Jimmy Haze is offline
Member
 
Join Date: Aug 2003
Location: Amsterdam, the Netherlands
Posts: 117
Noise/Terrain Paint option ?

Code:
def traite_face(f): global vindexm if ORIENTMenu.val==1: for z in range(len(f.v)): c=0.0 if vindex[f.v[z].index]!=0: # Noise/Terrain Paint function #------------------------------------------------------------------- nx=f.v[z].co[0]/4 ny=f.v[z].co[1]/4 nz=f.v[z].co[2]/4 ng = 0.5 + heteroTerrain((nx,ny,nz),1.0,2.0,5.0,1.0,3) c=float(f.col[z].r+f.col[z].b+f.col[z].g)/maxcol*ng/vindex[f.v[z].index] else: c=0 f.v[z].co[0]=f.v[z].co[0]+f.v[z].no[0]*c f.v[z].co[1]=f.v[z].co[1]+f.v[z].no[1]*c f.v[z].co[2]=f.v[z].co[2]+f.v[z].no[2]*c
#17   Old 07-Jul-04, 19:16   
jms's Avatar
jms jms is offline
Member
 
Join Date: Mar 2002
Location: PACA, France
Posts: 3,475
ok, i test it.
............................................
Ze French Group : ZOO-Blender | Starter Kit Blender (livre en français)
Daily updated Bpy API | Ze best french tutorials site.
#18   Old 08-Jul-04, 15:20   
SHABA1 SHABA1 is offline
Member
 
Join Date: Mar 2002
Location: California
Posts: 1,457
Correct me if I am wrong. Was this not integrated in the 2.32 update of blender or the 2.33 update?
#19   Old 08-Jul-04, 15:34   
jms's Avatar
jms jms is offline
Member
 
Join Date: Mar 2002
Location: PACA, France
Posts: 3,475
The script is in the .blender/scripts bunddle now.
............................................
Ze French Group : ZOO-Blender | Starter Kit Blender (livre en français)
Daily updated Bpy API | Ze best french tutorials site.
#20   Old 08-Jul-04, 16:49   
Closed Thread

Bookmarks

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT. The time now is 11:44.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
Logo and website design copyright © 2006 by froodee design bureau. All rights reserved.
Other Blender Sites
new icon Blender Homepage »
The official Blender homepage
new icon BlenderNation »
Fresh Blender News, Every Day
new icon Blenderart Magazine »
Blender articles, tutorials and images.
Blender Headlines
Featured Artwork
Short animation: Barrel by Phlopper
Woolly mammoth by sebastian_k
Photorealistic classic furniture by eMirage
Social BlenderArtists