sidebar features
sidebar content

Go Back   Blender Artists Forums > Artwork > Blender Tests

Reply
 
Thread Tools
Alfred Alfred is offline
Member
 
Join Date: Dec 2009
Posts: 4
Hello there,
I'm a french user of Blender and I found a simple way to add the MatCap look in Blender materials with the use of material node.
To see the matcap in the 3d viewport you need to active the glsl preview.

-First step: Get the matcap !
In ZBrush, open the modifiers options of the Material panel and move your mouse cursor over the little bottom picture:
(i.e. RedWax in default ZBrush material), do a screen capture to get this sphere picture.
Click image for larger version

Name:	Matcap1.jpg
Views:	557
Size:	49.6 KB
ID:	93003

-Next : Crop the circle.
Open a software to crop properly the sphere.

-Now you can open Blender.
In Blender, create a node material. You need to add only two node in your material node, the Texture node and the Mapping node.

The texture node is the picture precedently cropped.
The Mapping node is just for invert the Y axis (always the same).

Link the default mapping node (Vector in) to the normal channel of your material node (Normal out).
Link the texture node (Vector in) to the output of the mapping node (Vector out).
Link the color channel of the texture node (Color out) to the RGB output (COlor in).
Now, in the Mapping node, invert the Y channel : enter -1.0 in the second Size value.

That's all !
Compare and enjoy.
Click image for larger version

Name:	nodes.jpg
Views:	1438
Size:	93.6 KB
ID:	93004
Click image for larger version

Name:	Result.jpg
Views:	2213
Size:	52.1 KB
ID:	93005
#1   Old 21-Dec-09, 10:47   
Reply With Quote


Syziph's Avatar
Syziph Syziph is offline
Member
 
Join Date: Feb 2007
Location: Sofia
Posts: 682
Great first post, Alfred!
One of the best tips I've seen this year!
Thanks for sharing
............................................
My YouTube page
#2   Old 21-Dec-09, 18:15   
Reply With Quote
ccherrett ccherrett is offline
Member
 
Join Date: Aug 2006
Posts: 84
I have been playing with this method in sculpt and see an issue. You need to come out of sculpt and back into sculpt for the vector information to update. Do you know of any way around this so it works in realtime while sculpting?
#3   Old 21-Dec-09, 18:22   
Reply With Quote
ccherrett ccherrett is offline
Member
 
Join Date: Aug 2006
Posts: 84
It seems this issue is only in 2.5. In 2.49 everything worlks fine.
#4   Old 21-Dec-09, 19:20   
Reply With Quote
grsaaynoel's Avatar
grsaaynoel grsaaynoel is offline
Member
 
Join Date: May 2006
Location: Melbourne, Australia
Posts: 588
Absolutely fantastic! I'm a Z brush user and to have those mat-caps in Blender is just a hoot.

~Glenn
............................................
My Website

My Adelaide Grey Blog

YouTube Channel
#5   Old 23-Dec-09, 00:30   
Reply With Quote
Eclectiel Eclectiel is offline
Member
 
Join Date: Sep 2007
Posts: 586
This is insane!!.... there's no better way than this to reproduce Zbrush materials. This way you don't even need a light in the scene, so it optimizes sculpt speed!, and since it doesn't need a light you can rotate it however you want and you don't get dark areas (nor need a second light which would slow down things even more).

Amazing Christmas gift!

Thanks
#6   Old 23-Dec-09, 04:08   
Reply With Quote
padfoot7726's Avatar
padfoot7726 padfoot7726 is offline
Member
 
Join Date: Jan 2008
Location: X-12.9 Y-91.2 Z-35.6
Posts: 1,189
There's a much simpler way of doing this, without using nodes. Just set the texture to map using nor, and make the material shadeless. Works fine, and realtime in sculpt mode:

Click image for larger version

Name:	suzanne zbrush.jpg
Views:	792
Size:	32.4 KB
ID:	93133

EDIT:
I just did a bronze one. Looks great.
Here's a page with lots of the matcaps if you don't have zbrush:
http://www.pixologic.com/zbrush/downloadcenter/library/
............................................
My New Youtube Channel

Last edited by padfoot7726; 23-Dec-09 at 04:40.
#7   Old 23-Dec-09, 04:30   
Reply With Quote
Commander Taco Commander Taco is offline
Banned Member
 
Join Date: Oct 2009
Posts: 662
ok, now bring over the cavity shader!!

Great work, thanks for sharing!
#8   Old 23-Dec-09, 04:50   
Reply With Quote
Felix_Kütt's Avatar
Felix_Kütt Felix_Kütt is offline
Member
 
Join Date: Apr 2005
Location: Tallinn, Estonia, EU
Posts: 3,889
Quote:
Originally Posted by padfoot7726 View Post
Here's a page with lots of the matcaps if you don't have zbrush:
http://www.pixologic.com/zbrush/downloadcenter/library/
those are all ziped ZMT's ya know...
............................................
FunLinks: . . . . . . WikiUser: Fktt
Browse-Tutorials.net
#9   Old 23-Dec-09, 05:33   
Reply With Quote
cekuhnen's Avatar
cekuhnen cekuhnen is offline
Member
 
Join Date: Mar 2003
Location: Redford, Michigan, USA
Posts: 6,462
just render those spheres on your own with blender.

I modeled myself a scene for this to get the right lights.

Claas
............................................
C l a a s E i c k e K u h n e n
Artist : Designer : Educator
#10   Old 23-Dec-09, 05:54   
Reply With Quote
padfoot7726's Avatar
padfoot7726 padfoot7726 is offline
Member
 
Join Date: Jan 2008
Location: X-12.9 Y-91.2 Z-35.6
Posts: 1,189
Quote:
Originally Posted by Felix_Kütt View Post
those are all ziped ZMT's ya know...
There are sphere pictures of each matcap, which is all that's necessary for this method. I didn't mean the downloads.
............................................
My New Youtube Channel
#11   Old 23-Dec-09, 07:09   
Reply With Quote
Commander Taco Commander Taco is offline
Banned Member
 
Join Date: Oct 2009
Posts: 662
How cool, they even work in the game engine!!!
#12   Old 23-Dec-09, 08:49   
Reply With Quote
0ptikz's Avatar
0ptikz 0ptikz is offline
Member
 
Join Date: Mar 2002
Location: Somewhere in the Flux vortex.
Posts: 2,369
Nice find!

Here's a collection of ten ready made PNG's that I've created for you. All have the relevant alpha channels. Follow padfoot7726's advice and you'll have it working in no time.

Preview:



http://www.bzfusion.net/skymaps/Misc/zbrush-mats.rar
............................................
'It's like wrestling a pig, both of you end up dirty but the pig enjoys it.' -- Theeth on debating conspiracy theorists.
#13   Old 23-Dec-09, 13:37   
Reply With Quote
sick's Avatar
sick sick is offline
Member
 
Join Date: Jan 2008
Posts: 403
Thanks M@dcow.
............................................
http://thisroomthatikeep.blogspot.com/
#14   Old 23-Dec-09, 14:31   
Reply With Quote
cekuhnen's Avatar
cekuhnen cekuhnen is offline
Member
 
Join Date: Mar 2003
Location: Redford, Michigan, USA
Posts: 6,462
here are maps from AuxPecker:

http://www.box.net/shared/fo74kz8mkm
............................................
C l a a s E i c k e K u h n e n
Artist : Designer : Educator
#15   Old 23-Dec-09, 18:40   
Reply With Quote
namekuseijin's Avatar
namekuseijin namekuseijin is offline
Member
 
Join Date: Jan 2008
Location: cave
Posts: 671
No need for disguises, Santa! Thank you for this great Christmas gift!
#16   Old 23-Dec-09, 19:23   
Reply With Quote
matd's Avatar
matd matd is offline
Member
 
Join Date: Jul 2007
Posts: 139
Amazing, thanks for the tip.
............................................
Get Durian!
#17   Old 23-Dec-09, 19:44   
Reply With Quote
lsscpp's Avatar
lsscpp lsscpp is offline
Member
 
Join Date: May 2006
Posts: 285
this technique was already covered in Blenderart magazine issue #21 (see pages 21-25 here: http://issuu.com/blenderart_magazine...art_mag-21_eng)
............................................
Everything's relative. Even saying "Everything's relative".
#18   Old 23-Dec-09, 22:05   
Reply With Quote
Teo_GreenGage's Avatar
Teo_GreenGage Teo_GreenGage is offline
Member
 
Join Date: Dec 2008
Posts: 534
really cool. this also helps when you're working with subdivided hard surface, because you can see the mesh flow better. i have some friends working in studio tools and xsi, making cars, and they use this kind of maps to see the surfaces and the mesh flow. me likey!


............................................
There is no fun without YOU !
http://teogreengage.blogspot.com/

teo cazghir



Last edited by Teo_GreenGage; 27-Dec-09 at 14:40.
#19   Old 24-Dec-09, 01:29   
Reply With Quote
blenderificus's Avatar
blenderificus blenderificus is offline
Member
 
Join Date: Jun 2008
Posts: 735
VERY useful technique. I like the streamlined version pointed out by padfoot7726. I have been using the matcap method in blender GLSL for a long time now. But never with the efficiency of the setup described by padfoot7726. I used to have a lengthy node setup that also works in GLSL, this method is great!!!!

wish I could find the "mat3.png" texture in a much larger size(natively, not resized).
#20   Old 24-Dec-09, 03:47   
Reply With Quote
Reply

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 17:22.


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.
Blender Headlines
Featured Artwork
Crocodile by Julia Korbut
Classic vintage look renders by HANGAR
Blending life - Old George by bigbad
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.
Social BlenderArtists