Chaos Corona Forum

General Category => Gallery => Work in Progress/Tests => Topic started by: Alexp on 2015-03-20, 12:54:13

Title: day and night test
Post by: Alexp on 2015-03-20, 12:54:13
Hi guys, I did this test last days and I get an unexpected results with refraction in the glass fences ...

Title: Re: day and night test
Post by: maru on 2015-03-20, 12:55:58
Can you mark that area where "unexpected results" are visible?
Title: Re: day and night test
Post by: Alexp on 2015-03-20, 13:01:53
Can you mark that area where "unexpected results" are visible?

The material has 1.54 Ior for reflection&refraction but as you can see, the displacement its to big.
Title: Re: day and night test
Post by: romullus on 2015-03-20, 13:02:12
Could it be that your glass fence has no thickness, yet material has refraction enabled?
Title: Re: day and night test
Post by: Alexp on 2015-03-20, 13:10:46
Could it be that your glass fence has no thickness, yet material has refraction enabled?

Yes, it has 1cm of thickness. It is a extruded spline with shell modif. I allready check the normals of the polys and all its ok.
And the material is a standard glass, with ref/refrac. I didn¡t use thin glass.
Title: Re: day and night test
Post by: maru on 2015-03-20, 13:17:56
Can you save the problematic part of the scene (just the objects+materials that are acting strange) or recreate it in some new scene and upload?
Title: Re: day and night test
Post by: romullus on 2015-03-20, 13:26:04
One more guess: does your glass material is part of blend material?
Title: Re: day and night test
Post by: Alexp on 2015-03-20, 13:45:39
One more guess: does your glass material is part of blend material?

No, its normal material without blend/layers/maps

Can you save the problematic part of the scene (just the objects+materials that are acting strange) or recreate it in some new scene and upload?

Sure, tell me where
Title: Re: day and night test
Post by: maru on 2015-03-20, 13:48:57
It can be here if you are fine with it. When writing post, click the "attachments and other options" text. Making the scene as small as possible would be appreciated. :)
Title: Re: day and night test
Post by: Alexp on 2015-03-20, 14:05:17
It can be here if you are fine with it. When writing post, click the "attachments and other options" text. Making the scene as small as possible would be appreciated. :)

It is
Title: Re: day and night test
Post by: ylucic on 2015-03-20, 14:49:09
hmmm ..is it a CAD imported geometry? ..

i was looking at your file and you extruded isolated edges, I cannot see any splines as you said. Doing this gives a lot of problems with materials, I dont know why, but here in the office we often have this sort of problems importing geometry from revit or autocad. The final geometry tend to get bad xform, bad uvmapping, etc, etc ....so, try to import in a different way so you can keep the curves from cad as a spline in 3dsmax ....

or, you could extract the edges with the "create shape" button so it can be turned into a proper spline....then you should use a "sweep" modifier to make the glass fence, this way you can uvmap the glass with some noise using exact measures like mm ....



----------wait ...i was looking it again and your fence railing is a proper spline...you should use that with a sweep modifier, its a lot easier.
and your "glass boxes" geometry should had the "THIN" ticket in the material, and probably clean that mesh, because those are boxes within boxes...I don't thinks that's useful for its purpose here
Title: Re: day and night test
Post by: romullus on 2015-03-20, 15:01:35
One more guess: does your glass material is part of blend material?

No, its normal material without blend/layers/maps
Are you sure? In file you attached all glass materials are nested into blend materials. You can see in ME previews that it leads to problems.

Either tick "thin glass" option or  remove glass materials from blend.
Title: Re: day and night test
Post by: Alexp on 2015-03-20, 15:15:26
One more guess: does your glass material is part of blend material?

No, its normal material without blend/layers/maps
Are you sure? In file you attached all glass materials are nested into blend materials. You can see in ME previews that it leads to problems.

Either tick "thin glass" option or  remove glass materials from blend.

I didn't saw this. sorry. Now I solve the problem.
I'll put the final image here.
Any coment is apreciate.
Title: Re: day and night test
Post by: Alexp on 2015-03-20, 15:18:19
hmmm ..is it a CAD imported geometry? ..

i was looking at your file and you extruded isolated edges, I cannot see any splines as you said. Doing this gives a lot of problems with materials, I dont know why, but here in the office we often have this sort of problems importing geometry from revit or autocad. The final geometry tend to get bad xform, bad uvmapping, etc, etc ....so, try to import in a different way so you can keep the curves from cad as a spline in 3dsmax ....

or, you could extract the edges with the "create shape" button so it can be turned into a proper spline....then you should use a "sweep" modifier to make the glass fence, this way you can uvmap the glass with some noise using exact measures like mm ....



----------wait ...i was looking it again and your fence railing is a proper spline...you should use that with a sweep modifier, its a lot easier.
and your "glass boxes" geometry should had the "THIN" ticket in the material, and probably clean that mesh, because those are boxes within boxes...I don't thinks that's useful for its purpose here

I´ll try to solve this too.

Thanks for your coments
Title: Re: day and night test
Post by: maru on 2015-03-20, 15:28:15
I checked the scene too and didn't see any problems with geometry (I think boxes inside boxes should work fine - same for bubbles, right?) but fixing refractive blend materials should help.
Title: Re: day and night test
Post by: Alexp on 2015-03-20, 15:55:50
I checked the scene too and didn't see any problems with geometry (I think boxes inside boxes should work fine - same for bubbles, right?) but fixing refractive blend materials should help.

I solve the my blend error. I create a new simple material and It works perfectly (thaks for this).
Now Im testing the scene with "thin glass" , wi'll see
Title: Re: day and night test
Post by: ylucic on 2015-03-20, 16:14:48
I checked the scene too and didn't see any problems with geometry (I think boxes inside boxes should work fine - same for bubbles, right?) but fixing refractive blend materials should help.

I've learned not to trust imported geometry. They work well in some cases but not all that's imported its usefull.
For instance some glass boxes clash with the glass fence, so its far easy to edit just one box (i'll do extruded close splines probably) ...
Title: Re: day and night test
Post by: Alexp on 2015-03-20, 16:56:48
I render a "thin" scene and "no_thin" scene, and here is the result:

Both scenes are 99 passes, with "thin" glass take 16"36' and with "no thin" 27"00'.

The direct_light pass look's good in both, but the indirect looks a bit dirt. what can I do to solve this?

And the shadow_pass has the same. If I increase the light subdiv. can I solve this?

Thanks in advance for your help
Title: Re: day and night test
Post by: maru on 2015-03-20, 17:22:40
Direct pass is dependent on light samples multiplier.
Indirect pass - on GI vs. AA balance.

So if you want to improve the quality of indirect lighting within given amount of passes - you should increase GI vs. AA balance.

You can also try decreasing Light Samples Multiplier (but not much, I would say not less than 1) and see if the quality of direct lighting is visibly worse. It should make the rendering slightly faster.
Title: Re: day and night test
Post by: Alexp on 2015-03-20, 17:25:45
Direct pass is dependent on light samples multiplier.
Indirect pass - on GI vs. AA balance.

So if you want to improve the quality of indirect lighting within given amount of passes - you should increase GI vs. AA balance.

You can also try decreasing Light Samples Multiplier (but not much, I would say not less than 1) and see if the quality of direct lighting is visibly worse. It should make the rendering slightly faster.

Thanks Maru, I'd try with 32 GI vs. AA and 10 Light Samples Multiplier
Title: Re: day and night test
Post by: PROH on 2015-03-20, 17:29:10
I think you should try 32 GI and 1,5 LSM instead. This way you'll have more indirect samples but the same amount of direct samples.
Title: Re: day and night test
Post by: Alexp on 2015-03-20, 17:31:15
I think you should try 32 GI and 1,5 LSM instead. This way you'll have more indirect samples but the same amount of direct samples.

I will try too, Thanks.

And for the shadow_pass dirty??
Title: Re: day and night test
Post by: romullus on 2015-03-20, 17:36:42
Why do you need that shadow pass?
Title: Re: day and night test
Post by: maru on 2015-03-20, 17:38:27
Thanks Maru, I'd try with 32 GI vs. AA and 10 Light Samples Multiplier
What? :D I hope "10 Light Samples Multiplier" is a typo as I suggested to lower it. :)
Title: Re: day and night test
Post by: Alexp on 2015-03-20, 17:41:47
Why do you need that shadow pass?

Its only to know for what reason it looks dirty.

Thanks Maru, I'd try with 32 GI vs. AA and 10 Light Samples Multiplier
What? :D I hope "10 Light Samples Multiplier" is a typo as I suggested to lower it. :)

Sorry, its my fault. 32 GI, 1,5 LSM, 20 MSI, That's right XD
Title: Re: day and night test
Post by: PROH on 2015-03-20, 17:53:57
Well shadows are by nature "indirect". So better indirect passes should also improve the shadow passes. How to improve it even more... I don't know.
Title: Re: day and night test
Post by: Alexp on 2015-03-24, 21:17:52
That's it, with your settings. I think its much better.

Cheers

Title: Re: day and night test
Post by: PROH on 2015-03-24, 22:13:41
It's much better. I like it :)

Only thing I can't figure out... How do you make the pond disappear in the day times?
Title: Re: day and night test
Post by: Alexp on 2015-03-25, 02:28:58
It's much better. I like it :)

Only thing I can't figure out... How do you make the pond disappear in the day times?

I need to decide with or without pond ..., the image are in "working process".
Title: Re: day and night test
Post by: PROH on 2015-03-25, 02:53:28
With!
Title: Re: day and night test
Post by: Nekrobul on 2015-03-26, 14:08:33
Looks a little too dark to me, but anyway i see a loot of work here.
Title: Re: day and night test
Post by: Alexp on 2015-04-30, 11:37:42
Im trying to do the same here ...