Author Topic: Vector displacement from arbitrary geometry : Houdini to Terragen  (Read 1533 times)

Offline paq

  • Member
  • *
  • Posts: 192
Hello,

This is a first proof of concept about generating a vector displacement from any arbitrary model.
There is still a lot of unknown, and areas I need to test :

- Trying different smooth algorithm to remove overlapping geometry when flattening the model in Houdini.
(Maybe using the one used to flatten uv texture). This is the area that takes a bit a computing time.

- I wish to find a way to write negative value in .exr generated in Houdini, to avoid to do a refit from a normalized texture in Terragen (seems to work, but Min and Max value to re-apply the vector displacement map have to be entered by hand)
- Terragen smooth interpolation in the image map shader seems to wash a lot of details (especially around the ears in this case). Disable it make the model too ugly (faceted). Furthers test need to be done, maybe an higher resolution from Houdini model can helps a lot.

The result is not that bad so far  8)
77832-0
Gameloft

Offline luvsmuzik

  • Member
  • *
  • Posts: 2188
    • luvsmuzik 1995
Re: Vector displacement from arbitrary geometry : Houdini to Terragen
« Reply #1 on: December 21, 2017, 07:35:35 PM »
That is amazing!  :)

Offline N-drju

  • Member
  • *
  • Posts: 1153
  • A ship in port is safe... well, fine by me.
Re: Vector displacement from arbitrary geometry : Houdini to Terragen
« Reply #2 on: December 21, 2017, 07:40:48 PM »
Hehe, looks cool. I guess complicated terrain generation can be made easier with your solution? Unless the same amount of work is needed in Houdini for the same effect.
"Error 404 - pun not found."

Offline Hetzen

  • Member
  • *
  • Posts: 1615
Re: Vector displacement from arbitrary geometry : Houdini to Terragen
« Reply #3 on: December 21, 2017, 08:47:35 PM »
That's really interesting. Turning geo into vector displacements. How does Houdini do that?

Offline paq

  • Member
  • *
  • Posts: 192
Re: Vector displacement from arbitrary geometry : Houdini to Terragen
« Reply #4 on: December 21, 2017, 09:41:46 PM »
Hello,

Well the idea is to create a uniform skin around the object and a plane. I use voxels for that (vdb). (image 2)
That's the model A.

Then I flatten the model (scale y = 0) (image3) , and I relax the point until there is no overlapping : model B. (image 4)

Finally I subtract point position from model A with point position from model B, and that creates the vector displacement (display as vertex color in image 5)

Gameloft

Offline KyL

  • Member
  • *
  • Posts: 115
Re: Vector displacement from arbitrary geometry : Houdini to Terragen
« Reply #5 on: December 21, 2017, 11:32:01 PM »
I've been thinking about this for some time now.

Glad to see it's doable, even more in such an elegant way. Looking forward to the development on this!
Very exciting  :)

Offline bobbystahr

  • Member
  • *
  • Posts: 8820
  • Turn, and face the Strange Ch Ch Changes...D Bowie
Re: Vector displacement from arbitrary geometry : Houdini to Terragen
« Reply #6 on: December 22, 2017, 07:04:33 PM »
Right on paq...freakin brilliant...
something borrowed,
something Blue.
Ring out the Old.
Bring in the New

bobbystahr

Offline mhaze

  • Member
  • *
  • Posts: 3311
Re: Vector displacement from arbitrary geometry : Houdini to Terragen
« Reply #7 on: December 23, 2017, 11:12:29 AM »
Great work!


Offline paq

  • Member
  • *
  • Posts: 192
Re: Vector displacement from arbitrary geometry : Houdini to Terragen
« Reply #9 on: December 24, 2017, 05:42:55 AM »
[Hello and thanks !

I have a better system now, using an uv unwarp (uv-pelt) to flatten the model. (mid resolution)
Works much better, and I'm starting to  keep much more detail than the previous prototype.

For a 2K output, it takes a little while to process, about 5-10 minutes, ... mainly because I use a very slow operator in Houdini.
It's far to be a digital asset that anyone could use with predictable result,but I will share a scene and maybe a little video to explain the process.

But first I have to test more advanced structure 8)



77851-1
« Last Edit: December 24, 2017, 05:45:58 AM by paq »
Gameloft

Offline bobbystahr

  • Member
  • *
  • Posts: 8820
  • Turn, and face the Strange Ch Ch Changes...D Bowie
Re: Vector displacement from arbitrary geometry : Houdini to Terragen
« Reply #10 on: December 24, 2017, 07:28:20 AM »
simply wow
something borrowed,
something Blue.
Ring out the Old.
Bring in the New

bobbystahr

Offline Artice-3d

  • Member
  • *
  • Posts: 124
Re: Vector displacement from arbitrary geometry : Houdini to Terragen
« Reply #11 on: January 03, 2018, 03:31:46 AM »
Hello Paq !! I like your vector displacement workflow.. One question - Tell me please - What node did you use to vector colorization ??!! ??? ::)

Offline paq

  • Member
  • *
  • Posts: 192
Re: Vector displacement from arbitrary geometry : Houdini to Terragen
« Reply #12 on: January 03, 2018, 03:52:51 AM »
Hello Artice-3d,

Just add a point wrangler, with @Cd=@P;
Gameloft

Offline Artice-3d

  • Member
  • *
  • Posts: 124
Re: Vector displacement from arbitrary geometry : Houdini to Terragen
« Reply #13 on: January 03, 2018, 04:13:45 AM »
Mine not looking good as yours :( Geometry lost all details at all !!! Your geometry clean and beautiful!!  Please, maybe you'll make a little tutorial with your dinosaur results, it looks very good!! I even don't know how to export from houdini in proper way  :(((


Ok update--- i've got clean geometry !! Need to pelt it correctly ;)))
« Last Edit: January 03, 2018, 06:02:35 AM by Artice-3d »

Offline Dune

  • Member
  • *
  • Posts: 13396
  • Corkscrew Bird
    • www.ulco-art.nl
Re: Vector displacement from arbitrary geometry : Houdini to Terragen
« Reply #14 on: January 03, 2018, 06:33:14 AM »
Brilliant work. I did some experiments in mudbox quite a while ago, but there you have to use 2 planes with equal amount of vertices, work your magic on one and subtract to vector displacement map.
In case you still haven't seen enough of my work: www.ulco-art.nl

 

anything