Forum

#1 2011-07-11 12:49:09

matic
Member

More procedural node

Hi !

In future realizes did you make more procedural node for artist like me, because i don┤t know how to wrote this in code...

Here is some examples, it could be great to create more realistic and HD def. material.

http://t0.gstatic.com/images?q=tbn:ANd9GcR5N5b6km-rxPnvcGjscylyzsoXSI_fHECHNsj3ehRVgmbILZ8j

http://t2.gstatic.com/images?q=tbn:ANd9GcRr7pm2N8lsbCWVAFf9K0nlV3NvRpfPGIRzfuftwEuDDK9NNZ6l

http://t2.gstatic.com/images?q=tbn:ANd9GcR8ufQvmyLAYUZHvf5n6tO4peiYaqtkJf25Kl0tNbDwXF1CGnB8ng

http://t1.gstatic.com/images?q=tbn:ANd9GcS3SwFt5PDEKMUXnFyk08YB_MA3Pn9uCKyNilkPxrqUDKOeI3Avhail3Q3xjQ


Freelancer 2d / 3d
My Web Site

Offline

 

#2 2011-07-11 12:55:56

pitiwazou
Member

Re: More procedural node

+1


The member to blame ! ^^
C├ędric Lepiller, Freelance 3D
http://www.pitiwazou.com/

Offline

 

#3 2011-07-12 18:44:27

pitiwazou
Member

Re: More procedural node

We really need to create lot of maps like this one !
The result is very good in displace and bump as you can see.

http://uppix.3dvf.com/images/procedural.jpg

If we can have lot of these maps in a library, it will be very usefull for all of us !
It will be integred in the guerilla library.

It's not difficult to do. A 3D mesh and a render in Zdeph.

The difficulty is to make a tileable version in 512px mini, 1024 will be the best even if it's not necessary. Mutch is better anyway !

So if someone would be do this with me, it will be good !


The member to blame ! ^^
C├ędric Lepiller, Freelance 3D
http://www.pitiwazou.com/

Offline

 

#4 2011-07-13 10:49:35

Ben
Guerilla dev, the guy to hug

Re: More procedural node

Something like that?

http://img7.imageshack.us/img7/1757/closeupfabric.png


Benjamin 'Ben' Legros
Guerilla developer
http://www.guerillarender.com

Offline

 

#5 2011-07-13 10:52:12

hulud
Guerilla dev, the guy to hug

Re: More procedural node

Nice !


Cyril 'Hulud' Corvazier
Guerilla developer
http://www.mercs-eng.com

Offline

 

#6 2011-07-13 11:02:29

pitiwazou
Member

Re: More procedural node

Yes totaly Ben !!!


The member to blame ! ^^
C├ędric Lepiller, Freelance 3D
http://www.pitiwazou.com/

Offline

 

#7 2011-07-13 11:03:15

matic
Member

Re: More procedural node

Arf you do that with nodes so ?


Freelancer 2d / 3d
My Web Site

Offline

 

#8 2011-07-13 11:17:48

pitiwazou
Member

Re: More procedural node

This king of texture is perfect for detailing meshs !
I imagine it's possible to create a node who make some distortions to not have a perfect procedural to make more realist.


The member to blame ! ^^
C├ędric Lepiller, Freelance 3D
http://www.pitiwazou.com/

Offline

 

#9 2011-07-13 11:33:24

Ben
Guerilla dev, the guy to hug

Re: More procedural node

This procedural was simple SL code:

--8<----8<----8<----8<----8<----8<----8<--
// %param[Width,types.float{min=0,max=1}]
color funcName (vector Input; float Width; color HColor; color VColor)
{
    float    x = xcomp (Input);
    float    y = ycomp (Input);

    float    fx = x - floor (x);
    float    fy = y - floor (y);
    float    dx = fx < 0.5 ? 1 : -1;
    float    dy = fy < 0.5 ? 1 : -1;
    float    over = (dx * dy + 1) * 0.5;

    float    sx = sin (2 * PI * (fx + (dy - 1) * 0.25));
    float    sy = sin (2 * PI * (fy + (dx + 1) * 0.25));

    float    v = mod (fx, 0.5);
    float    h = mod (fy, 0.5);

    float    vstripes = 1-filterstep (Width*0.25, abs (v-0.25), 1);
    float    hstripes = 1-filterstep (Width*0.25, abs (h-0.25), 1);

    color    cvstripes = VColor * vstripes * (1+sy) * 0.5;
    color    chstripes = HColor * hstripes * (1+sx) * 0.5;

    return mix (cvstripes + chstripes*(1-vstripes), chstripes + cvstripes*(1-hstripes), over);
}
--8<----8<----8<----8<----8<----8<----8<--

Copy paste the above code in an SL box (remove the initial code first!), then Ctrl+S, there you have it!
I'll add some more to the lib, probably a Worley noise, a simple checker, bricks and fabrics.
Obviously, this is a basic brick I combined with others to make this kind of cloth shader, and it is then your duty to combine these basics to customize to what you want smile


Benjamin 'Ben' Legros
Guerilla developer
http://www.guerillarender.com

Offline

 

#10 2011-07-13 11:37:51

Ben
Guerilla dev, the guy to hug

Re: More procedural node

Hey!
What's this title next to my name?!
I'm dev, right, but I'm not to blame!!
Get rid of that!


Benjamin 'Ben' Legros
Guerilla developer
http://www.guerillarender.com

Offline

 

#11 2011-07-13 11:45:43

pitiwazou
Member

Re: More procedural node

hu hu hu !!

thx Ben wink


The member to blame ! ^^
C├ędric Lepiller, Freelance 3D
http://www.pitiwazou.com/

Offline

 

#12 2011-07-13 11:50:56

hulud
Guerilla dev, the guy to hug

Re: More procedural node

A voronoi pattern would be cool too !


Cyril 'Hulud' Corvazier
Guerilla developer
http://www.mercs-eng.com

Offline

 

#13 2011-07-13 11:53:07

pitiwazou
Member

Re: More procedural node

Like theses one ?

http://www.cabrera3d.com/michael/shaders/independant_research/voronoi_lg.jpg
http://people.sc.fsu.edu/~jburkardt/latex/vt_2007/drying_mud.png
http://blog.emap.com/footprint/files/2010/06/picture14.jpg


The member to blame ! ^^
C├ędric Lepiller, Freelance 3D
http://www.pitiwazou.com/

Offline

 

#14 2011-09-22 13:49:16

pitiwazou
Member

Re: More procedural node

Ben, your node works very well !

http://uppix.3dvf.com/images/procedpdp.jpg

Don't hesitate to create some other one !!!


The member to blame ! ^^
C├ędric Lepiller, Freelance 3D
http://www.pitiwazou.com/

Offline

 

#15 2011-09-22 14:24:19

pitiwazou
Member

Re: More procedural node

I put your node in the add-on BEN wink

And for peoples, I have create these textures.

http://www.pitiwazou.com/wp-content/uploads/2011/09/tileable_textures.jpg

The texture pack


The member to blame ! ^^
C├ędric Lepiller, Freelance 3D
http://www.pitiwazou.com/

Offline

 

#16 2011-09-24 03:32:54

pixo
Member

Re: More procedural node

I m agree it should be default to the Guerilla s Library , Ben should put the Voronoid node as well.
By the way the Guerilla team should put the default "Samples" Grid texture into the library as well , most of the time it help a lot to debug scene.

Offline

 

#17 2011-09-24 11:05:09

Elendil
Member

Re: More procedural node

Thanks Cedric ...

Offline

 

Board footer

Powered by PunBB
© Copyright 2002–2008 PunBB