![](/i/fill.gif) |
![](/i/fill.gif) |
|
![](/i/fill.gif) |
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
I'm trying to make a grid system to help with placement (which will be
commented out for the final renderings, of course) but I have no idea how
to do the numbers without having to do them all by hand.
I thought there would be a way to get it to print out the value of the Count
variable, but that's not turning out too well.
Post a reply to this message
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
"dwmitch" <nomail@nomail> wrote:
> I'm trying to make a grid system to help with placement (which will be
> commented out for the final renderings, of course) but I have no idea how
> to do the numbers without having to do them all by hand.
>
> I thought there would be a way to get it to print out the value of the Count
> variable, but that's not turning out too well.
Str() should do it. See documentation, 6.1.7.1.
--
Kaveh
Post a reply to this message
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
I've tried that, but I keep getting an error message. I don't have easy
access to the program now, but something to do with numbers expected or
something like that.
Kaveh wrote:
>"dwmitch" <nomail[at]nomail> wrote:
>
>> I'm trying to make a grid system to help with placement (which will be
>> commented out for the final renderings, of course) but I have no idea how
>> to do the numbers without having to do them all by hand.
>>
>> I thought there would be a way to get it to print out the value of the Count
>> variable, but that's not turning out too well.
>
>Str() should do it. See documentation, 6.1.7.1.
>
>Kaveh
>
Post a reply to this message
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
From: Hughes, B
Subject: Re: Creating a text object from a variable...
Date: 21 Aug 2003 02:36:24
Message: <3f446868@news.povray.org>
|
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
"dwmitch" <nomail@nomail> wrote in message
news:web.3f4445ee3750c9862db2e4420@news.povray.org...
> I've tried that, but I keep getting an error message. I don't have easy
> access to the program now, but something to do with numbers expected or
> something like that.
>
> Kaveh wrote:
> >
> >Str() should do it. See documentation, 6.1.7.1.
Try something like:
#local IterateX=4/3; // 1.333333
text {
ttf "arial.ttf"
// variable identifier, minimum length, decimal places
str(IterateX,0,0),
0,0 // depth, offset
pigment {rgb 1}
}
Post a reply to this message
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
dwmitch <nomail@nomail> wrote:
> I've tried that, but I keep getting an error message. I don't have easy
> access to the program now, but something to do with numbers expected or
> something like that.
A short code demonstrating the error you are getting would be very
helpful.
--
#macro M(A,N,D,L)plane{-z,-9pigment{mandel L*9translate N color_map{[0rgb x]
[1rgb 9]}scale<D,D*3D>*1e3}rotate y*A*8}#end M(-3<1.206434.28623>70,7)M(
-1<.7438.1795>1,20)M(1<.77595.13699>30,20)M(3<.75923.07145>80,99)// - Warp -
Post a reply to this message
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |