POV-Ray : Newsgroups : povray.general : Rendering texture for use in SkySphere : Re: Rendering texture for use in SkySphere Server Time
5 Nov 2024 09:26:28 EST (-0500)
  Re: Rendering texture for use in SkySphere  
From: Warp
Date: 14 May 2003 15:39:55
Message: <3ec29b8b@news.povray.org>
Actually what you are trying to do is a (spherical) environment map,
which is a very basic technique.
  You can render such spherical environment map by specifying "spherical"
in your camera settings. Usually the optimal resolution for such map
is twice as wide as high (eg. 256x128 or whatever).
  After this you can use the image created like this as an image map
with spherical mapping (map_type 1 iirc).

  You can have a lot more than just stars there if you want. You can
have planets, entire worlds or whatever. The only requisite is that
none of the geometry in this "world" should be anywhere near the camera.

-- 
#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.