POV-Ray : Newsgroups : povray.binaries.images : Object Labels Server Time
3 May 2024 07:44:10 EDT (-0400)
  Object Labels (Message 21 to 26 of 26)  
<<< Previous 10 Messages Goto Initial 10 Messages
From: Melody
Subject: Re: Object Labels
Date: 20 Jan 2020 22:05:01
Message: <web.5e266a0028c763ef9da690110@news.povray.org>
"Melody" <nomail@nomail> wrote:
> only way to improve text sharpness is print one letter at a time.
not,
ttf "Arial.ttf" Text .5 0

keeps it sharper than 1


Post a reply to this message

From: Melody
Subject: Re: Object Labels
Date: 21 Jan 2020 02:15:01
Message: <web.5e26a3eb28c763ef9da690110@news.povray.org>
suggest .2 font thickness, or less.
change ydeg to zdeg.
and do something for tilting.

ttf "Arial.ttf" Text .2 0
#if (zdeg) rotate z* zdeg #end


Post a reply to this message


Attachments:
Download 'golfdimples10a.png' (108 KB)

Preview of image 'golfdimples10a.png'
golfdimples10a.png


 

From: Melody
Subject: Re: Object Labels
Date: 21 Jan 2020 02:25:00
Message: <web.5e26a66b28c763ef9da690110@news.povray.org>
i  screw up much as I succeed.
wrong image.


Post a reply to this message


Attachments:
Download 'golfdimples80.png' (121 KB)

Preview of image 'golfdimples80.png'
golfdimples80.png


 

From: Melody
Subject: Re: Object Labels
Date: 21 Jan 2020 21:50:00
Message: <web.5e27b76b28c763ef9da690110@news.povray.org>
if u changed ydeg to zdeg,
auto tilt-correction for left-side display,
 might look something like this.

#macro drwtext()
  #local pnt = rotation(radians(camang/2.04),camup,cameye)*10+campos;
  #local rowh = camang * 0.0036;
  #declare FontSize = .8;
  #local s = array[4] {
    concat("Azimuth     ",str(360-rascension(cameye),0,2)),
    concat("Declination ",str(declination(cameye),0,2)),
    concat("CamAng      ",str(camang,0,1)),
    concat("Time     ",date("%H:%M:%S"))
  }
  #local strtn = 1; // start negative
  #local i = -strtn;
  #while (i < 3)
   #local d = (i*-0.5 - 0.5)*(camang/80);
   label(s[i+strtn],pnt,rowh * i,0,0,0,d)
   #local i = i+1;
  #end
#end


Post a reply to this message

From: Melody
Subject: Re: Object Labels
Date: 21 Jan 2020 22:10:00
Message: <web.5e27bbed28c763ef9da690110@news.povray.org>
higher cam angles with well-behaving text.
and all staying same size.


Post a reply to this message


Attachments:
Download 'well-behaved.png' (115 KB)

Preview of image 'well-behaved.png'
well-behaved.png


 

From: Melody
Subject: Re: Object Labels
Date: 22 Jan 2020 00:45:00
Message: <web.5e27e0a628c763ef9da690110@news.povray.org>
"Melody" <nomail@nomail> wrote:
> higher cam angles with well-behaving text.
> and all staying same size.

 last variable, ImgSize.

  #local imgSzAdj = 640 / image_width;
  #local rowh = camang * 0.0036 * imgSzAdj;
  #declare FontSize = .8 * imgSzAdj;

now it's done.


Post a reply to this message

<<< Previous 10 Messages Goto Initial 10 Messages

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