|
|
|
|
|
|
| |
| |
|
|
|
|
| |
| |
|
|
Hi,
I am trying to use PovRay from my java code to create image using dynamic
texture and thus looking to pass file path of texture image while executing pov
script.
However I am not finding, how to do that.
tried Declare=IDENTIFIER=<value>, it takes float value and I want a String with
value file path.
Please help me to achieve it.
Thanks,
Bhupesh
Post a reply to this message
|
|
| |
| |
|
|
From: Jaime Vives Piqueres
Subject: Re: passing custom string paramenter
Date: 26 Apr 2011 10:18:00
Message: <4db6d418@news.povray.org>
|
|
|
| |
| |
|
|
> Hi,
>
> I am trying to use PovRay from my java code to create image using
> dynamic texture and thus looking to pass file path of texture image
> while executing pov script.
>
> However I am not finding, how to do that.
>
> tried Declare=IDENTIFIER=<value>, it takes float value and I want a
> String with value file path.
>
> Please help me to achieve it.
Just think a bit different: you can put that string declaration on a
include file that you create from your Java app, then call POV to render
the scene, which includes it somewhere before it's needed.
--
Jaime Vives Piqueres
La Persistencia de la Ignorancia
http://www.ignorancia.org
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
Jaime Vives Piqueres <jai### [at] ignoranciaorg> wrote:
> > Hi,
> >
> > I am trying to use PovRay from my java code to create image using
> > dynamic texture and thus looking to pass file path of texture image
> > while executing pov script.
> >
> > However I am not finding, how to do that.
> >
> > tried Declare=IDENTIFIER=<value>, it takes float value and I want a
> > String with value file path.
> >
> > Please help me to achieve it.
>
>
> Just think a bit different: you can put that string declaration on a
> include file that you create from your Java app, then call POV to render
> the scene, which includes it somewhere before it's needed.
>
> --
> Jaime Vives Piqueres
>
> La Persistencia de la Ignorancia
> http://www.ignorancia.org
Hi,
Thanks Jaime.
will give that a try, actually we thought about that as well, however just eager
to know if PovRay provides anything to pass argument while executing script, as
it provide for float values.
Bhupesh
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
3.7RC3 allows this:
$ povray Declare=\'foo=\"bar\"\'
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |