|
|
|
|
|
|
| |
| |
|
|
|
|
| |
| |
|
|
Today while tring out HDRI for the first time with MEGAPOV 1.1, I ran
across something that I don't think should happen.
Normally it's quite possible to map images onto a sky_sphere, but when I
tried it with a HDRI image (using image_map, just as shown in the
documentation), MEGAPOV crashed every single time.
sky_sphere {
pigment {
image_map {
hdr "HDRI/kitchen_probe.hdr "
once
map_type 1
}
}
}
Using map_type 7 did not effect the outcome either. I can provide the
rest of the file as well if necessary, but it rendered perfectly just
before I added the sky_sphere HDRI (see "Star Wars Battle Droid" in p.b.i)
Changing the code to use a finite sphere fixed the problem. I'm running
MEGAPOV 1.1 on WinXP SP1 using a fresh download of the kitchen probe.
~Mike
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
Mike Thorn wrote:
>
> sky_sphere {
> pigment {
> image_map {
> hdr "HDRI/kitchen_probe.hdr "
^
unless you have a space at the end of your file name this is wrong.
Christoph
--
POV-Ray tutorials, include files, Sim-POV,
HCR-Edit and more: http://www.tu-bs.de/~y0013390/
Last updated 23 Sep. 2004 _____./\/^>_*_<^\/\.______
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
Christoph Hormann wrote:
> unless you have a space at the end of your file name this is wrong.
Sheesh.
I wouldn't have expected it to crash because of that. I guess that's
what I get for not proofing better.
~Mike
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
Mike Thorn <mik### [at] realitycheckmultimediacom> wrote:
> I wouldn't have expected it to crash because of that. I guess that's
> what I get for not proofing better.
What do you mean by "crash"? If it just gives an error message, that's
not crashing.
If it, however, truely crashes (ie. the OS gives you something like
"this program has performed an illegal operation" or "segmentation fault"),
then that's a bug which should be reported.
--
#macro N(D)#if(D>99)cylinder{M()#local D=div(D,104);M().5,2pigment{rgb M()}}
N(D)#end#end#macro M()<mod(D,13)-6mod(div(D,13)8)-3,10>#end blob{
N(11117333955)N(4254934330)N(3900569407)N(7382340)N(3358)N(970)}// - Warp -
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
Warp wrote:
>
> What do you mean by "crash"? If it just gives an error message, that's
> not crashing.
> If it, however, truely crashes (ie. the OS gives you something like
> "this program has performed an illegal operation" or "segmentation fault"),
> then that's a bug which should be reported.
It crashes and i assume the reason is the .hdr extension is not listed
in gPOV_File_Extensions and Locate_Filename() can't cope with this. But
it should be obvious why this has never been a problem in the past
(since it is quite rare you specify the wrong file name).
Christoph
--
POV-Ray tutorials, include files, Sim-POV,
HCR-Edit and more: http://www.tu-bs.de/~y0013390/
Last updated 23 Sep. 2004 _____./\/^>_*_<^\/\.______
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
> (since it is quite rare you specify the wrong file name).
Bad, bad to assume things are not likely to happen ;-)
- NC
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
In article <cq9o1a$o84$1@chho.imagico.de> , Christoph Hormann
<chr### [at] gmxde> wrote:
> It crashes and i assume the reason is the .hdr extension is not listed
> in gPOV_File_Extensions and Locate_Filename() can't cope with this.
Sorry, but this is nonsense.
Thorsten
____________________________________________________
Thorsten Froehlich, Duisburg, Germany
e-mail: tho### [at] trfde
Visit POV-Ray on the web: http://mac.povray.org
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
Thorsten Froehlich wrote:
> Sorry, but this is nonsense.
>
> Thorsten
But of course you can't be bothered to explain why?! :(
It is quite unconstructive to criticize someone's statement without at
the very least explaining why you believe it to be so.
~Mike
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
Thorsten Froehlich wrote:
>
>>It crashes and i assume the reason is the .hdr extension is not listed
>>in gPOV_File_Extensions and Locate_Filename() can't cope with this.
>
>
> Sorry, but this is nonsense.
It might be a good idea not to say nonsense if you don't have a better
explanation and did not look at the code. Adding
,{{ ".hdr", ".HDR", "", "" }} // POV_File_Image_HDR
in fileinputoutput.cpp solves the problem - you get the expected
Parse Error: Error opening HDR image.
Christoph
--
POV-Ray tutorials, include files, Sim-POV,
HCR-Edit and more: http://www.tu-bs.de/~y0013390/
Last updated 23 Sep. 2004 _____./\/^>_*_<^\/\.______
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
In article <41c89e1d@news.povray.org> , Mike Thorn
<mik### [at] realitycheckmultimediacom> wrote:
> But of course you can't be bothered to explain why?! :(
No, not here. But there are places you cannot see (but Christoph and I
can).
Thorsten
____________________________________________________
Thorsten Froehlich, Duisburg, Germany
e-mail: tho### [at] trfde
Visit POV-Ray on the web: http://mac.povray.org
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |