Displacement Shapes
-
I seem to have a little glitch with my vray, I have recently installed vray on my new machine and everything works great but it does not render displacement, it shows it in material preview window but not in render.
I checked the same model on an older machine and it renders the displacement fine, is there someplace I need to check to enable displacement?[edit] Figured it out, I'm having a blonde moment.
-
@solo said:
[edit] Figured it out, I'm having a blonde moment.
Care to share what you'd done in your blonde moment?
-
The model size on the new machine was too big so the dispacement value over the texture was reduced to a point that it was not noticable.
-
@solo said:
The model size on the new machine was too big so the dispacement value over the texture was reduced to a point that it was not noticable.
Ouch... Have to admit that it also have happened for me...
Recently it happened when I tried using your Vray Grass displace model...
Didn't realize it was like 30cm grass...Aaahhh well... Good to know that I'm not the only occasional "blonde" around...
-
LOL, I have many blonde moments these days, must be age.
Thomthom, I used your displacement map from your first post and tried it with Vue:
I then exported the displaced mesh and opened it in SU.
-
The one I used isn't the one I posted here. I used an 32bit image, as 8bit images will have a non-linear gamma correction applied it.
How did you create the mesh? Terrain generated from bitmap?
-
Yes.
-
I bet it would be possible to make a whole mountain scene with a displacement map
-
Another quick test.
Image made in paintshop:
Then the displacement/terrain from image:
And lastly the mesh from terraim/displacement opened in SU.
-
More 'boobies'. Tried out Two-Sided material. Though, I had expected it to be more translucent. Need to revisit this one. Other tests on plain geometry gave the results I expected, this one didn't. Wonder if it's due to the displacement.
-
I used your map again this time with Vray, and an American flag as a diffuse map.
It UV mapped it perfectly....hmmm.
-
excellent thread.
-
@solo said:
I used your map again this time with Vray, and an American flag as a diffuse map.
It UV mapped it perfectly....hmmm.
Your image seens jagged... like if there was a small displacement map applied on top of the original displacement map. Look how much more "smooth" are the "turbine" images from TomTom.
-
I believe jaggin is result of ldr displacement map.
-
Hey! That's great! Thom, could you tell me, how do you create displacement maps? Is it kind of software, that converts 3D object into the map?
Thanks.
Coulteri -
A displacement map is just a greyscale image (the sort of thing you can make in photoshop.) You then need a program which can use the displacement map, in thom's case, vray.
-
Yes, I understand this. I just asked, if there is a method to create a displacement map from existing 3D object.... For example, if there is a ruby plugin, that is able to color the face according to its distance from zero position. Then it would be easy to export 2D raster and use it as a displacement map.
-
From Ruby it's not easy to read/write to image files. There seem to be a lack of code library to deal with the various formats.
Other 3D modelling packages have this kind of feature - though I think they mostly generate normal-maps instead of plain displacement maps. AFIK there isn't any tools like this for SU.
My experiment is pretty much the inverse of what you ask for - I just drew a grayscale shape in PS and experimented with what kind of shape it'd produce.
-
@thomthom said:
From Ruby it's not easy to read/write to image files. There seem to be a lack of code library to deal with the various formats.
I seem to remember reading it's because processing images is a relatively computationally intensive task, and ruby being relatively slow as it is isnt well suited to the task.
-
Well, that's one thing, it certainly won't be the quickest. But it doesn't has to be.
But the main issue is that file format other than the BMP format tends to be complex, especially when they compress the images. And if you don't find a good library that can read/write the formats that's supported on both platforms you have to do it yourself - learning the structure of the file format.
Speaking of this, I might see if I an make a class that handles the BMP format as it's one of the most straight forward formats out there.
Advertisement