POV-Ray : Newsgroups : povray.binaries.images : To Encore, Making part of an object tranparent : Re: To Encore, Making part of an object tranparent Server Time
2 Aug 2024 20:21:21 EDT (-0400)
  Re: To Encore, Making part of an object tranparent  
From: Ger
Date: 6 Dec 2012 12:39:49
Message: <50c0d865$1@news.povray.org>
Encore wrote:

>> > So basically you change the Cam0Location to something like
>> > #declare Cam0Location =  < 0 , 1 ,-1000>;
>> >
>> > which puts it to -1000 on the z-axis. How would you zoom in then after
>> > that?
>> >
>> I guess: a small angle.
> 
> Yeah I was about to post  another reply about that.
> I changed the angle to about 0.380
> and the #declare Cam0Location =  < 0 , 1000 ,-1000>;
> 
> After that, I needed to translate the camera along the x-axis like this:
> #declare Cam0Location = vrotate(Cam0Location, <0, CamAngle/1, 0>) + <450,
> #30,
> -3>;
> 
> It still needs some configurations but the problem is that the wedges do
> not extend until the object anymore, so the result looks something like
> what you can see in the screenshot:

I had a mix-up in my code which wasn't apparent at short distances. I have 
tried it with direction z * 1e8 and it still works now.

-- 
Ger


Post a reply to this message

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.