POV-Ray Bug Tracking System: Thu, 18 May 2017 10:47:10 +0000 POV-Ray Bug Tracking System:POV-Ray: Recently edited tasks http://bugs.povray.org/ FS#227: Fixed Vector Limitations Jim Holsenback Wed, 16 Nov 2011 12:21:35 +0000 http://bugs.povray.org/task/227 http://bugs.povray.org/task/227 FS#320: Failed Assertion in image/image.cpp Christian Friedl Sat, 08 Mar 2014 15:06:06 +0000
when I'm trying to render a scene on my MacBook Air with the following .ini-settings, I get a failed assertion and the program halts.

Here are the .ini-Settings:

Width=640
Height=480

Test_Abort=Off
Continue_Trace=On
Pause_When_Done=Off
Verbose=On
Draw_Vistas=Off
Sampling_Method=1
Quality=9
Jitter=Off
Display=Off
Buffer_Output=Off
Debug_File=false

Final_Frame=10

This is the failed assertion:

Assertion failed: (((x) < width) && ((y) < height)), function SetRGBFTValue, file image/image.cpp, l

Oddly, if I change width and height to something very small like 320x200, it works.


This is the complete stack trace:

Process: povray [11188]
Path: /opt/local/bin/povray
Identifier: povray
Version: ??? (???)
Code Type: X86-64 (Native)
Parent Process: bash [11184]

Date/Time: 2014-03-07 14:44:04.423 +0100
OS Version: Mac OS X 10.7.5 (11G63)
Report Version: 9

Interval Since Last Report: 708124 sec
Crashes Since Last Report: 23
Per-App Crashes Since Last Report: 21
Anonymous UUID: FB98BF62-1511-4E59-94F3-E89C04491CA5

Crashed Thread: 3

Exception Type: EXC_CRASH (SIGABRT)
Exception Codes: 0x0000000000000000, 0x0000000000000000

Application Specific Information:
objc[11188]: garbage collection is OFF
Assertion failed: (((x) < width) && ((y) < height)), function SetRGBFTValue, file image/image.cpp, line 1827.


Thread 0:: Dispatch queue: com.apple.main-thread
0 libsystem_kernel.dylib 0x00007fff96134bca __psynch_cvwait + 10
1 libsystem_c.dylib 0x00007fff90454274 _pthread_cond_wait + 840
2 povray 0x000000010eba589d bool boost::condition_variable_any::do_wait_until(boost::unique_lock&, timespec const&) + 77
3 povray 0x000000010eba0846 vfe::vfeSession::GetStatus(bool, int) + 198
4 povray 0x000000010ebc0147 SDL_main + 3511
5 povray 0x000000010ed4d621 -[SDLMain applicationDidFinishLaunching:] + 49
6 com.apple.Foundation 0x00007fff8bc3ad0e __-[NSNotificationCenter addObserver:selector:name:object:]_block_invoke_1 + 47
7 com.apple.CoreFoundation 0x00007fff8fcda7ba _CFXNotificationPost + 2634
8 com.apple.Foundation 0x00007fff8bc26fc3 -[NSNotificationCenter postNotificationName:object:userInfo:] + 65
9 com.apple.AppKit 0x00007fff8ef08e2b -[NSApplication _postDidFinishNotification] + 212
10 com.apple.AppKit 0x00007fff8ef08b91 -[NSApplication _sendFinishLaunchingNotification] + 78
11 com.apple.AppKit 0x00007fff8ef07858 -[NSApplication(NSAppleEventHandling) _handleAEOpenEvent:] + 242
12 com.apple.AppKit 0x00007fff8ef075b9 -[NSApplication(NSAppleEventHandling) _handleCoreEvent:withReplyEvent:] + 330
13 com.apple.CoreFoundation 0x00007fff8fd24541 -[NSObject performSelector:withObject:withObject:] + 65
14 com.apple.Foundation 0x00007fff8bc5d7c7 __-[NSAppleEventManager setEventHandler:andSelector:forEventClass:andEventID:]_block_invoke_1 + 101
15 com.apple.Foundation 0x00007fff8bc5c74e -[NSAppleEventManager dispatchRawAppleEvent:withRawReply:handlerRefCon:] + 283
16 com.apple.Foundation 0x00007fff8bc5c5dc _NSAppleEventManagerGenericHandler + 105
17 com.apple.AE 0x00007fff91d02c25 aeDispatchAppleEvent(AEDesc const*, AEDesc*, unsigned int, unsigned char*) + 200
18 com.apple.AE 0x00007fff91d02b03 _ZL25dispatchEventAndSendReplyPK6AEDescPS_ + 38
19 com.apple.AE 0x00007fff91d029f7 aeProcessAppleEvent + 250
20 com.apple.HIToolbox 0x00007fff8a57bb69 AEProcessAppleEvent + 102
21 com.apple.AppKit 0x00007fff8ef049c5 _DPSNextEvent + 1247
22 com.apple.AppKit 0x00007fff8ef0407d -[NSApplication nextEventMatchingMask:untilDate:inMode:dequeue:] + 135
23 com.apple.AppKit 0x00007fff8ef009b9 -[NSApplication run] + 470
24 povray 0x000000010ed4dc40 main + 1280
25 povray 0x000000010eb78744 start + 52

Thread 1:: Dispatch queue: com.apple.libdispatch-manager
0 libsystem_kernel.dylib 0x00007fff961357e6 kevent + 10
1 libdispatch.dylib 0x00007fff8c8d6786 _dispatch_mgr_invoke + 923
2 libdispatch.dylib 0x00007fff8c8d5316 _dispatch_mgr_thread + 54

Thread 2:
0 libsystem_kernel.dylib 0x00007fff96135036 __sigwait + 10
1 libsystem_c.dylib 0x00007fff90406aab sigwait + 68
2 povray 0x000000010ebbe222 SignalHandler() + 66
3 libboost_thread-mt.dylib 0x000000010f3a0814 thread_proxy + 132
4 libsystem_c.dylib 0x00007fff904508bf _pthread_start + 335
5 libsystem_c.dylib 0x00007fff90453b75 thread_start + 13

Thread 3 Crashed:
0 libsystem_kernel.dylib 0x00007fff96134ce2 __pthread_kill + 10
1 libsystem_c.dylib 0x00007fff904527d2 pthread_kill + 95
2 libsystem_c.dylib 0x00007fff90443a7a abort + 143
3 libsystem_c.dylib 0x00007fff904765de __assert_rtn + 146
4 povray 0x000000010ed2232b pov_base::RGBFTImage::SetRGBFTValue(unsigned int, unsigned int, float, float, float, float, float) + 171
5 povray 0x000000010ecf4d51 pov_frontend::ImageMessageHandler::DrawPixelBlockSet(pov_frontend::SceneData const&, pov_frontend::ViewData const&, POVMS_Object&) + 2529
6 povray 0x000000010eb98d46 pov_frontend::RenderFrontend::HandleImageMessage(pov_frontend::RenderFrontendBase::Id, unsigned int, POVMS_Object&) + 310
7 povray 0x000000010ece78a1 pov_frontend::RenderFrontendBase::ContinueBackup(POVMS_Object&, pov_frontend::ViewData&, pov_frontend::RenderFrontendBase::Id, int&, std::vector&, pov_base::Path const&) + 1265
8 povray 0x000000010eb92f01 pov_frontend::RenderFrontend::StartRender(pov_frontend::RenderFrontendBase::Id, POVMS_Object&) + 865
9 povray 0x000000010eb8f4a9 vfe::VirtualFrontEnd::Process() + 5129
10 povray 0x000000010eb9f46e vfe::vfeSession::ProcessFrontend() + 30
11 povray 0x000000010eb9fb8f vfe::vfeSession::WorkerThread() + 1279
12 libboost_thread-mt.dylib 0x000000010f3a0814 thread_proxy + 132
13 libsystem_c.dylib 0x00007fff904508bf _pthread_start + 335
14 libsystem_c.dylib 0x00007fff90453b75 thread_start + 13

Thread 4:
0 libsystem_kernel.dylib 0x00007fff96134bca __psynch_cvwait + 10
1 libsystem_c.dylib 0x00007fff90454274 _pthread_cond_wait + 840
2 povray 0x000000010eba589d bool boost::condition_variable_any::do_wait_until(boost::unique_lock&, timespec const&) + 77
3 povray 0x000000010eb87d26 vfe::SysQNode::Receive(int*, bool) + 214
4 povray 0x000000010ecf6e39 POVMS_ProcessMessages(void*, bool, bool) + 201
5 povray 0x000000010ebc34f3 (anonymous namespace)::MainThreadFunction(boost::function0 const&) + 259
6 libboost_thread-mt.dylib 0x000000010f3a0814 thread_proxy + 132
7 libsystem_c.dylib 0x00007fff904508bf _pthread_start + 335
8 libsystem_c.dylib 0x00007fff90453b75 thread_start + 13

Thread 5:
0 libsystem_kernel.dylib 0x00007fff96134bca __psynch_cvwait + 10
1 libsystem_c.dylib 0x00007fff90454274 _pthread_cond_wait + 840
2 povray 0x000000010ebd60f4 void boost::condition_variable_any::wait(boost::unique_lock&) + 68
3 povray 0x000000010ebd5ffd pov::TaskQueue::Process() + 1421
4 povray 0x000000010ec03088 pov::Scene::ParserControlThread() + 40
5 libboost_thread-mt.dylib 0x000000010f3a0814 thread_proxy + 132
6 libsystem_c.dylib 0x00007fff904508bf _pthread_start + 335
7 libsystem_c.dylib 0x00007fff90453b75 thread_start + 13

Thread 3 crashed with X86 Thread State (64-bit):
rax: 0x0000000000000000 rbx: 0x0000000000000006 rcx: 0x0000000112d74408 rdx: 0x0000000000000000
rdi: 0x0000000000006f03 rsi: 0x0000000000000006 rbp: 0x0000000112d74430 rsp: 0x0000000112d74408
r8: 0x00007fff7a13afb8 r9: 0x0000000000000723 r10: 0x00007fff96134d0a r11: 0xffffff80002dad60
r12: 0x000000010ed9fd23 r13: 0x000000010f3cb000 r14: 0x0000000112d75000 r15: 0x000000010ed9faf5
rip: 0x00007fff96134ce2 rfl: 0x0000000000000246 cr2: 0x000000010f3cb000
Logical CPU: 0

Binary Images:
0x10eb77000 - 0x10edf2fff +povray (??? - ???) /opt/local/bin/povray
0x10ef73000 - 0x10efc9ff7 +libSDL-1.2.0.dylib (12.4.0 - compatibility 12.0.0) /opt/local/lib/libSDL-1.2.0.dylib
0x10efe8000 - 0x10eff4ff7 +libXpm.4.dylib (16.0.0 - compatibility 16.0.0) /opt/local/lib/libXpm.4.dylib
0x10effa000 - 0x10efffff7 +libSM.6.dylib (7.1.0 - compatibility 7.0.0) /opt/local/lib/libSM.6.dylib
0x10f003000 - 0x10f014ff7 +libICE.6.dylib (10.0.0 - compatibility 10.0.0) /opt/local/lib/libICE.6.dylib
0x10f022000 - 0x10f128fff +libX11.6.dylib (10.0.0 - compatibility 10.0.0) /opt/local/lib/libX11.6.dylib
0x10f150000 - 0x10f1f7ff7 +libIlmImf.6.dylib (7.0.0 - compatibility 7.0.0) /opt/local/lib/libIlmImf.6.dylib
0x10f232000 - 0x10f243fff +libz.1.dylib (1.2.8 - compatibility 1.0.0) /opt/local/lib/libz.1.dylib
0x10f24b000 - 0x10f24ffff +libImath.6.dylib (7.0.0 - compatibility 7.0.0) /opt/local/lib/libImath.6.dylib
0x10f258000 - 0x10f299ff7 +libHalf.6.dylib (7.0.0 - compatibility 7.0.0) /opt/local/lib/libHalf.6.dylib
0x10f29e000 - 0x10f2a5ff7 +libIex.6.dylib (7.0.0 - compatibility 7.0.0) /opt/local/lib/libIex.6.dylib
0x10f2b5000 - 0x10f2b8ff7 +libIlmThread.6.dylib (7.0.0 - compatibility 7.0.0) /opt/local/lib/libIlmThread.6.dylib
0x10f2bd000 - 0x10f31eff7 +libtiff.5.dylib (8.0.0 - compatibility 8.0.0) /opt/local/lib/libtiff.5.dylib
0x10f32c000 - 0x10f361fff +libjpeg.9.dylib (10.0.0 - compatibility 10.0.0) /opt/local/lib/libjpeg.9.dylib
0x10f36f000 - 0x10f393fff +libpng15.15.dylib (33.0.0 - compatibility 33.0.0) /opt/local/lib/libpng15.15.dylib
0x10f39e000 - 0x10f3acfff +libboost_thread-mt.dylib (??? - ???) /opt/local/lib/libboost_thread-mt.dylib
0x10f3d0000 - 0x10f3d3ff7 +libboost_system-mt.dylib (??? - ???) /opt/local/lib/libboost_system-mt.dylib
0x10f3d9000 - 0x10f3e1fff +libXrandr.2.dylib (5.0.0 - compatibility 5.0.0) /opt/local/lib/libXrandr.2.dylib
0x10f3e9000 - 0x10f3f5ff7 +libXext.6.dylib (11.0.0 - compatibility 11.0.0) /opt/local/lib/libXext.6.dylib
0x10f401000 - 0x10f407ff7 +libXrender.1.dylib (5.0.0 - compatibility 5.0.0) /opt/local/lib/libXrender.1.dylib
0x10f40c000 - 0x10f421ff7 +libxcb.1.dylib (3.0.0 - compatibility 3.0.0) /opt/local/lib/libxcb.1.dylib
0x10f432000 - 0x10f433fff +libXau.6.dylib (7.0.0 - compatibility 7.0.0) /opt/local/lib/libXau.6.dylib
0x10f437000 - 0x10f43afe7 +libXdmcp.6.dylib (7.0.0 - compatibility 7.0.0) /opt/local/lib/libXdmcp.6.dylib
0x10f43d000 - 0x10f446fff +libintl.8.dylib (10.2.0 - compatibility 10.0.0) /opt/local/lib/libintl.8.dylib
0x10f451000 - 0x10f549ff7 +libiconv.2.dylib (8.1.0 - compatibility 8.0.0) /opt/local/lib/libiconv.2.dylib
0x10f557000 - 0x10f574fff +liblzma.5.dylib (6.5.0 - compatibility 6.0.0) /opt/local/lib/liblzma.5.dylib
0x7fff6e777000 - 0x7fff6e7abbaf dyld (195.6 - ???) /usr/lib/dyld
0x7fff893c0000 - 0x7fff89428ff7 com.apple.audio.CoreAudio (4.0.3 - 4.0.3) /System/Library/Frameworks/CoreAudio.framework/Versions/A/CoreAudio
0x7fff89429000 - 0x7fff8942afff libunc.dylib (24.0.0 - compatibility 1.0.0) /usr/lib/system/libunc.dylib
0x7fff8942b000 - 0x7fff89436fff com.apple.CommonAuth (2.2 - 2.0) /System/Library/PrivateFrameworks/CommonAuth.framework/Versions/A/CommonAuth
0x7fff89437000 - 0x7fff8953cfff libFontParser.dylib (??? - ???) /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ATS.framework/Versions/A/Resources/libFontParser.dylib
0x7fff8953f000 - 0x7fff8953ffff com.apple.Carbon (153 - 153) /System/Library/Frameworks/Carbon.framework/Versions/A/Carbon
0x7fff89540000 - 0x7fff89545fff libcompiler_rt.dylib (6.0.0 - compatibility 1.0.0) /usr/lib/system/libcompiler_rt.dylib
0x7fff89546000 - 0x7fff89549fff libCoreVMClient.dylib (??? - ???) /System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libCoreVMClient.dylib
0x7fff8954a000 - 0x7fff89598fff libauto.dylib (??? - ???) /usr/lib/libauto.dylib
0x7fff8959a000 - 0x7fff895bbfff libPng.dylib (??? - ???) /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ImageIO.framework/Versions/A/Resources/libPng.dylib
0x7fff895bc000 - 0x7fff896c3fe7 libsqlite3.dylib (9.6.0 - compatibility 9.0.0) /usr/lib/libsqlite3.dylib
0x7fff897fb000 - 0x7fff898aeff7 com.apple.CoreText (220.22.0 - ???) /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/CoreText.framework/Versions/A/CoreText
0x7fff8a1b0000 - 0x7fff8a202ff7 libGLU.dylib (??? - ???) /System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGLU.dylib
0x7fff8a361000 - 0x7fff8a4c8fff com.apple.CFNetwork (520.5.1 - 520.5.1) /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/CFNetwork.framework/Versions/A/CFNetwork
0x7fff8a4c9000 - 0x7fff8a56afff com.apple.LaunchServices (480.40 - 480.40) /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/LaunchServices.framework/Versions/A/LaunchServices
0x7fff8a56b000 - 0x7fff8a897fff com.apple.HIToolbox (1.9 - ???) /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/HIToolbox.framework/Versions/A/HIToolbox
0x7fff8a94a000 - 0x7fff8a961fff com.apple.CFOpenDirectory (10.7 - 146) /System/Library/Frameworks/OpenDirectory.framework/Versions/A/Frameworks/CFOpenDirectory.framework/Versions/A/CFOpenDirectory
0x7fff8aa14000 - 0x7fff8aa1afff IOSurface (??? - ???) /System/Library/Frameworks/IOSurface.framework/Versions/A/IOSurface
0x7fff8aa5e000 - 0x7fff8aa60fff libquarantine.dylib (36.7.0 - compatibility 1.0.0) /usr/lib/system/libquarantine.dylib
0x7fff8aa61000 - 0x7fff8ab6efff libJP2.dylib (??? - ???) /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ImageIO.framework/Versions/A/Resources/libJP2.dylib
0x7fff8ab6f000 - 0x7fff8ad71fff libicucore.A.dylib (46.1.0 - compatibility 1.0.0) /usr/lib/libicucore.A.dylib
0x7fff8aff3000 - 0x7fff8b002fff com.apple.opengl (1.8.1 - 1.8.1) /System/Library/Frameworks/OpenGL.framework/Versions/A/OpenGL
0x7fff8b003000 - 0x7fff8b015ff7 libbsm.0.dylib (??? - ???) /usr/lib/libbsm.0.dylib
0x7fff8b442000 - 0x7fff8b466fff com.apple.Kerberos (1.0 - 1) /System/Library/Frameworks/Kerberos.framework/Versions/A/Kerberos
0x7fff8b4dc000 - 0x7fff8b706fe7 com.apple.CoreData (104.1 - 358.14) /System/Library/Frameworks/CoreData.framework/Versions/A/CoreData
0x7fff8b707000 - 0x7fff8b712ff7 com.apple.speech.recognition.framework (4.0.21 - 4.0.21) /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/SpeechRecognition.framework/Versions/A/SpeechRecognition
0x7fff8b770000 - 0x7fff8b7f5ff7 com.apple.Heimdal (2.2 - 2.0) /System/Library/PrivateFrameworks/Heimdal.framework/Versions/A/Heimdal
0x7fff8b7f6000 - 0x7fff8bc23fff libLAPACK.dylib (??? - ???) /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.framework/Versions/A/libLAPACK.dylib
0x7fff8bc24000 - 0x7fff8bf3dfff com.apple.Foundation (6.7.2 - 833.25) /System/Library/Frameworks/Foundation.framework/Versions/C/Foundation
0x7fff8bf6e000 - 0x7fff8bfd0ff7 com.apple.Symbolication (1.3 - 91) /System/Library/PrivateFrameworks/Symbolication.framework/Versions/A/Symbolication
0x7fff8bfd4000 - 0x7fff8bfdcfff libsystem_dnssd.dylib (??? - ???) /usr/lib/system/libsystem_dnssd.dylib
0x7fff8bfe5000 - 0x7fff8c142fff com.apple.audio.toolbox.AudioToolbox (1.7.3 - 1.7.3) /System/Library/Frameworks/AudioToolbox.framework/Versions/A/AudioToolbox
0x7fff8c18d000 - 0x7fff8c193fff com.apple.DiskArbitration (2.4.1 - 2.4.1) /System/Library/Frameworks/DiskArbitration.framework/Versions/A/DiskArbitration
0x7fff8c194000 - 0x7fff8c25bff7 com.apple.ColorSync (4.7.4 - 4.7.4) /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ColorSync.framework/Versions/A/ColorSync
0x7fff8c25c000 - 0x7fff8c261ff7 libsystem_network.dylib (??? - ???) /usr/lib/system/libsystem_network.dylib
0x7fff8c6a4000 - 0x7fff8c6e8ff7 libRIP.A.dylib (600.0.0 - compatibility 64.0.0) /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/CoreGraphics.framework/Versions/A/Resources/libRIP.A.dylib
0x7fff8c71a000 - 0x7fff8c7f9fff com.apple.ImageIO.framework (3.1.2 - 3.1.2) /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ImageIO.framework/Versions/A/ImageIO
0x7fff8c84e000 - 0x7fff8c8d2ff7 com.apple.ApplicationServices.ATS (317.12.0 - ???) /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ATS.framework/Versions/A/ATS
0x7fff8c8d3000 - 0x7fff8c8e1fff libdispatch.dylib (187.10.0 - compatibility 1.0.0) /usr/lib/system/libdispatch.dylib
0x7fff8c8e4000 - 0x7fff8c91ffff libsystem_info.dylib (??? - ???) /usr/lib/system/libsystem_info.dylib
0x7fff8c920000 - 0x7fff8c950ff7 com.apple.DictionaryServices (1.2.1 - 158.3) /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/DictionaryServices.framework/Versions/A/DictionaryServices
0x7fff8c9cc000 - 0x7fff8c9d1fff libpam.2.dylib (3.0.0 - compatibility 3.0.0) /usr/lib/libpam.2.dylib
0x7fff8cdf6000 - 0x7fff8d3dafff libBLAS.dylib (??? - ???) /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.framework/Versions/A/libBLAS.dylib
0x7fff8d3db000 - 0x7fff8d3fffff com.apple.RemoteViewServices (1.5 - 44.2) /System/Library/PrivateFrameworks/RemoteViewServices.framework/Versions/A/RemoteViewServices
0x7fff8d400000 - 0x7fff8d400fff com.apple.Accelerate (1.7 - Accelerate 1.7) /System/Library/Frameworks/Accelerate.framework/Versions/A/Accelerate
0x7fff8d401000 - 0x7fff8d42efe7 libSystem.B.dylib (159.1.0 - compatibility 1.0.0) /usr/lib/libSystem.B.dylib
0x7fff8d42f000 - 0x7fff8d42ffff com.apple.Accelerate.vecLib (3.7 - vecLib 3.7) /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.framework/Versions/A/vecLib
0x7fff8d558000 - 0x7fff8d671fff com.apple.DesktopServices (1.6.5 - 1.6.5) /System/Library/PrivateFrameworks/DesktopServicesPriv.framework/Versions/A/DesktopServicesPriv
0x7fff8d6bd000 - 0x7fff8d71dfff libvDSP.dylib (325.4.0 - compatibility 1.0.0) /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.framework/Versions/A/libvDSP.dylib
0x7fff8d71e000 - 0x7fff8d71fff7 libsystem_sandbox.dylib (??? - ???) /usr/lib/system/libsystem_sandbox.dylib
0x7fff8df87000 - 0x7fff8df8bff7 com.apple.CommonPanels (1.2.5 - 94) /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/CommonPanels.framework/Versions/A/CommonPanels
0x7fff8eccc000 - 0x7fff8ed3cfff com.apple.datadetectorscore (3.0 - 179.4) /System/Library/PrivateFrameworks/DataDetectorsCore.framework/Versions/A/DataDetectorsCore
0x7fff8ed3d000 - 0x7fff8ed59ff7 com.apple.GenerationalStorage (1.0 - 126.1) /System/Library/PrivateFrameworks/GenerationalStorage.framework/Versions/A/GenerationalStorage
0x7fff8ed5a000 - 0x7fff8ed5cfff libCVMSPluginSupport.dylib (??? - ???) /System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libCVMSPluginSupport.dylib
0x7fff8ed6e000 - 0x7fff8ed75fff libcopyfile.dylib (85.1.0 - compatibility 1.0.0) /usr/lib/system/libcopyfile.dylib
0x7fff8ed76000 - 0x7fff8ed84fff com.apple.NetAuth (3.1 - 3.1) /System/Library/PrivateFrameworks/NetAuth.framework/Versions/A/NetAuth
0x7fff8ed93000 - 0x7fff8ee0eff7 com.apple.print.framework.PrintCore (7.1 - 366.3) /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/PrintCore.framework/Versions/A/PrintCore
0x7fff8eefc000 - 0x7fff8fb02fff com.apple.AppKit (6.7.5 - 1138.51) /System/Library/Frameworks/AppKit.framework/Versions/C/AppKit
0x7fff8fc8e000 - 0x7fff8fe62ff7 com.apple.CoreFoundation (6.7.2 - 635.21) /System/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundation
0x7fff8ff00000 - 0x7fff8ff1dff7 com.apple.openscripting (1.3.3 - ???) /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/OpenScripting.framework/Versions/A/OpenScripting
0x7fff8ff48000 - 0x7fff8ff9cfff libFontRegistry.dylib (??? - ???) /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ATS.framework/Versions/A/Resources/libFontRegistry.dylib
0x7fff8ff9d000 - 0x7fff8ff9eff7 libsystem_blocks.dylib (53.0.0 - compatibility 1.0.0) /usr/lib/system/libsystem_blocks.dylib
0x7fff901b0000 - 0x7fff90255fff com.apple.ink.framework (10.7.5 - 113) /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/Ink.framework/Versions/A/Ink
0x7fff90256000 - 0x7fff9026cfff libGL.dylib (??? - ???) /System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGL.dylib
0x7fff90282000 - 0x7fff90282fff com.apple.ApplicationServices (41 - 41) /System/Library/Frameworks/ApplicationServices.framework/Versions/A/ApplicationServices
0x7fff902d0000 - 0x7fff902d4fff libdyld.dylib (195.5.0 - compatibility 1.0.0) /usr/lib/system/libdyld.dylib
0x7fff902d5000 - 0x7fff9036bff7 libvMisc.dylib (325.4.0 - compatibility 1.0.0) /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.framework/Versions/A/libvMisc.dylib
0x7fff9036c000 - 0x7fff9038bfff libresolv.9.dylib (46.1.0 - compatibility 1.0.0) /usr/lib/libresolv.9.dylib
0x7fff903b8000 - 0x7fff903b9fff libdnsinfo.dylib (395.11.0 - compatibility 1.0.0) /usr/lib/system/libdnsinfo.dylib
0x7fff90402000 - 0x7fff904dffef libsystem_c.dylib (763.13.0 - compatibility 1.0.0) /usr/lib/system/libsystem_c.dylib
0x7fff90c89000 - 0x7fff90c9cff7 libCRFSuite.dylib (??? - ???) /usr/lib/libCRFSuite.dylib
0x7fff90c9d000 - 0x7fff90cdfff7 libcommonCrypto.dylib (55010.0.0 - compatibility 1.0.0) /usr/lib/system/libcommonCrypto.dylib
0x7fff90cfd000 - 0x7fff90d04fff libGFXShared.dylib (??? - ???) /System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGFXShared.dylib
0x7fff90d05000 - 0x7fff90d05fff com.apple.audio.units.AudioUnit (1.7.3 - 1.7.3) /System/Library/Frameworks/AudioUnit.framework/Versions/A/AudioUnit
0x7fff90d06000 - 0x7fff90d79fff libstdc++.6.dylib (52.0.0 - compatibility 7.0.0) /usr/lib/libstdc++.6.dylib
0x7fff90d7a000 - 0x7fff90d7afff libkeymgr.dylib (23.0.0 - compatibility 1.0.0) /usr/lib/system/libkeymgr.dylib
0x7fff90da4000 - 0x7fff90dbaff7 com.apple.ImageCapture (7.1.0 - 7.1.0) /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/ImageCapture.framework/Versions/A/ImageCapture
0x7fff90ebd000 - 0x7fff90ed1ff7 com.apple.LangAnalysis (1.7.0 - 1.7.0) /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/LangAnalysis.framework/Versions/A/LangAnalysis
0x7fff90ed2000 - 0x7fff90f3aff7 com.apple.coreui (1.2.2 - 165.11) /System/Library/PrivateFrameworks/CoreUI.framework/Versions/A/CoreUI
0x7fff90f3b000 - 0x7fff90f58fff libxpc.dylib (77.19.0 - compatibility 1.0.0) /usr/lib/system/libxpc.dylib
0x7fff90f59000 - 0x7fff90f85ff7 com.apple.CoreServicesInternal (113.19 - 113.19) /System/Library/PrivateFrameworks/CoreServicesInternal.framework/Versions/A/CoreServicesInternal
0x7fff90f86000 - 0x7fff90f98ff7 libz.1.dylib (1.2.5 - compatibility 1.0.0) /usr/lib/libz.1.dylib
0x7fff90fc4000 - 0x7fff90fd9fff com.apple.speech.synthesis.framework (4.0.74 - 4.0.74) /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/SpeechSynthesis.framework/Versions/A/SpeechSynthesis
0x7fff90fda000 - 0x7fff90fdcff7 com.apple.print.framework.Print (7.4 - 247.3) /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/Print.framework/Versions/A/Print
0x7fff91023000 - 0x7fff91107ff7 com.apple.CoreServices.OSServices (478.50 - 478.50) /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/OSServices.framework/Versions/A/OSServices
0x7fff91108000 - 0x7fff911a2ff7 com.apple.SearchKit (1.4.0 - 1.4.0) /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/SearchKit.framework/Versions/A/SearchKit
0x7fff911a3000 - 0x7fff911e4fff com.apple.QD (3.40.1 - ???) /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/QD.framework/Versions/A/QD
0x7fff912ad000 - 0x7fff913a2fff libiconv.2.dylib (7.0.0 - compatibility 7.0.0) /usr/lib/libiconv.2.dylib
0x7fff913a3000 - 0x7fff913a8fff com.apple.OpenDirectory (10.7 - 146) /System/Library/Frameworks/OpenDirectory.framework/Versions/A/OpenDirectory
0x7fff913a9000 - 0x7fff913a9fff libOpenScriptingUtil.dylib (??? - ???) /usr/lib/libOpenScriptingUtil.dylib
0x7fff9146a000 - 0x7fff914d5ff7 com.apple.framework.IOKit (2.0 - ???) /System/Library/Frameworks/IOKit.framework/Versions/A/IOKit
0x7fff914e4000 - 0x7fff914e9fff libGIF.dylib (??? - ???) /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ImageIO.framework/Versions/A/Resources/libGIF.dylib
0x7fff914ea000 - 0x7fff91513fff libJPEG.dylib (??? - ???) /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ImageIO.framework/Versions/A/Resources/libJPEG.dylib
0x7fff91868000 - 0x7fff9186cfff libmathCommon.A.dylib (2026.0.0 - compatibility 1.0.0) /usr/lib/system/libmathCommon.A.dylib
0x7fff91924000 - 0x7fff91a08e5f libobjc.A.dylib (228.0.0 - compatibility 1.0.0) /usr/lib/libobjc.A.dylib
0x7fff91a09000 - 0x7fff91cfeff7 com.apple.security (7.0 - 55148.6) /System/Library/Frameworks/Security.framework/Versions/A/Security
0x7fff91cff000 - 0x7fff91d3efff com.apple.AE (527.7 - 527.7) /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/AE.framework/Versions/A/AE
0x7fff91d42000 - 0x7fff91ee2ff7 com.apple.QuartzCore (1.7 - 270.5) /System/Library/Frameworks/QuartzCore.framework/Versions/A/QuartzCore
0x7fff91ee3000 - 0x7fff91ee4fff libDiagnosticMessagesClient.dylib (??? - ???) /usr/lib/libDiagnosticMessagesClient.dylib
0x7fff91ee5000 - 0x7fff91ff1fef libcrypto.0.9.8.dylib (49.0.0 - compatibility 0.9.8) /usr/lib/libcrypto.0.9.8.dylib
0x7fff91ff2000 - 0x7fff91ff5fff com.apple.help (1.3.2 - 42) /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/Help.framework/Versions/A/Help
0x7fff91ff6000 - 0x7fff91ff6fff com.apple.vecLib (3.7 - vecLib 3.7) /System/Library/Frameworks/vecLib.framework/Versions/A/vecLib
0x7fff91ff7000 - 0x7fff92005ff7 libkxld.dylib (??? - ???) /usr/lib/system/libkxld.dylib
0x7fff9227f000 - 0x7fff922a7fff com.apple.PerformanceAnalysis (1.11 - 11) /System/Library/PrivateFrameworks/PerformanceAnalysis.framework/Versions/A/PerformanceAnalysis
0x7fff92434000 - 0x7fff9243bff7 com.apple.CommerceCore (1.0 - 17) /System/Library/PrivateFrameworks/CommerceKit.framework/Versions/A/Frameworks/CommerceCore.framework/Versions/A/CommerceCore
0x7fff9243c000 - 0x7fff9243fff7 com.apple.securityhi (4.0 - 1) /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/SecurityHI.framework/Versions/A/SecurityHI
0x7fff92483000 - 0x7fff924a9fff com.apple.framework.familycontrols (3.0 - 300) /System/Library/PrivateFrameworks/FamilyControls.framework/Versions/A/FamilyControls
0x7fff927ea000 - 0x7fff927ebfff liblangid.dylib (??? - ???) /usr/lib/liblangid.dylib
0x7fff9287f000 - 0x7fff928d7ff7 libTIFF.dylib (??? - ???) /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ImageIO.framework/Versions/A/Resources/libTIFF.dylib
0x7fff928d8000 - 0x7fff92933ff7 com.apple.opencl (2.0.19 - 2.0.19) /System/Library/Frameworks/OpenCL.framework/Versions/A/OpenCL
0x7fff92934000 - 0x7fff9296efe7 com.apple.DebugSymbols (2.1 - 87) /System/Library/PrivateFrameworks/DebugSymbols.framework/Versions/A/DebugSymbols
0x7fff9296f000 - 0x7fff929e5ff7 libc++.1.dylib (28.4.0 - compatibility 1.0.0) /usr/lib/libc++.1.dylib
0x7fff92a0f000 - 0x7fff92a1cfff libCSync.A.dylib (600.0.0 - compatibility 64.0.0) /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/CoreGraphics.framework/Versions/A/Resources/libCSync.A.dylib
0x7fff92a1d000 - 0x7fff92a71ff7 com.apple.ScalableUserInterface (1.0 - 1) /System/Library/Frameworks/QuartzCore.framework/Versions/A/Frameworks/ScalableUserInterface.framework/Versions/A/ScalableUserInterface
0x7fff92d9a000 - 0x7fff92d9bff7 libremovefile.dylib (21.1.0 - compatibility 1.0.0) /usr/lib/system/libremovefile.dylib
0x7fff93205000 - 0x7fff9327bfff com.apple.CoreSymbolication (2.2 - 73.2) /System/Library/PrivateFrameworks/CoreSymbolication.framework/Versions/A/CoreSymbolication
0x7fff9338e000 - 0x7fff93602fff com.apple.CoreImage (7.99.1 - 1.0.1) /System/Library/Frameworks/QuartzCore.framework/Versions/A/Frameworks/CoreImage.framework/Versions/A/CoreImage
0x7fff93603000 - 0x7fff9360cff7 libsystem_notify.dylib (80.1.0 - compatibility 1.0.0) /usr/lib/system/libsystem_notify.dylib
0x7fff9360d000 - 0x7fff93624fff com.apple.MultitouchSupport.framework (231.4 - 231.4) /System/Library/PrivateFrameworks/MultitouchSupport.framework/Versions/A/MultitouchSupport
0x7fff9369b000 - 0x7fff9369bfff com.apple.CoreServices (53 - 53) /System/Library/Frameworks/CoreServices.framework/Versions/A/CoreServices
0x7fff936c8000 - 0x7fff936cbfff libRadiance.dylib (??? - ???) /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ImageIO.framework/Versions/A/Resources/libRadiance.dylib
0x7fff936d9000 - 0x7fff93719ff7 libcups.2.dylib (2.9.0 - compatibility 2.0.0) /usr/lib/libcups.2.dylib
0x7fff93761000 - 0x7fff937adff7 com.apple.SystemConfiguration (1.11.3 - 1.11) /System/Library/Frameworks/SystemConfiguration.framework/Versions/A/SystemConfiguration
0x7fff937ae000 - 0x7fff937b4ff7 libunwind.dylib (30.0.0 - compatibility 1.0.0) /usr/lib/system/libunwind.dylib
0x7fff937b5000 - 0x7fff93811ff7 com.apple.HIServices (1.21 - ???) /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/HIServices.framework/Versions/A/HIServices
0x7fff93812000 - 0x7fff93818fff libmacho.dylib (800.0.0 - compatibility 1.0.0) /usr/lib/system/libmacho.dylib
0x7fff93819000 - 0x7fff9384cff7 com.apple.GSS (2.2 - 2.0) /System/Library/Frameworks/GSS.framework/Versions/A/GSS
0x7fff9384d000 - 0x7fff93857ff7 liblaunch.dylib (392.39.0 - compatibility 1.0.0) /usr/lib/system/liblaunch.dylib
0x7fff93858000 - 0x7fff93865ff7 libbz2.1.0.dylib (1.0.5 - compatibility 1.0.0) /usr/lib/libbz2.1.0.dylib
0x7fff93885000 - 0x7fff939bbfff com.apple.vImage (5.1 - 5.1) /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vImage.framework/Versions/A/vImage
0x7fff939bc000 - 0x7fff939e7ff7 libxslt.1.dylib (3.24.0 - compatibility 3.0.0) /usr/lib/libxslt.1.dylib
0x7fff93a2d000 - 0x7fff93a3cff7 libxar-nossl.dylib (??? - ???) /usr/lib/libxar-nossl.dylib
0x7fff93d63000 - 0x7fff93e65fff libxml2.2.dylib (10.3.0 - compatibility 10.0.0) /usr/lib/libxml2.2.dylib
0x7fff9402e000 - 0x7fff949cca27 com.apple.CoreGraphics (1.600.0 - ???) /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/CoreGraphics.framework/Versions/A/CoreGraphics
0x7fff949cd000 - 0x7fff94e94fff FaceCoreLight (1.4.7 - compatibility 1.0.0) /System/Library/PrivateFrameworks/FaceCoreLight.framework/Versions/A/FaceCoreLight
0x7fff954e6000 - 0x7fff954edfff com.apple.NetFS (4.0 - 4.0) /System/Library/Frameworks/NetFS.framework/Versions/A/NetFS
0x7fff955cf000 - 0x7fff955d3fff libCGXType.A.dylib (600.0.0 - compatibility 64.0.0) /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/CoreGraphics.framework/Versions/A/Resources/libCGXType.A.dylib
0x7fff95648000 - 0x7fff956cbfef com.apple.Metadata (10.7.0 - 627.37) /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/Metadata.framework/Versions/A/Metadata
0x7fff956cc000 - 0x7fff956d1fff libcache.dylib (47.0.0 - compatibility 1.0.0) /usr/lib/system/libcache.dylib
0x7fff956d2000 - 0x7fff956fbfff com.apple.CoreVideo (1.7 - 70.3) /System/Library/Frameworks/CoreVideo.framework/Versions/A/CoreVideo
0x7fff95743000 - 0x7fff95745fff com.apple.TrustEvaluationAgent (2.0 - 1) /System/Library/PrivateFrameworks/TrustEvaluationAgent.framework/Versions/A/TrustEvaluationAgent
0x7fff95787000 - 0x7fff957c7fe7 libGLImage.dylib (??? - ???) /System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGLImage.dylib
0x7fff95802000 - 0x7fff95b1efff com.apple.CoreServices.CarbonCore (960.25 - 960.25) /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/CarbonCore.framework/Versions/A/CarbonCore
0x7fff9611d000 - 0x7fff9611dfff com.apple.Cocoa (6.6 - ???) /System/Library/Frameworks/Cocoa.framework/Versions/A/Cocoa
0x7fff9611e000 - 0x7fff9613efff libsystem_kernel.dylib (1699.32.7 - compatibility 1.0.0) /usr/lib/system/libsystem_kernel.dylib
0x7fff9632c000 - 0x7fff963cefff com.apple.securityfoundation (5.0 - 55116) /System/Library/Frameworks/SecurityFoundation.framework/Versions/A/SecurityFoundation
0x7fff963cf000 - 0x7fff963daff7 libc++abi.dylib (14.0.0 - compatibility 1.0.0) /usr/lib/libc++abi.dylib

External Modification Summary:
Calls made by other processes targeting this process:
task_for_pid: 2
thread_create: 0
thread_set_state: 0
Calls made by this process:
task_for_pid: 0
thread_create: 0
thread_set_state: 0
Calls made by all processes on this machine:
task_for_pid: 29684
thread_create: 0
thread_set_state: 0

VM Region Summary:
ReadOnly portion of Libraries: Total=152.0M resident=86.4M(57%) swapped_out_or_unallocated=65.6M(43%)
Writable regions: Total=129.5M written=26.5M(20%) resident=28.4M(22%) swapped_out=4K(0%) unallocated=101.0M(78%)

REGION TYPE VIRTUAL
=========== =======
CG backing stores 164K
CG shared images 3416K
CoreGraphics 16K
CoreServices 2588K
MALLOC 45.0M
MALLOC guard page 48K
Memory tag=242 12K
STACK GUARD 24K
Stack 66.5M
VM_ALLOCATE 16.1M
__CI_BITMAP 80K
__DATA 13.0M
__IMAGE 528K
__LINKEDIT 51.1M
__TEXT 100.9M
__UNICODE 544K
mapped file 32.3M
shared memory 308K
=========== =======
TOTAL 332.6M

Model: MacBookAir3,1, BootROM MBA31.0061.B07, 2 processors, Intel Core 2 Duo, 1.4 GHz, 4 GB, SMC 1.67f10
Graphics: NVIDIA GeForce 320M, NVIDIA GeForce 320M, PCI, 256 MB
Memory Module: BANK 0/DIMM0, 2 GB, DDR3, 1067 MHz, 0x80AD, 0x484D54333235533642465238412D47372020
Memory Module: BANK 1/DIMM0, 2 GB, DDR3, 1067 MHz, 0x80AD, 0x484D54333235533642465238412D47372020
AirPort: spairport_wireless_card_type_airport_extreme (0x14E4, 0xD1), Broadcom BCM43xx 1.0 (5.106.198.19.22)
Bluetooth: Version 4.0.8f17, 2 service, 11 devices, 1 incoming serial ports
Network Service: AirPort, AirPort, en0
Serial ATA Device: APPLE SSD TS128C, 121,33 GB
USB Device: FaceTime Camera (Built-in), apple_vendor_id, 0x850a, 0x24600000 / 2
USB Device: BRCM2070 Hub, 0x0a5c (Broadcom Corp.), 0x4500, 0x04500000 / 3
USB Device: Bluetooth USB Host Controller, apple_vendor_id, 0x821b, 0x04530000 / 5
USB Device: Apple Internal Keyboard / Trackpad, apple_vendor_id, 0x0243, 0x04300000 / 2
]]>
http://bugs.povray.org/task/320 http://bugs.povray.org/task/320
FS#335: macro works in variable but not in array Mike H Sat, 06 Feb 2016 02:01:05 +0000
#declare pavement_object = array[2]
{
object {trash_can_macro() scale 3/4 translate -x * 1/2},
object {potted_plant_macro(_CT_rand2) scale 3/4 scale 3/2 translate -x * 1/2}
}

This does work:

#declare trash_can_object = object {trash_can_macro()};
#declare potted_plant_object = object {potted_plant_macro(_CT_rand2)};
#declare pavement_object = array[2]
{
object {trash_can_object scale 3/4 translate -x * 1/2},
object {potted_plant_object scale 3/4 scale 3/2 translate -x * 1/2}
}

Logically, I cannot see a reason for this to be so.]]>
http://bugs.povray.org/task/335 http://bugs.povray.org/task/335
FS#243: Sphere sweep behaves wrong when scaled Simon Sun, 27 May 2012 18:02:54 +0000
The effect is present for all three types of splines.


I'm attaching a test scene and the rendering result. The saving of the object with #declare has no effect, I just wanted to show both transformed and untransformed version.

I don't think this issue is related to other artifacts occuring with sphere_sweep, as it is obviously an issue of the internal bounding box.
]]>
http://bugs.povray.org/task/243 http://bugs.povray.org/task/243
FS#85: Aspect ratio issues Juha Nieminen Mon, 22 Mar 2010 16:28:43 +0000
When rendering an image, there are actually three aspect ratios involved:

1) The aspect ratio of the camera, set with the up and right vectors.

2) The aspect ratio of the rendered image, set with the +W and +H parameters.

3) The aspect ratio of the pixels in the intended target medium. While this is very often 1:1, it's definitely not always so (anamorphic images are common in some media, such as DVDs).

The aspect ratio of the camera does not (and arguably should not, although some people might disagree) define the aspect ratio of the image resolution, but the aspect ratio of the image as shown on the final medium. In other words, it defines how the image should be displayed, not what the resolution of the image should be.

This of course means that the aspect ratio of the target medium pixels has to be taken into account when specifying the image resolution. If the target medium pixels are not 1:1 (eg. when rendering for a medium with non-square pixels, or when rendering an anamorphic image eg. for a DVD), the proper resolution has to be specified so that the aspect ratio of the displayed image remains the same as the one specified in the camera block.

This isn't generally a problem. It usually goes like "my screen is physically 4:3, so I design my scene for that aspect ratio, but the resolution of my screen is mxn which is not 4:3, but that doesn't matter; I just render with +Wm +Hn and I get a correct image for my screen".

However, problems start when someone renders an image using an image aspect ratio / pixel aspect ratio combination which does not match the camera aspect ratio. By far the most common situation is rendering a scene with a 4:3 camera for a screen with square pixels but with a non-4:3 resolution (most typically 16:9 or 16:10 nowadays). The image will be horizontally
stretched.

In a few cases the effect is the reverse: The scene (and thus the camera) has been designed for some less-typical aspect ratio, eg. a cinematic 2.4:1 aspect ratio, but then someone renders the image with a 4:3 resolution. The resulting image will be horizontally squeezed.

In a few cases this is actually the correct and desired behavior, ie. when you are really rendering the image in an anamorphic format (eg. for a DVD). However, often it's an inadverted mistake.

Some people argue that this default behavior should be changed. However, there are also good arguments why it should //not// be changed. Some argue that POV-Ray should have more features (at the SDL level, at the command-line level or both) to control this behavior.

There are several possible situations, which is why this issue is so complicated. These situations may include:

- The scene author doesn't really care what aspect ratio is used to render the image, even if it means that additional parts of the scenery become visible or parts are cropped away when using a different aspect ratio than what he used.

In this case the choice of camera aspect ratio should be up to the person who renders the image, and thus selectable on the command-line. However, he should have an easy choice of how changing the aspect ratio affects the image: Should it extend the viewing range, or should it crop part of it, compared to the original?

And this, of course, while still making it possible to render for an anamorphic format.

- The author wants to support different aspect ratios, but he wants to control precisely how it affects the composition of the image. Maybe he never wants anything cropped away within certain limits, but instead the image should always be extended in whichever direction is necessary due to the aspect ratio. Or maybe he wants to allow cropping the image, but only up to a certain point. Or whatever.

In this case the choice of camera aspect ratio should be up to the author, and thus selectable in the scene file, while still allowing some changes from the command-line.

- The author designed his scene for a precise aspect ratio and nothing else, and doesn't want the image to be rendered in any other aspect ratio. Maybe he used some very peculiar aspect ratio (eg. something like 1:2, ie. twice as tall as wide) for artistic composition reasons, and wants the image rendered with that aspect ratio, period.

Perhaps the author should be able to completely forbid the change of camera aspect ratio in the command-line.

Of course anamorphic rendering should still be supported for targets with a different pixel aspect ratio.

=====Possible solution=====

This solution does not necessarily address all the problems described above perfectly, but could be a good starting point for more ideas:

Add a way to specify in the camera block minimum and maximum limits for the horizontal and vertical viewing angles (and if any of them is unspecified, it's unlimited). Of course for this to be useful in any way, there should also be a way to change the camera and pixel aspect ratios from the command line.

The idea with this is that the author of the scene can use these angle limits to define a rectangular "protected zone" at the center of the view, using the minimum angle limits. In other words, no matter how the camera aspect ratio is modified, the horizontal and/or vertical viewing angles will never get smaller than these minimum angles. This ensures that the image will never be cropped beyond a certain limit, only extended either horizontally or vertically to ensure that the "protected zone" always remains fully visible regardless of what aspect ratio is used.

The maximum angles can be used for the reverse: They ensure that no scenery beyond a certain point will ever become visible, no matter what aspect ratio is used. This can be used to make sure that unmodelled parts of the scene never come into view. Thus the image will always be cropped to ensure this, depending on the aspect ratio.

I'm not completely sure what should be done if //both// minimum and maximum angles are specified, and the user specifies an aspect ratio which would break these limits. An error message could be a possibility. At least it would be a way for the author to make sure his scene is never rendered using an aspect ratio he doesn't want. He can use these angle limits to give some leeway how much the aspect ratio can change, to an extent, or he could even force a specific aspect ratio and nothing else (by specifying that both the minimum and maximum angles are the same).

So in short:

- Add a "minimum/maximum horizontal/vertical angles" feature to the camera block. These can be used to define a "protected zone" in the image which must not be breached by command-line options.

- Add a command-line syntax to change the camera aspect ratio (which automatically obeys the "protected zone" settings). Could perhaps give an error message if the command-line options break the limits in the scene camera.

- Add a command-line syntax to specify a pixel aspect ratio other than 1:1. This can be used to render anamorphic versions of the image on purpose (iow. not by mistake).

This can probably be made backwards-compatible in that if none of these new features are used, the behavior could be the same as currently (or at least similar).
]]>
http://bugs.povray.org/task/85 http://bugs.povray.org/task/85
FS#264: Improve precision of photon direction information Christoph Lipka Fri, 04 Jan 2013 23:39:42 +0000
* Encode the latitude (-pi/2 to +pi/2) into LatCount=226 distinct values (= 256*sqrt(pi)/2) rounded to the next even number) from 0 to LatCount-1 using


latCode = (int)((LatCount-1) * (lat/M_PI + 0.5) + 0.5)


* For each latitude code, define a specific number of encodable longitude values, LngCount[latCode] = approx. cos(lat)*pi*65536/(2*LatCount); this can be a pre-computed table, and may need slight tweaking for optimum use of the code space. Encode the longitude (-pi to +pi) into a value from 0 to (LngCount[lat]-1) using


LC = LngCount[latCode];
lngCode = (int)(LC * (lng/(2*M_PI) + 0.5) + 0.5) % LC;


* Besides LngCount[latCode], also store the sum of LngCount[i] with i < latCode as LatBase[latCode]; encode the direction as


dirCode = LatBase[latCode] + lngCode;


* For decoding, a simple lookup from a precomputed list of directions could be used (2^15 entries, i.e. one hemisphere, will suffice). To conserve space, direction vectors could be scaled by (2^N-1) and stored as (N+1)-bit signed integer triples rather than floating point values; due to the limited precision of the lat/long information, 8 bits per coordinate might be enough, giving a table size of 96k. A full double-precision table would require 786k instead.
]]>
http://bugs.povray.org/task/264 http://bugs.povray.org/task/264
FS#245: POVMS message queue can fill up with GB of data for very fast renders Thorsten Fröhlich Sat, 16 Jun 2012 14:42:44 +0000 ]]> http://bugs.povray.org/task/245 http://bugs.povray.org/task/245 FS#334: HLS colors Mike H Sat, 23 Jan 2016 00:21:39 +0000
Currently, you can use a macor to convert individual colors. But this does not work in color_maps where you want smooth gradations/interpolations between two or several colors.]]>
http://bugs.povray.org/task/334 http://bugs.povray.org/task/334
FS#282: Unrendered region should be transparent, not black Timwi Sun, 24 Mar 2013 13:12:29 +0000
Expected behaviour is for it to be transparent.]]>
http://bugs.povray.org/task/282 http://bugs.povray.org/task/282
FS#20: render window behavior Tim Attwood Sun, 10 May 2009 02:44:14 +0000 http://bugs.povray.org/task/20 http://bugs.povray.org/task/20