Material that imits Vray's Toon effect.

General discussion about Indigo Materials - material requests, material developement, feedback, etc..
Post Reply
14 posts • Page 1 of 1
User avatar
bahamut
Posts: 81
Joined: Thu Feb 02, 2012 10:52 pm
Location: Poland
Contact:

Material that imits Vray's Toon effect.

Post by bahamut » Thu Aug 04, 2016 5:20 am

bahamut : YO. Guys.
bahamut : i have a problem. Is there any possibility to have in indigo something like outlined edges?
bahamut : like with vray toon?
bahamut : I need to do some quasi technical animations and they would like tho have it that way ;)
Ono-Sendai : hmm
Ono-Sendai : yeah probably
Ono-Sendai : with albedo shader on diffuse using cos theta stuff
Ono-Sendai : will try that later
bahamut : Please do :D
bahamut : I don't want to buy vray for this
Ono-Sendai : :)
Ono-Sendai : can u make a forum thread for it?
Ono-Sendai : will post my material in there

Done ;)
http://zahora.eu – portfolio
http://studio.zahora.eu – photos

User avatar
contegufo
Posts: 521
Joined: Tue Aug 11, 2015 8:41 am
Location: Lucca ITALY

Re: Material that imits Vray's Toon effect.

Post by contegufo » Thu Aug 04, 2016 6:19 am

Luminance slot?
Attachments
Senza titolo3.jpg
Senza titolo 2.jpg
Mac Mini 2011 - 2,3 GHz Intel Core i5
16 GB 1333 MHz DDR3 - Intel HD Graphics 3000 512 Mb.
Samsung SSD 860 EVO 500GB - MacOS High Sierra 10.13.6



https://www.behance.net/Paolo_Conti

User avatar
bahamut
Posts: 81
Joined: Thu Feb 02, 2012 10:52 pm
Location: Poland
Contact:

Re: Material that imits Vray's Toon effect.

Post by bahamut » Thu Aug 04, 2016 6:37 am

I was thinking about those: https://flyingarchitecture.com/forum/data/forum/618.jpg
Black lines. The rest should remain normal :)
http://zahora.eu – portfolio
http://studio.zahora.eu – photos

User avatar
OnoSendai
Developer
Posts: 6182
Joined: Sat May 20, 2006 6:16 pm
Location: Newcastle upon Tyne, UK
Contact:

Re: Material that imits Vray's Toon effect.

Post by OnoSendai » Thu Aug 04, 2016 7:37 am

Here's an attempt.
Attachments
cartoon_shader.igm
(443 Bytes) Downloaded 186 times
cartoon_shader_test.jpg

User avatar
bahamut
Posts: 81
Joined: Thu Feb 02, 2012 10:52 pm
Location: Poland
Contact:

Re: Material that imits Vray's Toon effect.

Post by bahamut » Thu Aug 04, 2016 11:51 pm

Looks very promissing :)
http://zahora.eu – portfolio
http://studio.zahora.eu – photos

User avatar
bahamut
Posts: 81
Joined: Thu Feb 02, 2012 10:52 pm
Location: Poland
Contact:

Re: Material that imits Vray's Toon effect.

Post by bahamut » Fri Aug 05, 2016 12:35 am

UNfortunately i got this message: A problem occurred with the scene:
Error while building scene: Error while loading diffuse material 'mat1': Invalid character '?'.
buffer, line 6:
vec3(line ? 0.1 : 0.6)
^.

What version of idigo should I be using?
http://zahora.eu – portfolio
http://studio.zahora.eu – photos

User avatar
Zalevskiy
Posts: 189
Joined: Thu Jul 16, 2015 12:36 am
Location: Russian Federation

Re: Material that imits Vray's Toon effect.

Post by Zalevskiy » Fri Aug 05, 2016 12:53 am

OnoSendai wrote:Here's an attempt.
4.0.42
GPU as an alternative to regulation pencil pressure :)
Attachments
cartoon_shader_GPU.jpg
GPU
cartoon_shader.jpg

FakeShamus
Posts: 508
Joined: Wed May 02, 2007 11:34 am

Re: Material that imits Vray's Toon effect.

Post by FakeShamus » Fri Aug 05, 2016 2:40 am

sorry for my ignorance, Ono, but can you explain the || bit of the code within "line"? seems like an "and" or "also" type operation? this effect is similar to somethings I have been trying to work out on my own, combining meanCurvature() with some other property, but I think my approach has been super convoluted so far. I'd like to understand this more...

User avatar
OnoSendai
Developer
Posts: 6182
Joined: Sat May 20, 2006 6:16 pm
Location: Newcastle upon Tyne, UK
Contact:

Re: Material that imits Vray's Toon effect.

Post by OnoSendai » Fri Aug 05, 2016 2:57 am

|| is logical or.

FakeShamus
Posts: 508
Joined: Wed May 02, 2007 11:34 am

Re: Material that imits Vray's Toon effect.

Post by FakeShamus » Fri Aug 05, 2016 3:01 am

ok, roughly what I suspected, but somehow couldn't find info on it anywhere. thanks!

User avatar
pixie
Indigo 100
Posts: 2220
Joined: Sat Dec 29, 2007 4:54 am
Location: Away from paradise
Contact:

Re: Material that imits Vray's Toon effect.

Post by pixie » Fri Aug 05, 2016 6:59 am

OnoSendai wrote:Here's an attempt.
isl potential is humongous!

User avatar
contegufo
Posts: 521
Joined: Tue Aug 11, 2015 8:41 am
Location: Lucca ITALY

Re: Material that imits Vray's Toon effect.

Post by contegufo » Sat Aug 06, 2016 4:22 am

To me it seems not work.
Attachments
Senza titolo.jpg
Mac Mini 2011 - 2,3 GHz Intel Core i5
16 GB 1333 MHz DDR3 - Intel HD Graphics 3000 512 Mb.
Samsung SSD 860 EVO 500GB - MacOS High Sierra 10.13.6



https://www.behance.net/Paolo_Conti

User avatar
CTZn
Posts: 7240
Joined: Thu Nov 16, 2006 4:34 pm
Location: Paris, France

Re: Material that imits Vray's Toon effect.

Post by CTZn » Mon Aug 08, 2016 6:53 am

The shader is working but it is not fit for your scene, contegufo. It works best with smooth surfaces. Subdividing geometries may produce better results too.
obsolete asset

User avatar
pixie
Indigo 100
Posts: 2220
Joined: Sat Dec 29, 2007 4:54 am
Location: Away from paradise
Contact:

Re: Material that imits Vray's Toon effect.

Post by pixie » Mon Aug 08, 2016 11:41 am

CTZn wrote:The shader is working but it is not fit for your scene, contegufo. It works best with smooth surfaces. Subdividing geometries may produce better results too.
And the should have a little bevel too.

Post Reply
14 posts • Page 1 of 1

Who is online

Users browsing this forum: No registered users and 1 guest