POV-Ray : Newsgroups : povray.general : chr(0) problem : Re: chr(0) problem Server Time
6 Aug 2024 20:21:46 EDT (-0400)
  Re: chr(0) problem  
From: Christopher James Huff
Date: 28 Feb 2002 11:58:07
Message: <chrishuff-09342C.11580228022002@netplex.aussie.org>
In article <3c7e5652@news.povray.org>, "Gleb" <gk1### [at] sotonacuk> wrote:

> Same question: :is graphic portability more complex thing? Sorry, if 
> the question looks stupid and/or has well-known answer. I just want 
> to get the real reason.

Graphics are completely platform dependant...the only standard interface 
is for unstyled text. There is no standard way of drawing a pixel on the 
screen, these facilities are provided by the operating system.
There *are* standard interfaces for writing binary files, but there is 
no guarantee that a binary file will be readable on platforms other than 
the one it was created on. The only way to guarantee that is to write 
things byte by byte, so the exact order and format of the data is known. 
The POV language isn't really capable of handling this right now...it'd 
probably require reworking the file I/O syntax, and because of the 
simplifications required by the POV language, it probably wouldn't be 
useful for interacting with other programs.

-- 
Christopher James Huff <chr### [at] maccom>
POV-Ray TAG e-mail: chr### [at] tagpovrayorg
TAG web site: http://tag.povray.org/


Post a reply to this message

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