POV-Ray : Newsgroups : povray.binaries.images : post_scene_command preview stand-in example : Re: post_scene_command preview stand-in example Server Time
1 Jul 2025 09:33:24 EDT (-0400)
  Re: post_scene_command preview stand-in example  
From: Paolo Gibellini
Date: 27 Jun 2025 16:51:30
Message: <685f0452@news.povray.org>
Il 20/06/2025 13:10, William F Pokorny ha scritto:
> In the recent povray.general thread asking about file handles for output 
> streams I posted an example aimed at cleaner stdout / stderr Unix/Linux 
> output; something cleaner than #debug tends to be as the user sees it. 
> The method made use of the post_scene_command option and it reminded me 
> of some 'jp2a' play.
> 
> Ref:
> https://news.povray.org/povray.general/thread/ 
> %3Cweb.685406abf832fee04d6accde5cc1b6e%40news.povray.org%3E/
> 
> The jp2a utility is available for installation with many Linux/Unix 
> distributions. It converts a jpg image into an ascii representation. 
> IIRC, early versions of POV-Ray had some similar ascii image feature 
> inbuilt.
> 
> The attached 'ascii terminal image' was generated using (*):
> 
> yuqk tmp.pov +w800 +h400 +fj \
> post_scene_command="jp2a --colors --term-fit %o >>/dev/stdout"
> 
> Bill P.
> 
> (*) - post_scene_command requires that [Shellout Security] be set to 
> allowed. The yuqk fork - as installed and run from the 'yuqk' script - 
> makes 'allowed' the default.

Really interesting!

Paolo


Post a reply to this message

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