|
|
|
|
|
|
| |
| |
|
|
|
|
| |
| |
|
|
Hi,
It is possible create same object with slightly deferent code. as u can see
from bellow
case 1:
plane
{ y, -5
pigment { checker White, Black }
scale <5,1,5>
rotate 45*y
}
case 2:
plane
{ y, -5
pigment { checker White, Black scale 5 rotate 45*y }
}
Both code will produce same result. In that case which is better?
Or which renders faster, if faster at all?
--
Dinesh Shah :-)
din### [at] indiamailcom
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
Generally speaking there shouldn't be too much of a speed difference in
rendering although technically I think:
plane
{ y, -5
pigment { checker White, Black scale 5 rotate 45*y }
}
is faster because it's only rotating the texture and not the object.
--
Lance Birch
Remove the smiley to e-mail.
http://www1.tpgi.com.au/users/ambient/lance
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
Hi Birch
Thanks for the answer
I will look at the difference in more complex scenes
thanks
Dinesh Shah :-)
din### [at] indiamailcom
Lance Birch <:-)Lan### [at] tpgicomau> wrote in message
<34f1e5a0.0@news.povray.org>...
>Generally speaking there shouldn't be too much of a speed difference in
>rendering although technically I think:
>
>plane
> { y, -5
> pigment { checker White, Black scale 5 rotate 45*y }
> }
>
>is faster because it's only rotating the texture and not the object.
>
>--
>Lance Birch
>Remove the smiley to e-mail.
>http://www1.tpgi.com.au/users/ambient/lance
>
>
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
Dinesh Shah schrieb:
> case 1:
> plane
> { y, -5
> pigment { checker White, Black }
> scale <5,1,5>
> rotate 45*y
> }
You scale the object and rotate it WITH the pigment on it
> case 2:
> plane
> { y, -5
> pigment { checker White, Black scale 5 rotate 45*y }
> }
You scale the pigment and rotate it WIHTOUT the plane itself, so this should be
faster but:
It only works as a plane is infinite, try this with a box and you'll get
different results.
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
Dinesh Shah wrote:
>
> Hi,
> case 2:
> plane
> { y, -5
> pigment { checker White, Black scale 5 rotate 45*y }
> }
> Both code will produce same result. In that case which is better?
> Or which renders faster, if faster at all?
Case 2 will parse faster. But not to a significant ammount that you
will notice anything.
(BTW, case 1 says scale <5,1,5> and scale 5 is the same as <5,5,5>)
oo o o ( ( ( (=-- inf### [at] veriocom --=) ) ) ) o o oo
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |