Iray Not Doing Displacement Or Reflection? (Resolved, Sort Of)

(Just displacement in this post.Reflection is in my second post)
DS 4.8 - simple square with a checkerboard pattern plugged into both diffuse and displacement.
3Delight renders as expected, but Iray's ignoring the displacement.
(if you don't see the inline image above then it's also attached to this post)
Post edited by 3dcheapskate on
Comments
Iray displacement is dependant on your Sub D level, so if your plane only has one polygon you won't see any.
Adjust the Sud D level up to 3 in the surface settings. You can play it with it to get it looking good but going to high will slow things down potentially to a level it will take forever to calculate. So you want just enough.
I don't see any SubD under Surfaces, so I guess you mean the "View SubD Level" and/or the "Render SubD Level (Minimum)" under Parameters > General ?
Setting either/or/both to 3 doesn't seem to have any effect on displacement, just turns my nice square into a circle (setting "Edge Interpolation" to "Sharp Corners And Edges" avoids that of course).
To get any noticeable displancement I have to crank it up way beyond 3...
(if you don't see the inline image above then it's also attached to this post)
And in addition I don't seem to be getting any reflection with Iray.
Neither of your images are showing. Which shader base are you using?
yep it all depends on the mesh in how it was made in the first place. Get a Normal map plug-in for PS or Gimp and convert the displacement map in to a Normal map
Reflection is governed by the Gloss Weight and Roughness. The rougher the surface less the reflection
Also your attached images aren't showing, PNG by any chance?
A normal map wouldn't do what I want - it would be so much easier to explain if you could see the image LOL !
Both images are JPG and I see them perfectly on my system, even if I do a Ctrl-F5 page refresh (Firefox). I also see them on my better half's computer (IE).
I uploaded both with the standard 'Attach File' and they appeared as thumbnails. Thumbnails are great for galleries od threads with loads of 'art', but this is (hopefully) a short threadwith a couple of images, so I want to make them inline. So I clicked on the image thumbnail to view it, copied the URL of the image, then edited the post and added in inline image using the URL I'd just copied.
Image in first post - http://www.daz3d.com/forums/uploads/FileUpload/2b/018682a40e2e9fda5da315e9ed0a7e.jpg
Image in second post - http://www.daz3d.com/forums/uploads/FileUpload/45/563bf748506bc8364930d49774b931.jpg
(just tested both those links and they work. Edit: they also work my better half's laptop and a friend's iphone)
I get page not found for both links and using Attached yes makes thumbs but we can click on them to make them bigger.
It's an imported PP2, so it's just like the old DS3 surface.
(See my comment two posts up about normals - middle example of the three examples in the first post image is what I want, and you can't do that with normals)
My mesh is Zen. Four vertices, four edges, one face. Sounds like Iray doesn't like Zen. ;o)
I don't have Gloss Weight or Roughness on my surfaces. Just tried Create > New Primitive > Plane from the DS menu, and it has the same surface parameters on the surfaces tab as my zen mesh.
As you have removed the thumbs those will not work for anyone else. You need to attach them again, using the attach button, and then take the image location from the new thumbnails, once you have clicked them to bring up full size. By removing the attachments you have broken the links to the images. You can still see the images when you click on your link because they are in your cache.
if using Iray convert the surface to Iray first then set up the material. It was asked if you had displacement set to 3 that can only be done in the Iray Surface and not to be confused with the main DS Sub-D feature.
But when I looked at this thread on the other laptop I did it without being logged in, and I saw the images with no problem.
Those images have never been in the browser cache on that other laptop, and I wasn't logged in - most curious...
I want to check the original images from a completely different system tomorrow. But in the meantime I've attached both images to this post.
...so you can probably guess my next question...
- How do you convert a surface to Iray ? I see nothing on the surfaces tab, or the surfaces tab drop-down, or Edit > Object, etc
First you need more quads in the primtive. Here I made a plane at 1mtr sq with a 100 divisions. You can try lower and see if it works but you do need to convert the surface to Iray first using the Iray Uber SHader.
make sure you have the surface selected first and then Open the Surfaces Pane and click on Presets at the top of the Pane, open Shaders and clcik on Iray, It should be the first shader. Double click on the shader to apply.
Something's gone screwy - I can't see anything at all on the surfaces tab now, not for my plane, not for the DAZ primitive plane, not for M4.
Tried restarting. Even tried rebooting. Same problem with both DS4.8(64) and 4.5(32)
DS3 seems fine though.
I'm gonna call it a night - I'm half asleep and probably did something stupid! :)
If you have issues tomorrow just shout.
Right, new day, coffee, wide awake. First a fresh look at those 'vanished' images:
Just looked at this page on another computer that I've never even been near the DAZ website with. All images appear correctly - in the first post , in the third post, and via the URLs from this post
(Edit: They also show up correctly if I look at this page from a friend's iPhone, which has never been logged in to the DAZ website)
So it's clearly nothing to do with the browser cache.
Nor does it appear to be anything to do with my being logged in.
However, it's clear that neither chohole nor szark are seeing those images, so something's screwy.
Does anybody else see those images correctly, or is it ONLY me?
(Edit:second, regarding not seeing anything on the DS4.8 surfaces tab - me being stupid. I was on Surfaces > Presets, not Surfaces > Editor :D )
I don't see them correctly, where did you attach the images as the img source gives me a dead link?
<img alt="" src="http://www.daz3d.com/forums/uploads/FileUpload/45/563bf748506bc8364930d49774b931.jpg" style="height:271px; width:742px">
All of your later attachments appear fine.
The way I uploaded the images and put them inline is this:
1) Use the "Attach a file" > Browse to add the image as an attachment. This causes a thumbnail of the image to appear at the bottom of the post.
2) I then view the post, click on the thumbnail to bring up the full image, and copy the image URL.
3) Edit the post, insert an inline image using the URL I've just copied, and post. Both full size image and thumbnail attachment appear.
4) Edit the post again and delete the attachment. This is obviously the bit that caused the problem, just as chohole stated "...As you have removed the thumbs those will not work for anyone else...". However, my tests using a second computer and an iphone seem to indicate that it's not quite that cut-and-dried
Out of interest do you see the inline image in this post (my entry in the "It's Raining Men" challenge) - that was uploaded and put inline in the same way, including final deletion of the thumbnail.
Best option is clearly to follow chohole's advice and not do the final deletion of the thumbnail ! :)
By the way: that link you posted has a " at the end of the URL - clicking on the link I get the "Page Not Found" page. Removing the " from the end of the URL I see the image correctly
Deleting the attachment is whats causing the issue as your linking to a file that your deleting. I'm not sure why you are still seeing it though.
Out of interest do you see the inline image in this post (my entry in the "It's Raining Men" challenge) - that was uploaded and put inline in the same way, including final deletion of the thumbnail.
This is what I see there:
I expect if you leave attachment in place it will be fine as you described.
Thanks - I've reuploaded Gnarly Charlie without the final thumbnail deletion, so he should be okay now.
And in future I won't delete the thumbnails after putting images inline (just as chohole said :) )
(But I'll leave the images in my first two posts on this thread as they are, i.e. vanished for most folks, but visible from several different systems/browsers/IP addresses at my end - maybe raise a bug report if I can't get to the bottom of it. Maybe not)
{Edit: raised Support Request #205254 - Forum Image Problem: If you attach an image, make it inline, and then delete the attachment some people now see it, others don't}
Just for experiments sake I will delete the attachment above to see what you see.
I can still see it after deletion.
I see the image from both my friend's iphone and from yet another different PC, and I'm not logged in on either. The thumbnail's gone of course.
Neither iPhone nor PC would have had the image you posted cached, because I last looked at the DAZ site on the iPhone just before 09:46 UTC (edit timestamp on this post, which was nearly an hour before you made your post with the image) and I haven't looked at the DAZ site ever from the PC.
I've logged in on the PC noted to post this comment plus a screenshot of what I see from this PC
Very weird, it seems that removing the attachment effect some but not all cases. It's hard to pin down what the exact cause would be. Oh well not a problem for me to solve TG :D
Enough of that little diversion, back to the main topic
Hmmm... when I look at Surfaces > Presets tab I don't see anything. My surface presets all look very Zen too ! Screenshot was just a plane primitive.
Just to check you have set up your content and it's all visible throught the content tab?
Mine shows a lot of stuff there but honestly I don't use the Presets tab much as it's unwieldly. I tend to use the Smart content or Content library tabs.
I thought I had, but clearly not...
The folders under my DS4.8 program installation (not on the C drive) are shown in the attached screenshot - no 'content').
The folders under my DS4.8 content installation (on a separate drive) are just three - 'data', 'runtime' and 'scripts', and weighing in at 52.5MB in total
(The stuff I've been loading has been from mapped Poser runtimes or my old DS4.6 content directory)
You will need to point DS to your content library(s) using the content directory manager. You can bring it up under the content library dropdown.
Just to check you have installed the default shaders and lights for 4.8?