Planetside Software Forums

General => Image Sharing => Topic started by: Dune on May 27, 2013, 07:18:54 AM

Title: VDISP
Post by: Dune on May 27, 2013, 07:18:54 AM
Triggered by the stream about vector displacement, I tried drawing my own 'vector displacement map'. You have to think carefully how to draw it, but it works like a dream. Lots of possibilities  :D  :D :D
Title: Re: VDISP
Post by: DannyG on May 27, 2013, 08:42:30 AM
This is freaking cool
Title: Re: VDISP
Post by: j meyer on May 27, 2013, 10:08:19 AM
 8) Great!  8)

Is it required to have a new version of PS?
What bit depth? 8,16 32?
Title: Re: VDISP
Post by: choronr on May 27, 2013, 12:04:19 PM
Those alcoves and caves are very good.
Title: Re: VDISP
Post by: mhaze on May 27, 2013, 12:26:37 PM
impressive
Title: Re: VDISP
Post by: Dune on May 27, 2013, 01:53:34 PM
CS3, thats'the newest I've got. I made it in 16 bit RGB and converted to 32 bit before saving as tif, otherwise it won't work. Either painting in 32 bit or opening in TG in 16 bit. 8bit may also work, don't know. Probably a bit cruder.
Title: Re: VDISP
Post by: Lady of the Lake on May 27, 2013, 03:47:41 PM
Wow, have been wondering how to make holes in the rocks.  This is great.  I will try it, probably with not much success since I don't really understand much of what I do in TG2.   ::)
Title: Re: VDISP
Post by: TheBadger on May 27, 2013, 04:38:34 PM
Thats proof of a rather big break through, Ulco!

The interior walls of the cave appear to show the same displacement as the outside of the rock formation, without problem. Is this correct? Can you post a render from inside the cave, please?

How long did it take you to paint the v map, once you understood the working process? How tedious did you find it? How specific did you find you could get and still be accurate?

Ulco, remember the broken moon tests you did. Wouldn't this be a excellent solution? You could make extreme deformations on a new layer over a layer with a proper NASA moon map. Use it to deform a planet2 object, then apply the NASA provided moon map for the texture. Yes?

Also, this is, I think, the way to go for natural bridges and arches. Yes?

image1 in the op is the one I like Ulco. it reminds me of this:
http://image.shutterstock.com/display_pic_with_logo/348535/348535,1309708657,21/stock-photo-cave-paradise-blue-sea-and-sky-relaxation-paradise-on-beach-tourism-tropical-island-80329102.jpg

Good work, Ulco!



Title: Re: VDISP
Post by: Dune on May 28, 2013, 04:55:12 AM
Yes, the interior will look good. The only problem is that you might have overlapping surfaces if you displace too much, or the map is not right. This is of course easier with a model as a basis.
On the other hand, the overlapping areas and the one-sidedness of the planet's surface may be used to get see-throughs  ???
I painted the map in 30 seconds  :o, but it was just for testing.
For natural bridges this may work as well, I'll have a go at it... maybe.
Title: Re: VDISP
Post by: Dune on May 28, 2013, 06:47:02 AM
Another map. Inside cave is now rendering....
Title: Re: VDISP
Post by: TheBadger on May 28, 2013, 06:54:53 AM
Its funny. We could do this for how long? But no one ever did.
I remember reading several posts about caves, and that the people asking the questions did not like what they found. And now you can get a perfect cave in 30 seconds or so. Hope they see this!
Title: Re: VDISP
Post by: Dune on May 28, 2013, 08:03:10 AM
Inside.
Title: Re: VDISP
Post by: j meyer on May 28, 2013, 10:36:49 AM
8-bit works,too.
But I find it hard to get what I want,that's definitely easier with a model.
Title: Re: VDISP
Post by: bla bla 2 on May 28, 2013, 12:40:41 PM
GĂ©niale !  ;)
Title: Re: VDISP
Post by: Dune on June 17, 2013, 01:58:56 AM
One more render with the VDisp method.
Title: Re: VDISP
Post by: choronr on June 17, 2013, 02:24:01 AM
I just wanted to look at this one a long time. Striking creation Ulco.
Title: Re: VDISP
Post by: Dune on June 17, 2013, 02:25:26 AM
Thanks Bob.
Title: Re: VDISP
Post by: yossam on June 17, 2013, 02:43:40 AM
How did I miss this? I'm like Bob............I could look at this all day.


How about a higher resolution render?  :-*
Title: Re: VDISP
Post by: mhaze on June 17, 2013, 08:34:46 AM
Amazing
Title: Re: VDISP
Post by: efflux on June 17, 2013, 09:58:35 AM
Wow, this is so obvious in a way. Why did nobody think of it before? Really cool results.
Title: Re: VDISP
Post by: TheBadger on June 17, 2013, 06:52:04 PM
Pretty sweet, Ulco!
Title: Re: VDISP
Post by: Dune on June 19, 2013, 01:30:30 AM
WIP's from inside.
Title: Re: VDISP
Post by: choronr on June 19, 2013, 01:37:17 AM
Very nice. Looking at this, my imagination goes to work. Many possibilities when you think of it.
Title: Re: VDISP
Post by: Dune on June 19, 2013, 01:43:31 AM
The light is a bit difficult here. I envision a misty cave filled with lush vegetation, some water and weird reflected light... might make that.
Title: Re: VDISP
Post by: choronr on June 19, 2013, 02:00:59 AM
That vegetation would only be near the cave opening. A bit further back, maybe just some lichen growth.
Title: Re: VDISP
Post by: Dune on June 19, 2013, 02:08:00 AM
Unless I can make a cave at the bottom of a crater, so there's a light hole in the roof...  or it's just fictional.
Title: Re: VDISP
Post by: Dune on June 20, 2013, 02:43:42 AM
Very awkward working in a cave, but there are possibilities.
Title: Re: VDISP
Post by: choronr on June 20, 2013, 02:28:26 PM
Possibilities indeed Ulco, this is fantastic.
Title: Re: VDISP
Post by: Lady of the Lake on June 20, 2013, 03:27:07 PM
Wow, this is incredible.
Title: Re: VDISP
Post by: Dune on July 16, 2013, 03:17:16 AM
A very bad sample of using vector displacement on waves. Took 5 hours to render, so I will do things differently.
Title: Re: VDISP
Post by: Walli on July 16, 2013, 06:03:47 AM
I think this shows the possibilities very well!
Title: Re: VDISP
Post by: mhaze on July 16, 2013, 06:21:45 AM
I wondered about this but haven't got round to trying it.  This where a sculpting program would pay off!
Title: Re: VDISP
Post by: efflux on July 16, 2013, 05:54:20 PM
My favourite one is VDISPtest_27-05-13-v3-1.jpg because the rocks look great. Nice lighting and the lighting inside makes it more mysterious.
Title: Re: VDISP
Post by: Saurav on July 16, 2013, 07:03:21 PM
Very promising, waves and snow cornrices are all possible now through this tecinique.
Title: Re: VDISP
Post by: efflux on July 17, 2013, 12:01:47 PM
Snow. That's a good one or ice. Maybe someone can try that. I haven't got around to this yet. The software I'm using is more convoluted to work out how to do it.
Title: Re: VDISP
Post by: Dune on July 17, 2013, 12:08:43 PM
The problem with water is that it takes so long to render. And the 'backside' will have artifacts. Makes it no fun to work with. Next I will make some breaking sand dunes maybe  ;)
Title: Re: VDISP
Post by: choronr on July 17, 2013, 12:23:52 PM
Nice one Ulco, is this the same set up as your earlier 'easy water?
Title: Re: VDISP
Post by: efflux on July 17, 2013, 12:51:01 PM
I think one problem with water is that the texture you put over the top tends not to be related to the wave and in real life it would be. Maybe there are ways to change that relationship? Having said that, you did a good job here. Water is the most difficult thing to handle.
Title: Re: VDISP
Post by: TheBadger on July 17, 2013, 12:55:17 PM
I have to say I don't like this up close. But from a certain distance it may be perfect? I know your just seeing what can be done still. But If you have time, what does a render from a far distance look like? I have stayed away from trying to do any waves by any method because of what people say about trying to do it them selves. maybe this can work though depending on the nature of the shot.
Title: Re: VDISP
Post by: Dune on July 17, 2013, 02:32:41 PM
I was trying to get a real curl procedurally. Well, this is procedural, and I may succeed in a real curl yet, but this attempt works better than the ones I did more than a year ago.
@Bob: no, this is a completely different setup, like I said with some x to scalar, sinus, and some VD nodes in varying setups and follow-ups. But I will continue rendering as sand dunes, not water. The calculation of transparency through transparency gives these black dots.
@ Michael: I will do a distant one. You're right that it will look lots better!
@Efflux: what do you mean by texture put over the top not being related to the wave? You probably think of the foamy, more displaced  tops, starting to break. I was trying and almost succeeding in finding a relation between when the wave would be at its steepest/highest and where the curls would be. I might get there still, but it's tricky.

There's a set of nodes I need to re-invent to get more black space between a sinus...
Title: Re: VDISP
Post by: choronr on July 17, 2013, 02:56:51 PM
As been said, 'nothing is impossible' - you'll get there Ulco.
Title: Re: VDISP
Post by: mhaze on July 17, 2013, 03:22:58 PM
Nearly there
Title: Re: VDISP
Post by: Dune on July 18, 2013, 06:38:54 AM
What am I doing wrong here? I got mudbox, made a sculpt, extracted VD map, but no matter how I do that, I don't get the same result as in mudbox. Can anyone (Mick?) explain how to go about it exactly?
Title: Re: VDISP
Post by: mhaze on July 18, 2013, 06:52:50 AM
I have a feeling that TG does not correctly use  the displacement maps - try playing with the function multiplyers and offsets.  There is a thread on displacement offset  in tg maybe that will help

http://www.planetside.co.uk/forums/index.php/topic,16183.0.html (http://www.planetside.co.uk/forums/index.php/topic,16183.0.html)
Title: Re: VDISP
Post by: mhaze on July 18, 2013, 07:01:40 AM
If you rotate the view so that the two are the same way round you might be able to see better what is going on. There seems to be some twisting how are you setting up the displacement.  If you are using an .exr you only need an image map shader and a vector displacement node
Title: Re: VDISP
Post by: Dune on July 18, 2013, 08:30:30 AM
Thanks Mick, but I already found it. I added a rotate vector (-90), and that worked. I'll try your shortened setup.
Title: Re: VDISP
Post by: Dune on July 18, 2013, 04:03:25 PM
I'm getting the hang of this, but I still don't understand why the shape is dipped at the base. Even if I pull it up more. I'll try dipping it in MUD, see if it comes up then.
Title: Re: VDISP
Post by: choronr on July 18, 2013, 05:16:47 PM
Very interesting. The arch appears as an accretion composed of many rocks.
Title: Re: VDISP
Post by: inkydigit on July 18, 2013, 07:15:47 PM
that arch is excellent!
8)
Title: Re: VDISP
Post by: TheBadger on July 19, 2013, 12:07:30 AM
Good going Ulco, that was a really fast switch!
Title: Re: VDISP
Post by: Dune on July 19, 2013, 02:39:56 AM
Just a simple arch pulled up in Mudbox, made into a 1024x1024 VDISP map,and covered in fake stones. You can't see the seam, which is somewhere in the middle. It's really fun.
Title: Re: VDISP
Post by: TheBadger on July 19, 2013, 02:54:06 AM
Can you make fake stones that are perfectly square, rectangle?!?
Title: Re: VDISP
Post by: Dune on July 19, 2013, 07:39:42 AM
Maybe if you displace them by angled strata shaders....
Title: Re: VDISP
Post by: j meyer on July 19, 2013, 01:26:46 PM
As for the dipping unfortunately I haven't had any idea what's causing it.
One thing I'd try though is offsetting the plane in mudbox a small amount
just to see what happens in TG then.
Sorry that I can't be of much help,hope you'll get it sorted soon.
Title: Re: VDISP
Post by: Dune on July 19, 2013, 02:45:55 PM
Thanks Jochen. I still got problems. They don't show up as they should.
Title: Re: VDISP
Post by: Dune on July 21, 2013, 11:47:02 AM
Here's how they ending up if I make them in Mudbox. Pretty 'not nice'.  If I connect the 'normal' way, it looks even more terrible.
Title: Re: VDISP
Post by: Dune on July 21, 2013, 11:52:05 AM
One that did turn out nice.
Title: Re: VDISP
Post by: j meyer on July 21, 2013, 01:12:49 PM
Just re-read what paq wrote about his mudbox VD workflow over in the other thread.
http://www.planetside.co.uk/forums/index.php/topic,16110.msg157216.html#msg157216
Unfortunately some of his settings in mudbox are not visible in the picture,so you can't
compare everything,but some at least.He has the checkbox for creases and hard edges
ticked and although I can't imagine that this is causing the problems you have I still would
try it,just to be sure.
Theoretically the mudbox VD map should work without swapping channels or rotating a vector,
if I got paq right.
Title: Re: VDISP
Post by: Dune on July 22, 2013, 02:49:08 AM
Thanks again, Jochen. I think that may be my problem, using the same sculpt as target mesh for the high poly mesh. Have to try adding an extra plane.
Title: Re: VDISP
Post by: Dune on July 22, 2013, 07:39:05 AM
Yes! That was it; make another plane as target. Works like a dream.
Title: Re: VDISP
Post by: mhaze on July 22, 2013, 09:50:47 AM
Looks like a stone troll! or some frozen mythical animal - great stuff.
Title: Re: VDISP
Post by: choronr on July 22, 2013, 11:22:58 AM
Wow! That is really nice Ulco.
Title: Re: VDISP
Post by: j meyer on July 22, 2013, 11:32:08 AM
Cool one!
Glad to see you got it working now.
Title: Re: VDISP
Post by: TheBadger on July 22, 2013, 12:57:20 PM
Good result of your test Ulco. It does look like an animal though. Maybe a bear, a wolverine, or a honey badger.

So what do you think now, about the way Terragen deals with the import and translation of a sculpted vector map? Is it ideal, or can improvements be made to Terragen to make anything better in this regard?
When I look at the node trees people are posting I still feel like something could be optimised somehow. But its more of a feeling then something I think I know for sure. Do you think its the best it can be in terms of how Terragen takes and uses the vectors?