POV-Ray : Newsgroups : povray.general : Invisible blocking objects?? : Re: Invisible blocking objects?? Server Time
3 Aug 2024 08:15:16 EDT (-0400)
  Re: Invisible blocking objects??  
From: Warp
Date: 10 Apr 2004 19:21:51
Message: <4078818f@news.povray.org>
James Bulgin <jam### [at] nfsympaticoca> wrote:
> Hmmm.... Maybe I'm missing something, but I'm not sure how I would apply an
> image map to the entire scene. Do you just mean putting a image mapped plane
> in front of the camera so that it takes up the entire view? Or is there
> something else which I'm not aware of?

  Just compose your scene with untextured primitives, put all these
primitives into a union and texture this union with the image map
(using planar mapping oriented so that when the scene is looked from
the camera, you only see the image map as if it was put onto a plane
facing the camera; that is, when you apply the image map to the scene,
rotate the pigment so that it "faces" the camera).

  Hmm, now that I think of it... your camera angle can't be too large
or else you'll get distortions in the image when surfaces are located
at different distances from the camera... Perhaps it doesn't work directly
(unless you use an orthographic camera), but it's worth a try at least.

  I wonder if you can make a conical projection of the image map onto
the scene with some function... Probably possible.

-- 
#macro M(A,N,D,L)plane{-z,-9pigment{mandel L*9translate N color_map{[0rgb x]
[1rgb 9]}scale<D,D*3D>*1e3}rotate y*A*8}#end M(-3<1.206434.28623>70,7)M(
-1<.7438.1795>1,20)M(1<.77595.13699>30,20)M(3<.75923.07145>80,99)// - Warp -


Post a reply to this message

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