All posts relating to Maxwell Render 1.x
User avatar
By Darius
#269549
I have a displacement attached to this material with the following settings:

Image
Image

Does anyone know why i am getting these strange results? Do I have to add lots of faces to the polygon?

Image
User avatar
By Tim Ellis
#269562
Increase the number of subdivisions on your ploygons for the brick mesh, then increase the smoothing angle to 120' and recalc the normals (if in MXST).

That should help remove the bad displacement areas and should also sort out the bad edge displacement at the top of the window frame.

Check your displacement map matches the colour map and uses the same uv mapping and channel.


Tim.
User avatar
By Darius
#269612
Thanks Tim

I tried your suggestions. I subdivided the polygons and entered the new displacement values as shown below (I tried 120 for the precision value but there where still gaps):

Image

These are the results i got:

Image

How do i close the edges?

The only thing i can think of that might be causing the problem is that the polygons are divided into triangles and not quads as the model was produced by other CAD software. Would this be causing the problem?

Another thing i have noticed is that the height values are not accurately represented. I have a value of 0.2 cm for the height but the image is showing grooves in the bricks which appear to be about 2 cm deep. In Maya i have the units set to centimetres and the building is scaled to the correct size. Why do the grooves appear deeper than the values i am using?
User avatar
By KurtS
#269619
Are you sure that the surface is subdivided? Looks like you still have some large triangles.
Image
About the corners: Try to use a different (higher) offset value. try also to smooth the object using a smoothing angle larger than 90 deg.
Last edited by KurtS on Fri May 16, 2008 5:11 pm, edited 2 times in total.
User avatar
By Tim Ellis
#269622
Yes increase the object's smoothing angle, rather than the smoothing function in the mxm.

That will close the edges for you.


With regard to your height issue, you don't have absolute checked in the mxm, so will be 0.2 units not 0.2cm.

Keep the offset at 0.5 for this case, so the bricks displace out 1cm and the cement displaces in 1cm. (This will only be true for 2cm with absolute checked. Don't forget that the absolute height would be for a displacement map which has a white value of 255,255,255 for the bricks and 0,0,0 for the cement.)

Tim.
Last edited by Tim Ellis on Fri May 16, 2008 5:31 pm, edited 1 time in total.
By Renato Lemus
#269623
smoothing angle should be >90
User avatar
By Darius
#269640
Thanks for your suggestions.

Its getting closer, but not quite there.

I have made the following suggested changes to the displacement values:

Image

...and got the following results:

Image

The gap hasn't closed completely. How do i close the gap? Do i need to add more subdivisions to the geometry or do i need to increase the precision value?

I have also tried rendering without using displacement and relying only on a bump map (shown on the red brick only) to give the impression of relief on the surface, but even with the bump values at full the result is flat and not as impressive as using a displacement map.

The bump settings i used are:

Image

The bump map i used is this:

Image

and the result is this:

Image

This looks very flat. I cant see a bump effect. Is there any way to make the bumping more pronounced or is this the best that can be achieved?
User avatar
By Maximus3D
#269644
Can you show what your geometry looks like ? with the subdivs you added..

I ran similar tests in the past and at first i had equally bad luck like you with visible gaps but i managed to eliminate those gaps completly by having a solid brickwall material with walls subdivided enough and aligned together at the corners. And ofcourse the correct smoothing angle set.

Here below are thumbnail links to my results, click on them to view them fullres.
Image
Image
Image

/ Max
Last edited by Maximus3D on Fri May 16, 2008 9:54 pm, edited 1 time in total.
User avatar
By Darius
#269652
Thanks Fernando. Where can i find the smooth angle setting? Is the smooth angle setting a property of the geometry i.e. in Maya (which is what im using) it is know as soften/harden edge normals. Is this what you mean by smoothing angle? Do i have to select all the corner edges of the building and alter the edge normals?

NB I am not using Maxwell studio. I am using the Maya plug-in. Is the smooth angle setting available in the plug-in?

Maximus3D the geometry is quite messy. It was modelled using other CAD software. This is the model before subdividing it:

Image

This is the model after subdividing it:

Image
User avatar
By -Adrian
#269655
I think you need a much closer vertical edge right of the building's edge.
User avatar
By Fernando Tella
#269679
I'm not a Maya user but I guess that could be the option. In max I select all faces, set angle and hit auto smooth; studio has an option too to do so in object properties (set angle and hit recalc). To do that and don't get too bad results you should first add some edges parallel and near the corners so the normals of the most part of the object don't get odd.
In general subdivision should be more regular if you can do it in Maya to get nice results.
User avatar
By oz42
#269815
I seem to remember someone posting about this issue recently and it turned out the gap was caused by the displacement going all the way from 1 to 0. If the displacement stopped short of 0 it was ok (I think) I'll try to find the post and put a link here.
Help with swimming pool water

Hello! I think the main problem with the color of[…]

Hello Julien, The command changed in Maxwell 5 as[…]

render engines and Maxwell

The question to ask yourselves is if you switch ov[…]

Workaround using the "RESOURCES BROWSER"[…]