POV-Ray : Newsgroups : povray.unofficial.patches : scenefile parsing : Re: scenefile parsing Server Time
8 Jul 2024 17:10:53 EDT (-0400)
  Re: scenefile parsing  
From: Ron Parker
Date: 26 Feb 2002 15:47:59
Message: <slrna7nt42.2vd.ron.parker@fwi.com>
On Tue, 26 Feb 2002 12:09:18 +0000, Grey Knight wrote:
> The idea is that the .pbz file will be much smaller than the .pov file,
> so we can keep only the pbz data in memory, and translate it to text
> when required by the editor or parser.

Well, you could always use a version of POV that doesn't need to keep the
.pov file in memory. :)

I don't think the editor would take too well to this sort of thing, actually.
The parser might be okay with it with some small modifications, though.

However, most .pov files that you would actually load into the editor are
fairly small in size anyway, and files that are just being rendered (but not
edited) are never actually in memory, so I can't see that you'd see much 
improvement with these changes.

-- 
#macro R(P)z+_(P)_(P)_(P+1)_(P+1)+z#end#macro Q(C,T)bicubic_patch{type 1u_steps
6v_steps 6R(1)R(3)R(5)R(7)pigment{rgb z}}#end#macro _(Y)#local X=asc(substr(C,Y
,1))-65;<T+mod(X,4)div(X,4)9>-2#end#macro O(T)Q("ABEFUQWS",T)Q("WSXTLOJN",T)#
end O(0)O(3)Q("JNKLCGCD",0)light_source{x 1}// ron### [at] povrayorg


Post a reply to this message

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