POV-Ray : Newsgroups : povray.beta-test : 3.7 RC6. Text object. Documented internal variant does not work. Server Time
19 Apr 2024 10:37:30 EDT (-0400)
  3.7 RC6. Text object. Documented internal variant does not work. (Message 1 to 5 of 5)  
From: William F Pokorny
Subject: 3.7 RC6. Text object. Documented internal variant does not work.
Date: 27 Dec 2012 08:56:33
Message: <50dc5391$1@news.povray.org>
Hello, I believe I've stumbled upon an inconsistency between the wiki 
documentation and the 3.7 RC6 implementation of the text object.

Thanks,
Bill P.

//
// The wiki at http://wiki.povray.org/content/Reference:Text says :
//
//In version 3.7 several fonts were built-in, consequently,
//the following alternate syntax is available:
//
//TEXT_OBECT:
//  text {
//    internal Font_Number "String_of_Text"
// ...

// However, the internal option does not appear to work and I do not see
// support for it in parse.cpp. Unsure if missing function or the
// internal option was pulled and documentation needs to be updated?

// File 'the.pov' line 39: Parse Error: Expected 'ttf', internal
// found instead

//------------------------------------
global_settings {
     assumed_gamma 1.0
     ambient_light srgb <1.0,1.0,1.0>
}
#declare Grey85 = rgb <0.8500,0.8500,0.8500>;
#declare Cabbage_Pont = srgb <0.2471,0.2980,0.2275>;
#declare White = srgb <1.0,1.0,1.0>;
#declare Buddha_Gold = srgb <0.7569,0.6275,0.0157>;
background { color Grey85 }
plane { <0.0,1.0,0.0>, -1.0 pigment { Cabbage_Pont }
}
#declare Camera35 = camera {
     perspective
     location <0.0,2.0,-20.0>
     sky <0.0,1.0,0.0>
     angle 35.0
     right x*(image_width/image_height)
     up y
     look_at <0.0,0.0,0.0>
}
#declare Light5050n50 = light_source { <50.0,50.0,-50.0>, White }
#declare Text22 = text {
     internal 1       "Fails"
//  ttf "timrom.ttf" "Works"
     0.2000, 0.1*x
     pigment { color Buddha_Gold }
}

light_source { Light5050n50 }
camera { Camera35 }
object { Text22 }
//------------------------------------


Post a reply to this message

From: Le Forgeron
Subject: Re: 3.7 RC6. Text object. Documented internal variant does not work.
Date: 27 Dec 2012 09:33:57
Message: <50dc5c55@news.povray.org>
Le 27/12/2012 14:56, William F Pokorny nous fit lire :
> Hello, I believe I've stumbled upon an inconsistency between the wiki
> documentation and the 3.7 RC6 implementation of the text object.

It's normal, it's for the post 3.7RC6 version.
Relax and enjoy the blinking lights.


Post a reply to this message

From: James Holsenback
Subject: Re: 3.7 RC6. Text object. Documented internal variant does not work.
Date: 27 Dec 2012 09:51:52
Message: <50dc6088$1@news.povray.org>
On 12/27/2012 08:56 AM, William F Pokorny wrote:
> Hello, I believe I've stumbled upon an inconsistency between the wiki
> documentation and the 3.7 RC6 implementation of the text object.

Sorry about that ... but from time to time the wiki is just a bit ahead 
of the curve. As pointed out RC7 implements that variant.


Post a reply to this message

From: clipka
Subject: Re: 3.7 RC6. Text object. Documented internal variant does not work.
Date: 29 Dec 2012 10:45:36
Message: <50df1020@news.povray.org>
Am 27.12.2012 15:51, schrieb James Holsenback:
> On 12/27/2012 08:56 AM, William F Pokorny wrote:
>> Hello, I believe I've stumbled upon an inconsistency between the wiki
>> documentation and the 3.7 RC6 implementation of the text object.
>
> Sorry about that ... but from time to time the wiki is just a bit ahead
> of the curve. As pointed out RC7 implements that variant.

It should be noted that this is only a preliminary solution to have the 
benchmark run without installing POV-Ray. Future versions may lack this 
mechanism.

Scene files (other than the benchmark) should continue to reference the 
external font files, which will continue to be available.


Post a reply to this message

From: James Holsenback
Subject: Re: 3.7 RC6. Text object. Documented internal variant does not work.
Date: 29 Dec 2012 11:16:51
Message: <50df1773$1@news.povray.org>
On 12/29/2012 10:45 AM, clipka wrote:
> Am 27.12.2012 15:51, schrieb James Holsenback:
>> On 12/27/2012 08:56 AM, William F Pokorny wrote:
>>> Hello, I believe I've stumbled upon an inconsistency between the wiki
>>> documentation and the 3.7 RC6 implementation of the text object.
>>
>> Sorry about that ... but from time to time the wiki is just a bit ahead
>> of the curve. As pointed out RC7 implements that variant.
>
> It should be noted that this is only a preliminary solution to have the
> benchmark run without installing POV-Ray. Future versions may lack this
> mechanism.
>
> Scene files (other than the benchmark) should continue to reference the
> external font files, which will continue to be available.
>
done: http://wiki.povray.org/content/Reference:Text


Post a reply to this message

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