MoI discussion forum
MoI discussion forum

Full Version: Cross Hatching experiment

Show messages:  1-4  5-24  25-44  45-62

From: Michael Gibson
16 Jul 2022   [#25] In reply to [#23]
hi Pilou,

re:
> So it's that sort of effect that you want but made in Moi3D ?

Yes, similar but with vector lines and curves being output, not as an image processing effect.

- Michael
From: Frenchy Pilou (PILOU)
16 Jul 2022   [#26] In reply to [#25]
Ok! :)
these hatching must also following the lighting of the object or must be isotropic ?
(from your examples seems isotropic)
From: Michael Gibson
16 Jul 2022   [#27] In reply to [#26]
Hi Pilou,

re:
> these hatching must also following the lighting of the object or must be isotropic ?
> (from your examples seems isotropic)

It's possible to do either.

The ones here adapt to lighting and have denser lines (smaller spacing) where the lighting is dark:
http://moi3d.com/forum/index.php?webtag=MOI&msg=10774.2

This one does not respond to lighting:
http://moi3d.com/forum/index.php?webtag=MOI&msg=10774.19

That will be an option that you will be able to set.

- Michael
From: Frenchy Pilou (PILOU)
16 Jul 2022   [#28] In reply to [#27]
ok...

Else in theory Flow function can't be used ?


From: Michael Gibson
16 Jul 2022   [#29] In reply to [#28]
Hi Pilou,

re:
> Else in theory Flow function can't be used ?

Not if you want it to look like real hatching - the pattern flowed on a sphere will be compressed at the pole areas and wider at the equator.

- Michael
From: Frenchy Pilou (PILOU)
16 Jul 2022   [#30] In reply to [#29]
Yes but you can make some Flow after a rotation of the sphere!
Sure the hatching will be not ultra regular but...



From: Michael Gibson
16 Jul 2022   [#31] In reply to [#30]
Hi Pilou, that's too dense with too many lines crossing each other. It should only have 2 lines crossing each other at any single point like this:



- Michael

Image Attachments:
pilou_sphere_hatching.png 


From: BurrMan
16 Jul 2022   [#32] In reply to [#15]
Hi Michael,
Congrats!!
Maybe look at a "max length" type of value that can get rid of the "tidbits"... the little "outlying flyers"....


From: Michael Gibson
16 Jul 2022   [#33] In reply to [#32]
Thanks Burr! Yup I was also thinking of a minimum cutoff size parameter to cull stubby pieces.

- Michael
From: BurrMan
16 Jul 2022   [#34] In reply to [#33]
Righteous!

I feel your excitement! Like it's a long lost pal...

I wish you more of those to come this year!
From: Michael Gibson
16 Jul 2022   [#35] In reply to [#34]
Thanks Burr, yup it's true I'm pretty excited!!

- Michael
From: Michael Gibson
16 Jul 2022   [#36]
Failed test



- Michael

Image Attachments:
hatching_failed_test.png 


From: Michael Gibson
20 Jul 2022   [#37]
Getting more under control. Here with shading aware spacing and breaks at specular highlights.







- Michael

Image Attachments:
more_hatching1.png  more_hatching2.png  more_hatching3.png 


From: mkdm
20 Jul 2022   [#38] In reply to [#37]
Hi Michael!

...very interesting!
Keep it rolling :)
From: Frenchy Pilou (PILOU)
21 Jul 2022   [#39]
Have you a ready made Hatching repository ?
From: Michael Gibson
21 Jul 2022   [#40] In reply to [#39]
Hi Pilou,

re:
> Have you a ready made Hatching repository ?

There will be some parameters you can adjust. Not a whole lot, probably for spacing, whether spacing varies with shading, hatching direction both, min curvature, or max curvature and whether to screen out small curves.

- Michael
From: Frenchy Pilou (PILOU)
21 Jul 2022   [#41] In reply to [#40]
Cool!
Can we apply this on several faces of volumes and not only on the full volumes ?
From: Michael Gibson
21 Jul 2022   [#42] In reply to [#41]
Hi Pilou,

re:
> Can we apply this on several faces of volumes and not only on the full volumes ?

No, probably not.

- Michael
From: Frenchy Pilou (PILOU)
21 Jul 2022   [#43] In reply to [#42]
Not a big deal, just select the face(s) unwanted and make any erase/replace you want! :)
From: pressure (PEER)
22 Jul 2022   [#44] In reply to [#13]
Michael,

I was excited about this all week and am happy to see you made some progress. See attached PDF for my comments.

Show messages:  1-4  5-24  25-44  45-62