Planetside Software Forums

General => Image Sharing => Topic started by: FrankB on February 28, 2009, 05:58:54 AM

Title: canyon and strange render bug
Post by: FrankB on February 28, 2009, 05:58:54 AM
Hi,

apparently it's canyon time again :-)

I've have begun working on a scene. What I'm showing here is really just a work in progress. Part of the reason I'm showing it now is that I have an issue with the water in the scene, and maybe one of you has an idea on how to fix it, if possible.

Image 1 (canyon6): I have tried rendering closer to the water. You'll notice that the water is black in some places
Image 2 (canyon7): I took an elevated viewpoint. The water renders fine. Anything lower than that, and the water will begin to show the black patches again.

Any ideas?

Regards;
Frank
Title: Re: canyon and strange render bug
Post by: schmeerlap on February 28, 2009, 06:24:08 AM
Sorry I can't be of help, but it's seeing faults like this that worries me about the imminent T2 release being talked of as being the final (gold) version.

John
Title: Re: canyon and strange render bug
Post by: Seth on February 28, 2009, 07:11:11 AM
what is the smallest scale displacement ? on terrain and fake stones ?
be sure there is nothing under 0.01 (i am sure you already knew it but...)
Title: Re: canyon and strange render bug
Post by: PG on February 28, 2009, 07:52:28 AM
There was a post earlier in the week about using water on displaced terrain. Something about the camera angle being linked to the angle that the lake object is to the planets surface because it's curved or something.
Title: Re: canyon and strange render bug
Post by: Hannes on February 28, 2009, 08:11:15 AM
Nevertheless a great image!
Title: Re: canyon and strange render bug
Post by: Mohawk20 on February 28, 2009, 09:13:50 AM
No ideas about the water, but your textures and lighting are super realistic!
Title: Re: canyon and strange render bug
Post by: FrankB on February 28, 2009, 09:17:10 AM
Quote from: Mohawk20 on February 28, 2009, 09:13:50 AM
No ideas about the water, but your textures and lighting are super realistic!

thanks all :-)

... but it's really just a WIP still. Interestingly, I have changed the scene by now, and never had the water render problem anymore yet. Let's cross fingers that it won't come back.

I'll keep on doodling around, let's see if I can post a more complete render later.

Cheers,
Frank
Title: Re: canyon and strange render bug
Post by: dwilson on February 28, 2009, 12:33:34 PM
The lighting is really good and i like the rock so far.
Title: Re: canyon and strange render bug
Post by: Tangled-Universe on March 01, 2009, 08:21:52 AM
Strange render bug indeed...hmmm...no idea how that's possible.

I'm looking forward to see where this one is going. Especially the second one has a realistic feeling to me.
Very nice rockstructures too :)

Martin
Title: Re: canyon and strange render bug
Post by: cyphyr on March 01, 2009, 01:28:30 PM
Just an idea ... try replacing the lake object with a sphere (at planet size & location) or indeed another duplicate planet either way with a water shader applied to that instead. Might get round the issue... might not.
Hope this helps in some way.
richard
Title: Re: canyon and strange render bug
Post by: rcallicotte on March 02, 2009, 09:01:00 AM
Please let us see your end result, Frank.  This looks so promising...and worthy of a cool animation.  Then, I would begin to wonder about how you would show the scale.  This is so very nice, already.
Title: Re: canyon and strange render bug
Post by: FrankB on March 02, 2009, 03:35:41 PM
it's weird - the shadow bug appears and disappears when changing the view point. It seems to also have to do with the water subsurface depth, but I can't put my finger on it.

Despite another black area on the water, here's another version of the image. not that much has changed, no, but at least now you can see a few bushes, giving the thing a little bit of scale, although I think I need another object in there to help the viewer understand the scale right.

Thanks for the nice comments so far guys.
Haven't tried the suggestion with the second planet sphere yet, cyphyr, maybe in one of the next versions.

Regards,
Frank
Title: Re: canyon and strange render bug
Post by: efflux on March 02, 2009, 04:39:32 PM
I can't make any suggestions about the problem but this is a really cool canyon. Great rock structures.
Title: Re: canyon and strange render bug
Post by: Matt on March 03, 2009, 01:03:16 AM
[EDIT] Ah, it's in the area that's already in shadow. I think it's because the water is essentially casting a GI shadow.. any GI rays which are cast from significantly below the surface hit the water surface instead of the rest of the scene. This means the underwater surface is not illuminated by the environment.  You might be able to fix this by disabling "visible to other rays" on the water object.

(There is always a region very close to the surface where rays are able to pass through, because of simplifications and ray bias in the renderer. Also, because the GI cache is blurred, some parts close to the surface use interpolated values from the surface itself.)

Matt
Title: Re: canyon and strange render bug
Post by: FrankB on March 03, 2009, 02:03:11 AM
Great Matt, thank you. Making it invisble to other rays did the trick: the dark patch is gone. Do you think this should always be disabled in scenes where water is rather shallow, and GI is pretty much the only lightsource hitting the lake object?

Cheers,
Frank

[EDIT] I am sorry to have to revise my earlier statement :-) ... disabling visibility to other rays *helped*, but didn't make it go away entirely. The dark areas are growing again as soon as I move camera down more. Any other idea?
Title: Re: canyon and strange render bug
Post by: rcallicotte on March 03, 2009, 07:46:25 AM
Awesome stones.
Title: Re: canyon and strange render bug
Post by: FrankB on March 03, 2009, 09:30:33 AM
another one. fixed the dark patches on the water by moving the sun, but now I have strange shadows on the left wall, and weird reflections on the water....
This render is testing my tenacity :-)

The cars give a nice sense of scale I think.. although the textures are just preliminary.
Title: Re: canyon and strange render bug
Post by: Seth on March 03, 2009, 09:33:53 AM
hehehe ^^*reminds me of a test render of mine (sorry to jump in with my render Frank)
Title: Re: canyon and strange render bug
Post by: PG on March 03, 2009, 10:38:55 AM
You won't get your £1 back now seth. ;D
Title: Re: canyon and strange render bug
Post by: FrankB on March 03, 2009, 10:41:24 AM
good example how Euro land has less risk than UK pound land. For one, it was a UK cart and secondly, the pound is still more expensive than the Euro  :P
Title: Re: canyon and strange render bug
Post by: Seth on March 03, 2009, 10:46:47 AM
lol !
Title: Re: canyon and strange render bug
Post by: Mohawk20 on March 03, 2009, 11:20:37 AM
That's nasty, I like it! Though the car in the water should probably lean toward the camera, because of the slope of the water filled area...
Title: Re: canyon and strange render bug
Post by: PG on March 03, 2009, 12:18:02 PM
Quote from: FrankB on March 03, 2009, 10:41:24 AM
good example how Euro land has less risk than UK pound land. For one, it was a UK cart and secondly, the pound is still more expensive than the Euro  :P

Actually you the pound is still cheaper than the euro. The GBP and AUD are the cheapest developed nation currencies.
http://finance.yahoo.com/currency-converter?u#from=GBP;to=EUR;amt=1
Title: Re: canyon and strange render bug
Post by: FrankB on March 03, 2009, 12:20:09 PM
no you're reading it the wrong way, 1 GBP costs 1.25 Euro.
Doesn't matter, back to the topic now :-)
Title: Re: canyon and strange render bug
Post by: choronr on March 03, 2009, 11:01:02 PM
I'm really looking forward to the evolution of this picture Frank. Love that canyon!
Title: Re: canyon and strange render bug
Post by: FrankB on March 04, 2009, 01:55:55 AM
Hi Bob and all,

I can't seem to find solutions to the shadow and lighting problems for the moment. I will let this rest now for a little bit and come back to it later, in case I have a striking idea :-)

Frank