|
|
|
|
|
|
| |
| |
|
|
|
|
| |
| |
|
|
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
|
|
| |
| |
|
|
|
|
| |
| |
|
|
In emacs it's possible to put a comment at the beginning of a file,
for example a LaTeX file, that when compiling (with latex), don't compile
this file, but the one specified in the comment.
I wonder if it would be a good idea to add this kind of support to
winpov as well... That is, some special comment at the beginning of the
pov-file would tell povray to not to render this file but the one
specified.
--
#macro N(D)#if(D>99)cylinder{M()#local D=div(D,104);M().5,2pigment{rgb M()}}
N(D)#end#end#macro M()<mod(D,13)-6mod(div(D,13)8)-3,10>#end blob{
N(11117333955)N(4254934330)N(3900569407)N(7382340)N(3358)N(970)}// - Warp -
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
I have been thinking about this problem too... Could you use +I in
the little ini window to get round this?
Andrew.
Mmm... maybe next time I should *try* it _before_ posting the msg?
:^|
"Warp" <war### [at] tagpovrayorg> wrote in message
news:3d8df446@news.povray.org...
> In emacs it's possible to put a comment at the beginning of a
> file, for example a LaTeX file, that when compiling (with latex),
> don't compile this file, but the one specified in the comment.
> I wonder if it would be a good idea to add this kind of support
> to winpov as well... That is, some special comment at the beginning
> of the pov-file would tell povray to not to render this file but
> the one
> specified.
-----BEGIN PGP SIGNATURE-----
Version: PGPfreeware 7.0.3 for non-commercial use <http://www.pgp.com>
iQA/AwUBPY7Z+LEpzUF0Y1JeEQJ/+ACgngzPWZJPe7MFufQ9t+2YsSijfoQAoMI7
MiKyOoe8afzIIxODoUNhoFec
=+mrd
-----END PGP SIGNATURE-----
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Just went and tried this... If you put a +I switch in the INI box
next to the resolution INI (which they kindly added in 3.5 ;-) it
seems to render the correct file - and output to the right place,
etc. Most helpful!
Andrew.
-----BEGIN PGP SIGNATURE-----
Version: PGPfreeware 7.0.3 for non-commercial use <http://www.pgp.com>
iQA/AwUBPY8SDbEpzUF0Y1JeEQJQcQCcDLX+f7nMh/ICWR52GV8ArRrtqtsAn1ag
PzDcHHbdPRPrUYm4A5beOy2K
=Ut4t
-----END PGP SIGNATURE-----
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
|
|