POV-Ray : Newsgroups : povray.bugreports : alpha.10064268 outputting strings : alpha.10064268 outputting strings Server Time
15 Aug 2022 18:55:16 EDT (-0400)
  alpha.10064268 outputting strings  
From: jr
Date: 16 Jun 2020 10:10:01
Message: <web.5ee8d25356643f3f4d00143e0@news.povray.org>
hi,

thought I had read that strings, in 3.8, are no longer limited to 256 characters
length, however, cannot find that reference now.

the (edited) output below is debug info about a quadtree.  I build the lists of
points in the nodes' "buckets", for display, in a string with '#local S =
concat(S,...);'.

the list for node #22 is truncated, and the newline "swallowed", whereas node
#35's list is printed in full.

the tree has 100+ nodes and truncation occurs for more than half of nodes (with
points).

so what is the status of strings in 3.8?  does the 256 char limit still apply?



Persistence of Vision(tm) Ray Tracer Version 3.8.0-alpha.10064268.unofficial
....
==== [Parsing...] ==========================================================
-----[quadtree dump]----------------------------------------------------
          root node id: 1
             area from: <-5.0000, -5.0000>
                    to: <5.0000, 5.0000>
               # nodes: 125
           bucket size: 10
              # points: 500
....
                bucket: <-3.8206, -4.8561, 0.0000>
   <-4.4137, -3.8171, 0.0000>
   <-4.8114, -4.8691, 0.0000>
   <-4.1970, -4.0342, 0.0000>
   <-4.7922, -4...
               node id: 23
....
                bucket: <1.3956, -4.6061, 0.0000>
   <1.7214, -4.7567, 0.0000>
   <2.3263, -4.5134, 0.0000>
   <1.8115, -4.9289, 0.0000>
   <2.0349, -4.3726, 0.0000>
   <2.4509, -4.1583, 0.0000>

               node id: 36
....



(also posting a couple of search results from the same tree in p.b.image)


regards, jr.


Post a reply to this message

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