POV-Ray : Newsgroups : povray.beta-test : Re: Playing with 3.7b : Re: Playing with 3.7b Server Time
28 Jul 2024 18:15:30 EDT (-0400)
  Re: Playing with 3.7b  
From: sooperFoX
Date: 20 Jan 2008 21:00:00
Message: <web.4793fb8b9b3015d263acc1e50@news.povray.org>
Christian Froeschlin wrote:
>  >> o I noticed 3.7 now has support for HDR's but not the map_type 7
>  >>   which is implemented in Mega-POV to support the omnidirectional
>  >>   images which seem to be a typical use case for HDR's. Moreover,
>  >>   there is no syntax error when using an unsupported map_type,
>  >>   the image_map seems to silently revert to map_type 0.
>  >
>  > Hmm, sounds like a bug.
>
> ok, I now checked this with 3.6.1 and it also accepts any value
> for map_type so this parser problem is not specific to the beta.
> Just a minor pitfall when adapting MegaPOV HDR scenes to 3.7.
> Otherwise, of course, no one enters undocumented values ;)

You could also use spherical mapping (map_type 1) for your probes - use
something like HDRShop to apply panoramic transformation from Light Probe
(Angular map) to Latitude-Longitude map. Then you can freely switch between
versions. I do agree that it would be nice to support both!


>  >> can you create a HDR scene which renders both in MegaPOV and 3.7?
>  >
> > Not that I know of; however, if you try to specify a scene to work
> > with Megapov, it won't render in 3.7 without the parser complaining,
> > and like wise for the reverse.
>
> I succeeded using the built-in version variable:
>
> #if (version < 3.7)
> #version unofficial megapov 1.2;
> #end

Nice trick, I'll have to try that when I get home! If combined with spherical
mapping (above) then you could have a portable scene file.


- sooperFoX


Post a reply to this message

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