Fri, Oct 4, 3:48 PM CDT

Renderosity Forums / Poser - OFFICIAL



Welcome to the Poser - OFFICIAL Forum

Forum Coordinators: RedPhantom

Poser - OFFICIAL F.A.Q (Last Updated: 2024 Oct 04 8:39 am)



Subject: Does matmatic support the Gradient_Mode channel?


RobynsVeil ( ) posted Mon, 18 May 2015 at 11:48 PM · edited Sat, 28 September 2024 at 9:08 AM

If anyone knows? I'm curious. Just having a play with Gradient_Bump and Gradient_Mode and was a-wonderin'...

Also, when I type in 'matmatic' in search, I get 10 threads.  10? Really?   :-/

Monterey/Mint21.x/Win10 - Blender3.x - PP11.3(cm) - Musescore3.6.2

Wir sind gewohnt, daß die Menschen verhöhnen was sie nicht verstehen
[it is clear that humans have contempt for that which they do not understand] 

Metaphor of Chooks


bagginsbill ( ) posted Tue, 19 May 2015 at 5:15 AM

Yes it does. I have recently been experimenting with procedural normal mapping by generating values to put in Gradient_Bump as a tangent space normal. It helps to make crushed velvet look real.


Renderosity forum reply notifications are wonky. If I read a follow-up in a thread, but I don't myself reply, then notifications no longer happen AT ALL on that thread. So if I seem to be ignoring a question, that's why. (Updated September 23, 2019)


bagginsbill ( ) posted Tue, 19 May 2015 at 5:17 AM · edited Tue, 19 May 2015 at 5:18 AM

These shaders were made with matmatic and the last two on the right use the Gradient_Bump channel.

file_8d5e957f297893487bd98fa830fa6413.jp


Renderosity forum reply notifications are wonky. If I read a follow-up in a thread, but I don't myself reply, then notifications no longer happen AT ALL on that thread. So if I seem to be ignoring a question, that's why. (Updated September 23, 2019)


TheAnimaGemini ( ) posted Tue, 19 May 2015 at 8:52 AM

The last one looks very real.Fantastic.

La vie est éternelle. L'amour est immortel.

“Dwell on the beauty of life. Watch the stars, and see yourself running with them.”
― Marcus Aurelius,


Anthanasius ( ) posted Tue, 19 May 2015 at 11:51 AM

The same without matmatic ? :D

Génération mobiles Le Forum / Le Site

 


bagginsbill ( ) posted Tue, 19 May 2015 at 12:24 PM

The same without matmatic ? :D

This is the simplest example I can make that has about 80% of the effect correct. My matmatic material has way more nodes, but many are because of setting up obvious parameters. In this material, it is hard to judge how to change if you want to pretend the fibers are 3 mm long and separated by an average of .3 mm, with .4 mm tips that are fuzzy - this is the sort of thing that matmatic is good for. But you should be able to use this as a basis for visual-feedback based experimentation.

file_07e1cd7dca89a1678042477183b7ac3f.jp


Renderosity forum reply notifications are wonky. If I read a follow-up in a thread, but I don't myself reply, then notifications no longer happen AT ALL on that thread. So if I seem to be ignoring a question, that's why. (Updated September 23, 2019)


pumeco ( ) posted Tue, 19 May 2015 at 12:25 PM

Bloody hell, that's absolutely fantastic, best rendered velvet I've seen!
That's pretty damn amazing Baggins :-)


pumeco ( ) posted Tue, 19 May 2015 at 12:29 PM

BTW, have you tried doing Angora, is that possible to do with it having stray fibres extending from the surface?


Anthanasius ( ) posted Tue, 19 May 2015 at 3:20 PM

Thx ;)

Génération mobiles Le Forum / Le Site

 


RobynsVeil ( ) posted Tue, 19 May 2015 at 7:02 PM · edited Tue, 19 May 2015 at 7:03 PM

Thanks, BB... oh my, those velvet curtains look nice!

How do I reference the Gradient_Mode channel? When I enter 'Gradient_Mode' matmatic spits the dummy. It should accept 3 values (0, 1, 2) right?

I'm using matmatic 1.6... I think (although the Python window say 1.3).

Monterey/Mint21.x/Win10 - Blender3.x - PP11.3(cm) - Musescore3.6.2

Wir sind gewohnt, daß die Menschen verhöhnen was sie nicht verstehen
[it is clear that humans have contempt for that which they do not understand] 

Metaphor of Chooks


bagginsbill ( ) posted Tue, 19 May 2015 at 10:16 PM · edited Tue, 19 May 2015 at 10:18 PM

Uhoh. Apparently I have not published matmatic updates in a long time. Doh!

I'll try to put an update together soon. I found some notes describing a few other goodies I added since 1.6.

I just checked and found that I added Gradient_Mode in September, and I didn't even put anything about it in my release notes.


Renderosity forum reply notifications are wonky. If I read a follow-up in a thread, but I don't myself reply, then notifications no longer happen AT ALL on that thread. So if I seem to be ignoring a question, that's why. (Updated September 23, 2019)


bagginsbill ( ) posted Tue, 19 May 2015 at 10:26 PM · edited Tue, 19 May 2015 at 10:27 PM

Until I do, I think you can patch matmatic with this. Place this in your script - it will add the attribute if it's missing.

if not hasattr(Surface, "Gradient_Mode"):

Surface.Gradient_Mode = 2 # Make Normal Map (tangent space) the default

Surface.Inputs.append(inum("Gradient_Mode", 2, 3, 1))


Renderosity forum reply notifications are wonky. If I read a follow-up in a thread, but I don't myself reply, then notifications no longer happen AT ALL on that thread. So if I seem to be ignoring a question, that's why. (Updated September 23, 2019)


bagginsbill ( ) posted Tue, 19 May 2015 at 10:29 PM

Thanks, BB... oh my, those velvet curtains look nice!

How do I reference the Gradient_Mode channel? When I enter 'Gradient_Mode' matmatic spits the dummy. It should accept 3 values (0, 1, 2) right?

I'm using matmatic 1.6... I think (although the Python window say 1.3).

Note: It should accept 1, 2, 3 - enumerated (pull-down) values in Poser materials begin with 1. I don't know why. I just reverse engineered them - not my design.


Renderosity forum reply notifications are wonky. If I read a follow-up in a thread, but I don't myself reply, then notifications no longer happen AT ALL on that thread. So if I seem to be ignoring a question, that's why. (Updated September 23, 2019)


pumeco ( ) posted Wed, 20 May 2015 at 2:34 AM

I take that as a no then!


bagginsbill ( ) posted Wed, 20 May 2015 at 5:35 AM

I take that as a no then!

Sorry for not answering - I have not tried Angora.


Renderosity forum reply notifications are wonky. If I read a follow-up in a thread, but I don't myself reply, then notifications no longer happen AT ALL on that thread. So if I seem to be ignoring a question, that's why. (Updated September 23, 2019)


pumeco ( ) posted Wed, 20 May 2015 at 6:47 AM

No probs, Baggins, would be a useful addition to clothing materials if you could pull it off though.


RobynsVeil ( ) posted Wed, 20 May 2015 at 7:20 AM · edited Wed, 20 May 2015 at 7:28 AM

Until I do, I think you can patch matmatic with this. Place this in your script - it will add the attribute if it's missing.

if not hasattr(Surface, "Gradient_Mode"):

Surface.Gradient_Mode = 2 # Make Normal Map (tangent space) the default

Surface.Inputs.append(inum("Gradient_Mode", 2, 3, 1))

Dontcha GOTTA love Python, though??!? This is so amazingly cool... read this at work on my tablet and struggled ever so to keep my little Hyundai from exceeding the speed-limit getting home to try this! Thank you ever so much, you're an absolute champion! So now, if there's any new nodes or channels, you can just tack them on with this nifty little snippet. AMAZING!! I'll let you know how I get on - thanks again! And yes, it's 1, 2, 3 as parm values... gotcha.

ETA: yup. Worked! You are amazing, Bagginsbill!

Monterey/Mint21.x/Win10 - Blender3.x - PP11.3(cm) - Musescore3.6.2

Wir sind gewohnt, daß die Menschen verhöhnen was sie nicht verstehen
[it is clear that humans have contempt for that which they do not understand] 

Metaphor of Chooks


Privacy Notice

This site uses cookies to deliver the best experience. Our own cookies make user accounts and other features possible. Third-party cookies are used to display relevant ads and to analyze how Renderosity is used. By using our site, you acknowledge that you have read and understood our Terms of Service, including our Cookie Policy and our Privacy Policy.