POV-Ray : Newsgroups : povray.advanced-users : Maximum amount of variables passed through command line Server Time
31 Oct 2024 16:14:26 EDT (-0400)
  Maximum amount of variables passed through command line (Message 1 to 4 of 4)  
From: SSSUTM
Subject: Maximum amount of variables passed through command line
Date: 26 Oct 2005 02:20:00
Message: <web.435f1ee853f9728336a46a7d0@news.povray.org>
I have a very urgent question. I want to know the maximum amount of
variables I can passed through the command line e.g shapes.pov +w100 +h100
#declare=posx=10 #declare=posY=100. Like posx and posy, how many such
variable declarations can I put in the command line?.Is there a limit or is
it unlimited?

Suppose, there was no restriction, what will be the side effect of pushing
very large amount of variables through the command line, in terms of
processing speed and quality?

I have a second question. I made some models in Moray with very smooth
curves using bezier. But when I exported the model to Povray, the curves
get distorted to such an extent that it was impossible to use it. Is there
any remedy to this?

Thanks in advance


Post a reply to this message

From: Doctor John
Subject: Re: Maximum amount of variables passed through command line
Date: 26 Oct 2005 05:55:35
Message: <435f5297$1@news.povray.org>
"SSSUTM" <nomail@nomail> wrote in message 
news:web.435f1ee853f9728336a46a7d0@news.povray.org...
>... I want to know the maximum amount of
> variables I can passed through the command line e.g shapes.pov +w100 +h100
> #declare=posx=10 #declare=posY=100. Like posx and posy, how many such
> variable declarations can I put in the command line?.Is there a limit or 
> is it unlimited?
AFAIK, it's unlimited; however, it's a lot easier to put everything into a 
.ini file - there's less chance of mastikes and orrers that way :-)

> Suppose, there was no restriction, what will be the side effect of pushing 
> very large amount of variables through the command line, in terms of 
> processing speed and quality?
None whatsoever. The command line is processed before evrything else happens 
(if you see what I mean) and no back-reference is made to it from then on.

> I have a second question. I made some models in Moray with very smooth
> curves using bezier. But when I exported the model to Povray, the curves
> get distorted to such an extent that it was impossible to use it. Is there
> any remedy to this?

Sorry, can't help there. I don't use Moray

John
-- 
Run Fast
Run Free
Run Linux


Post a reply to this message

From: Doctor John
Subject: Re: Maximum amount of variables passed through command line
Date: 26 Oct 2005 06:25:47
Message: <435f59ab$1@news.povray.org>
Oops, need to clarify and I quote:
"On computers running Microsoft Windows XP or later, the maximum length of 
the string that you can use at the command prompt is 8191 characters. On 
computers running Microsoft Windows 2000 or Windows NT 4.0, the maximum 
length of the string that you can use at the command prompt is 2047 
characters."

And for (?all) modern Unices probably around 3Mb characters - see
http://www.accesspdf.com/article.php/2005020713040824

John
-- 
Run Fast
Run Free
Run Linux
"Doctor John" <doc### [at] linuxmailorg> wrote in message 
news:435f5297$1@news.povray.org...
> "SSSUTM" <nomail@nomail> wrote in message 
> news:web.435f1ee853f9728336a46a7d0@news.povray.org...
>>... I want to know the maximum amount of
>> variables I can passed through the command line e.g shapes.pov +w100 
>> +h100
>> #declare=posx=10 #declare=posY=100. Like posx and posy, how many such
>> variable declarations can I put in the command line?.Is there a limit or 
>> is it unlimited?
> AFAIK, it's unlimited; however, it's a lot easier to put everything into a 
> .ini file - there's less chance of mastikes and orrers that way :-)
>
>> Suppose, there was no restriction, what will be the side effect of 
>> pushing very large amount of variables through the command line, in terms 
>> of processing speed and quality?
> None whatsoever. The command line is processed before evrything else 
> happens (if you see what I mean) and no back-reference is made to it from 
> then on.
>
>> I have a second question. I made some models in Moray with very smooth
>> curves using bezier. But when I exported the model to Povray, the curves
>> get distorted to such an extent that it was impossible to use it. Is 
>> there
>> any remedy to this?
>
> Sorry, can't help there. I don't use Moray
>
> John
> -- 
> Run Fast
> Run Free
> Run Linux
>


Post a reply to this message

From: Florian Brucker
Subject: Re: Maximum amount of variables passed through command line
Date: 26 Oct 2005 15:16:55
Message: <435fd627$1@news.povray.org>
I'm not sure what you're using this for, but if you're using it to pass 
some data from a program into the scene, why not write it to a file 
(already in POV-Syntax) and just include that file? It sure's a lot 
easier to handle and more portable, because the maximum length of 
commands varies with different OS's.


HTH,
Florian


Post a reply to this message

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