|
![](/i/fill.gif) |
Nathan Kopp wrote:
> With all of these changes, there are likely to be bugs
Ken's Bug Log for MegaPov. I'll submit more as I find them but it is
likely to be much later today before I can work with the program more.
The following is a program crash related problem ---
// Persistence of Vision Ray Tracer Scene Description File
// File: trace_hf_pattern.pov
// Date: 15/11/99
// Demo showing the use of pattern and trace function.
This crash was repeatable and occured immediately after parsing and when
the display window appeared.
MEGAPOV caused an invalid page fault in
module MEGAPOV.EXE at 015f:00422585.
Registers:
EAX=00000000 CS=015f EIP=00422585 EFLGS=00010246
EBX=00917f38 SS=0167 ESP=0306f568 EBP=0306f618
ECX=00000000 DS=0167 ESI=00000001 FS=4027
EDX=00000000 ES=0167 EDI=00003856 GS=0000
Bytes at CS:EIP:
66 8b 14 48 33 c9 66 8b 0c 70 89 54 24 0c dd 5c
Stack dump:
00000000 0306f728 0306f740 00003856 004d0672 00000001
00519b98 0306f594 00000002 0000002b 00000001 00352e30
0306f5b8 0000001f 0306f820 0306f647
All of the following are syntax bugs found in the example scenes.
I suspect there is a naming collision with a reserved function name
i.e. image_height and image_width. Changing to image_h and image_w
allows the scenes to render as expected.
// Persistence of Vision Ray Tracer Scene Description File
// File: double_illuminate.pov
// Date: 15/11/99
// Demo double_illuminate
This does not work
camera {
location < 0.0, 5, -2.5 >
#declare image_height = 240;
#declare image_width = 320;
up image_height*y
right image_width*x
angle 35
look_at < 0.0, 0.0, 0.0 >
}
This does work
camera {
location < 0.0, 5, -2.5 >
#declare image_h = 240;
#declare image_w = 320;
up image_h*y
right image_w*x
angle 35
look_at < 0.0, 0.0, 0.0 >
}
// Persistence of Vision Ray Tracer Scene Description File
// File: obj_controls.pov
// Date: 14/11/99
// Showing no_image, no_reflection, no_shadow and projected through
Same as above problem - Change image_height and image_width renders ok.
camera {
location <0.0, 3, -20>
#declare image_height=240;
#declare image_width=320;
up image_height*y
right image_width*x
look_at <0.0, 0.0, 0.0>
angle 25
}
// Persistence of Vision Ray Tracer Scene Description File
// File: warp_maps.pov
// Date: 15/11/99
// Demo showing the use warps in pigment
Same as above two plus the declaration has 2 duplicates that are not necessary.
camera {
location <0.0, 1.5, -11>
#declare image_width=320;
#declare image_height=240;
#declare image_width=320;
#declare image_height=240;
up y*image_height right x*image_width
angle 45
look_at <0.0, 0.0, 0.0>
}
// persistence of Vision Ray Tracer Scene Description File
// Needs Isoblob patch.
// File: isoblob_mace.pov
// Date: 14/11/99
// Isoblob example scene
Same as above
camera {
perspective
location <0.0, 0.0, -8>
#declare image_height=240;
#declare image_width=320;
up y*image_height right x*image_width
angle 55
look_at <0.0, 0.0, 0.0>
}
// Persistence of Vision Ray Tracer Scene Description File
// Isosurface function demo
Same as above
camera {
perspective
location < 0.0, 0.25, -2 >
#declare image_width=320;
#declare image_height=240;
up y*image_height right x*image_width
angle 45
look_at < 0.0, 0.0, 0.0 >
rotate y*3.5
}
--
Ken Tyler - 1200+ Povray, Graphics, 3D Rendering, and Raytracing Links:
http://home.pacbell.net/tylereng/index.html http://www.povray.org/links/
Post a reply to this message
|
![](/i/fill.gif) |