|
|
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256
Le 04/09/2015 21:00, Anthony D. Baye a écrit :
> Cousin Ricky <ric### [at] yahoocom> wrote:
>> On 09/04/2015 12:14 AM, Anthony D. Baye wrote:
>>> I said in the other thread that the tiles are modeled as a
>>> single prism, but I was wrong (obviously, since there are two
>>> different colors) they're actually a merge of prisms, each one
>>> is individually textured.
>>
>> Is there a reason you are using a merge rather than a union? It
>> is hard for me to see what is going on, due to the low lighting.
>>
>> http://wiki.povray.org/content/Knowledgebase:Miscellaneous#Topic_3
>
>>
> I believe it was faster to use a merge when I was first testing the
> tile macro.
not really. Merge need to compute all the intersections of a ray with
the object, then remove the ones that are inside the object.
which means an additional inside test per intersection point, IIRC. If
the texture is opaque, union is enough (as it does not remove the
internal points)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2
iJwEAQEIAAYFAlXqj6gACgkQhKAm8mTpkW1CywQA3YklEgHJChlxBWKHWu4W8VpV
DMB/ZxstClAd9LtkoWRUiTm51bLSk8vx/LRE7QYWc+PR3LS1zTdlyM1j7XUbiGVW
8mP4Pv3wZnQkJOtfXp+lbD09HC8mY+k7NGJr42UhfrWyor31Mma+XzxKsEemkx8X
DbsRwGNhFkFva+masWA=
=3Ds9
-----END PGP SIGNATURE-----
Post a reply to this message
|
|