POV-Ray : Newsgroups : povray.general : fast start render : fast start render Server Time
5 Aug 2024 12:20:36 EDT (-0400)
  fast start render  
From: Rafal 'Raf256' Maj
Date: 22 Sep 2002 08:37:41
Message: <Xns929194C8D17C3raf256com@204.213.191.226>
Hello,
in bigger projects it is often a good idea to split scene into several 
files. I.e. main.pov in including ufo.inc ground.inc cfg.inc

The problem is - that to render entire image while editing ufo.inc You must 
switch to another window, start rendering, and switch back.

This takes only a few seconds, but since this is repeated realy often 
(especialy when no additional editor is used :) it is annoying.

My suggstion - instead of :
ctrl+tab, alt+g, ctrl+tab
  press just
F5

Editor should have option to select/load active project.

What do You think ?

Ofcourse ther is a work-around for this :
in ufo.inc

  #ifndef (PRJ_LOADED_MAIN)
    #include "main.pov"
  #else
    ... entire ufo.inc scene ...
  #end

and in main.pov

  #declare PRJ_LOADED_MAIN=1;
  #include "ufo.inc"
  //...






-- 
#macro g(U,V)(.4*abs(sin(9*sqrt(pow(x-U,2)+pow(y-V,2))))*pow(1-min(1,(sqrt(
pow(x-U,2)+pow(y-V,2))*.3)),2)+.9)#end#macro p(c)#if(c>1)#local l=mod(c,100
);g(2*div(l,10)-8,2*mod(l,10)-8)*p(div(c,100))#else 1#end#end light_source{
y 2}sphere{z*20 9pigment{function{p(26252423)*p(36455644)*p(66656463)}}}//M


Post a reply to this message

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