tag:blogger.com,1999:blog-3779956188045272690.post1280039907249692930..comments2024-03-22T01:46:59.425-04:00Comments on Procedural World: 20 Light BouncesMiguel Ceperohttp://www.blogger.com/profile/17586513342346629237noreply@blogger.comBlogger9125tag:blogger.com,1999:blog-3779956188045272690.post-74712432290936112082012-05-17T13:10:26.744-04:002012-05-17T13:10:26.744-04:00Thanks, I will post some results soon.
One thing...Thanks, I will post some results soon. <br /><br />One thing I did not mention is that this is more than just color. It also computes a direction vector for the light at each point. The normal mapping of the texturing reacts very nicely to the changes in direction.Miguel Ceperohttps://www.blogger.com/profile/17586513342346629237noreply@blogger.comtag:blogger.com,1999:blog-3779956188045272690.post-27438819870430968292012-05-17T12:38:08.504-04:002012-05-17T12:38:08.504-04:00I think you've found a very good happy medium,...I think you've found a very good happy medium, you definitely need to keep the number of bounces high for architecture to have the right radiosity for interiors. The funny thing with radiosity is it adds SO much to the rendered image, but it often is overlooked because we don't realize tend to think about how much the light bouncing around objects it hit re-colors other objects.<br /><br />The work you've done here will pay of BIG time down the road, bravo... can't wait to see a render with the true scene and poly's in place, with this radiosity :)Jonathan M.https://www.blogger.com/profile/13053063838125968099noreply@blogger.comtag:blogger.com,1999:blog-3779956188045272690.post-73776682520148559822012-05-17T11:27:55.594-04:002012-05-17T11:27:55.594-04:00It will still be slower and less accurate that wha...It will still be slower and less accurate that what I have now. Note the crowns are opaque to the rays, but not to the light. Light goes through depending on the depth of the crown, and it gets tinted in the process.Miguel Ceperohttps://www.blogger.com/profile/17586513342346629237noreply@blogger.comtag:blogger.com,1999:blog-3779956188045272690.post-91203614780730635692012-05-17T09:01:59.243-04:002012-05-17T09:01:59.243-04:00How about calculating the average transparency of ...How about calculating the average transparency of each texture and modulate the ray by that factor? Should be quite fast and accurate enough.Simonhttps://www.blogger.com/profile/06717578296386099512noreply@blogger.comtag:blogger.com,1999:blog-3779956188045272690.post-38616739138259711512012-05-16T18:22:51.608-04:002012-05-16T18:22:51.608-04:00Heh, over your head as in, too difficult too imple...Heh, over your head as in, too difficult too implement, or me just being terrible at explaining them? XD.<br /><br />But yea, I actually thought you were saying it was a problem >.<Kamicahttps://www.blogger.com/profile/09074839497845172950noreply@blogger.comtag:blogger.com,1999:blog-3779956188045272690.post-66852439238235560912012-05-16T18:10:07.754-04:002012-05-16T18:10:07.754-04:00Well I must admit some of your ideas are a bit ove...Well I must admit some of your ideas are a bit over my head :)<br /><br />Anyway I am looking for a solution that is simple and robust, that means as few special cases or hacks as possible.<br /><br />As I said I don't really have a problem adding extra light bounces. It will help for the architecture too. The translucency is something I will reuse for some architectural materials, like marble and even atmosphere and clouds, when I get there.Miguel Ceperohttps://www.blogger.com/profile/17586513342346629237noreply@blogger.comtag:blogger.com,1999:blog-3779956188045272690.post-80690616837945067632012-05-16T17:54:37.235-04:002012-05-16T17:54:37.235-04:00I think I see shadows on the floor =D, this looks ...I think I see shadows on the floor =D, this looks quite good, especially if you attempt to look at the final result.<br />I take it that the lighter the colour in the screenshot, the more light it receives?<br /><br />Then a response to your response of Tom Hudson; Not sure if it would do any good (But hey, if I throw heaps of ideas in your general direction, I have the chance of at least once being right, right? =D), but what if you sort of make translucent, or partially translucent parts opaque, and let them be a new light source, having the same direction as the main source of light in the sky? This would prevent the need of anything except the crown to have to calculate all the way to the sky.. It could of course add more calculation costs in the actual making of the new light-source, which I am not sure about (I am not yet a programmer XD)<br /><br />If that doesn't work, and distance is the problem, cant you make sort of a low layer, perhaps even moving with the tree-line, or land-scape, which produces the light, that way it would have to travel less distance in the check.<br /><br />Now, if these are completely and utterly ridiculous suggestions, I can only say: Sorry, I am not a programmer, nor do I know all that much about computers, but I just didn't want to risk not suggesting it and it being a solution XD.Kamicahttps://www.blogger.com/profile/09074839497845172950noreply@blogger.comtag:blogger.com,1999:blog-3779956188045272690.post-87506598827136925802012-05-16T17:00:52.932-04:002012-05-16T17:00:52.932-04:00Well, they are not fully opaque in the sense they ...Well, they are not fully opaque in the sense they are translucent, they receive and scatter light. But, yes, they are opaque in the sense they will always be hit by light rays. <br /><br />I could let some rays go through the crowns, but it could be more expensive. For that I would need to consider crown density, because in some places they are so dense no light should really go through.<br /><br />Computing additional light bounces is very fast. What takes time is to collect which points in the scene receive light from which other points. Once you have that, doing bounces takes just a tiny fraction of time. Having opaque crowns makes the solution run faster, since I can stop tracing a ray once there is an intersection. If the ray goes all the way to the sky, it takes longer.Miguel Ceperohttps://www.blogger.com/profile/17586513342346629237noreply@blogger.comtag:blogger.com,1999:blog-3779956188045272690.post-316984751673739672012-05-16T16:49:16.843-04:002012-05-16T16:49:16.843-04:00Are you modeling your crown polygons as opaque? Wo...Are you modeling your crown polygons as opaque? Would partial transparency let you get by with fewer bounces?Tom Hudsonhttps://www.blogger.com/profile/14295247089905712338noreply@blogger.com