POV-Ray : Newsgroups : povray.general : Unicode ; PAL Animation Server Time
5 Nov 2024 01:22:44 EST (-0500)
  Unicode ; PAL Animation (Message 1 to 5 of 5)  
From: Rafal 'Raf256' Maj
Subject: Unicode ; PAL Animation
Date: 25 Aug 2003 00:20:07
Message: <Xns93E2406D89A97raf256com@204.213.191.226>
Hi, I have two quick problems that comed up during writting my "Matrix" 
animation.

1) How can I use unicode, i.e. I have to use my country-specyfic character, 
that is present in encodings iso-8859-2 and/or windows-1250 
Ofcourse it is present in all popular fonts like verdana.
And how can I use this character in text{} ?

2) I have image that looks good rendered at 320x240 
What .ini width/height schould I choose, and what aspect_ratio for camera 
to render same animation for PAL standard (TV) ? I want i.e. sphere { 0 1 }
to look on TV like a circle, not elipse.

Btw. splines are greate way to animate things :) 

Tia


-- 
#macro g(U,V)(.4*abs(sin(9*sqrt(pow(x-U,2)+pow(y-V,2))))*pow(1-min(1,(sqrt(
pow(x-U,2)+pow(y-V,2))*.3)),2)+.9)#end#macro p(c)#if(c>1)#local l=mod(c,100
);g(2*div(l,10)-8,2*mod(l,10)-8)*p(div(c,100))#else 1#end#end light_source{
y 2}sphere{z*20 9pigment{function{p(26252423)*p(36455644)*p(66656463)}}}//M


Post a reply to this message

From: Mike Williams
Subject: Re: Unicode ; PAL Animation
Date: 25 Aug 2003 01:56:09
Message: <tMbHtAAZRaS$EwRu@econym.demon.co.uk>
Wasn't it Rafal 'Raf256' Maj who wrote:
>
>Hi, I have two quick problems that comed up during writting my "Matrix" 
>animation.
>
>1) How can I use unicode, i.e. I have to use my country-specyfic character, 
>that is present in encodings iso-8859-2 and/or windows-1250 
>Ofcourse it is present in all popular fonts like verdana.
>And how can I use this character in text{} ?

POVRay supports Unicode Transformation Format-8. Use
        global_settings {charset utf8}

Iso-8859-2 encodes regional characters differently from unicode, so I
guess that won't work. I'm not familiar with Windows-1250.

>2) I have image that looks good rendered at 320x240 
>What .ini width/height schould I choose, and what aspect_ratio for camera 
>to render same animation for PAL standard (TV) ? I want i.e. sphere { 0 1 }
>to look on TV like a circle, not elipse.

I thought that PAL standard TV was 4:3, which is the same as 320:240.

-- 
Mike Williams
Gentleman of Leisure


Post a reply to this message

From: Hugo Asm
Subject: Re: Unicode ; PAL Animation
Date: 25 Aug 2003 03:00:30
Message: <3f49b40e@news.povray.org>
> What .ini width/height schould I choose, and what aspect_ratio for camera
> to render same animation for PAL standard (TV) ? I want i.e. sphere { 0
1 }
> to look on TV like a circle, not elipse.


Well, on todays computers with TV-out it's somewhat confusing because many
times, there is an automatic compensation for aspect ratio, so 320*240 will
look correct. But if we're talking about "standards" it's not correct. If
you divide 320 with 240, the result is 1.3333333... But on TV you should aim
for 1.2222222.. This means resolutions such as: 704*576  or  352*288. This
assumes you want "full frame" the so called 4:3 aspect ratio.. Widescreen or
movie format is another story.

I admit that even though I've studied this thing somewhat, I'm confused
myself because there is also alternative "standard" resolutions to the above
mentioned, such as 384*288 which equals a 1.3333333 ratio.. The problem is,
with TV-out it's almost always going to look right, because the image is
just cropped automatically to fit the screen. But this is my graphicscard
(Matrox Marvel G450).

Regards,
Hugo


Post a reply to this message

From: sascha
Subject: Re: Unicode ; PAL Animation
Date: 25 Aug 2003 03:36:11
Message: <3f49bc6b@news.povray.org>
Rafal 'Raf256' Maj wrote:

> 2) I have image that looks good rendered at 320x240 
> What .ini width/height schould I choose, and what aspect_ratio for camera 
> to render same animation for PAL standard (TV) ? I want i.e. sphere { 0 1 }
> to look on TV like a circle, not elipse.

Don't confuse aspect-ratio with pixel aspect ratio. Your TV has an AR of 
4:3 or maybe 16:9, but if you like to create a DVD or an VCD/SVCD the 
pixels (which are normally square on a computer monitor) are not square 
anymore. AFAIK a PAL DVD uses a resolution of 720x576 and a PAL VCD 
352x288 pixel, no matter what the screen aspect ratio is (4:3, 16:9 or 
even 2.25:1 widescreen). When using POV-Ray you could set the resolution 
to 352x288 (1.222:1) BUT set the aspect ratio (right and up in the 
camera statement) to 4:3 (1.333:1) - the resulting images will look 
distorted on your monitor, but when encoding to MPEG (tell your codec 
that the aspect ratio should be 4:3!) it should look ok when viewed as VCD.

Some software MPEG players don't support pixel-aspect rations other than 1:1


Post a reply to this message

From: Thorsten Froehlich
Subject: Re: Unicode ; PAL Animation
Date: 25 Aug 2003 04:18:18
Message: <3f49c64a@news.povray.org>
In article <Xns### [at] 204213191226>, "Rafal 'Raf256' Maj"
<spa### [at] raf256com> wrote:

> 2) I have image that looks good rendered at 320x240
> What .ini width/height schould I choose, and what aspect_ratio for camera
> to render same animation for PAL standard (TV) ? I want i.e. sphere { 0 1 }
> to look on TV like a circle, not elipse.

Scroll to the bottom of this page:
<http://www.mir.com/DMG/aspect.html>

For your camera you need to use the values in the "pixel aspect ratio"
column together with the output image sizes in the "frame size" column.

    Thorsten

PS: MPEG-2 on DVDs uses the same frame size as DV tapes do.

____________________________________________________
Thorsten Froehlich, Duisburg, Germany
e-mail: tho### [at] trfde

Visit POV-Ray on the web: http://mac.povray.org


Post a reply to this message

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