POV-Ray : Newsgroups : povray.unix : passing custom string paramenter : Re: passing custom string paramenter Server Time
2 May 2024 22:09:17 EDT (-0400)
  Re: passing custom string paramenter  
From: bhupesh
Date: 28 Apr 2011 06:15:00
Message: <web.4db93dba47e3fd9b1f4cc48c0@news.povray.org>
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

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