POV-Ray : Newsgroups : povray.newusers : POV-Ray Language Server Time
14 Nov 2024 08:21:37 EST (-0500)
  POV-Ray Language (Message 1 to 10 of 14)  
Goto Latest 10 Messages Next 4 Messages >>>
From: James
Subject: POV-Ray Language
Date: 14 Jan 1999 15:32:05
Message: <369e5445.0@news.povray.org>
When I first got POV-Ray I wanted to know what language you use to make the
graphics.  If anyone can tell me what it is I would really appreciate it.

James

E-mail: bea### [at] compuvisionnet
ICQ #: 17136867


Post a reply to this message

From: Andrew Cocker
Subject: Re: POV-Ray Language
Date: 14 Jan 1999 20:32:05
Message: <369e9a95.0@news.povray.org>
James wrote in message <369e5445.0@news.povray.org>...
>When I first got POV-Ray I wanted to know what language you use to make the
>graphics.  If anyone can tell me what it is I would really appreciate it.
>
>James
>
>E-mail: bea### [at] compuvisionnet
>ICQ #: 17136867
>
>

Er, I believe it's called 'English'.

Sorry, couldn't resist it ;)

Andy


Post a reply to this message

From: Bob Hughes
Subject: Re: POV-Ray Language
Date: 14 Jan 1999 23:42:23
Message: <369EC73A.41E6D2C8@aol.com>
POV script, it is commonly refered to.
As someone else pointed out (elsewhere), the language for producing the
images (scenes) is both user made and hard coded into the program (known
as keywords).
The user can invent (define) his/her own vocabulary through #declare
statements.
The limiting factor being mostly the language built into POV-Ray, which
is English.
Hope I've shed a little more 'light_source' on the subject.

James wrote:
> 
> When I first got POV-Ray I wanted to know what language you use to make the
> graphics.  If anyone can tell me what it is I would really appreciate it.
> 
> James
> 
> E-mail: bea### [at] compuvisionnet
> ICQ #: 17136867

-- 
 omniVERSE: beyond the universe
  http://members.aol.com/inversez/POVring.htm
=Bob


Post a reply to this message

From: James
Subject: Re: POV-Ray Language
Date: 15 Jan 1999 14:12:41
Message: <369f9329.0@news.povray.org>
What I was wondering was, what TYPE of language is it? Like there is a
language named, "C++".  Is it similar to it or now even close?

James
E-mail: bea### [at] compuvisionnet
ICQ #: 17136867
Homepage: www.geocities.com/SouthBeach/Pointe/2977/james.html (Nothing made
in POV-Ray on my homepage)


Bob Hughes wrote in message <369EC73A.41E6D2C8@aol.com>...
>POV script, it is commonly refered to.
>As someone else pointed out (elsewhere), the language for producing the
>images (scenes) is both user made and hard coded into the program (known
>as keywords).
>The user can invent (define) his/her own vocabulary through #declare
>statements.
>The limiting factor being mostly the language built into POV-Ray, which
>is English.
>Hope I've shed a little more 'light_source' on the subject.
>
>James wrote:
>>
>> When I first got POV-Ray I wanted to know what language you use to make
the
>> graphics.  If anyone can tell me what it is I would really appreciate it.
>>
>> James
>>
>> E-mail: bea### [at] compuvisionnet
>> ICQ #: 17136867
>
>--
> omniVERSE: beyond the universe
>  http://members.aol.com/inversez/POVring.htm
>=Bob


Post a reply to this message

From: Ken
Subject: Re: POV-Ray Language
Date: 15 Jan 1999 14:23:12
Message: <369F951F.A08BA90C@pacbell.net>
James wrote:

> What I was wondering was, what TYPE of language is it? Like there is a
> language named, "C++".  Is it similar to it or now even close?
>
> James

Pov-Ray is currently written in C. The next major re-write of
the program will be done in C++.

--
Ken Tyler

tyl### [at] pacbellnet


Post a reply to this message

From: Ron Parker
Subject: Re: POV-Ray Language
Date: 15 Jan 1999 14:45:40
Message: <369f9ae4.0@news.povray.org>
On Fri, 15 Jan 1999 13:06:10 -0600, James <bea### [at] compuvisionnet> wrote:
>What I was wondering was, what TYPE of language is it? Like there is a
>language named, "C++".  Is it similar to it or now even close?

POV script is a lot like BASIC in terms of its looping, conditional,
and assignment operations, except for the lack of GOTO and FOR.

Declaring objects and textures, though, isn't really like any other 
language I can think of: each object type has a number of required 
parameters with a required order, followed by a number of named 
optional parameters, such as the water level on a height field, 
followed by a number of globally recognized modifiers that work on 
all objects, such as texture and transformations.  This part of the 
process is declarative rather than procedural and so does not map 
well to any procedural language like C or C++.  Perhaps if you would
tell us why this information is important, we could provide a better
answer.

Your best bet is to just get a copy of the documentation and read it,
or grab a few sample scene files and try to understand them.


Post a reply to this message

From: James
Subject: Re: POV-Ray Language
Date: 15 Jan 1999 14:46:30
Message: <369f9b16.0@news.povray.org>
Are you talking about the scenes being written in C?


Ken wrote in message <369F951F.A08BA90C@pacbell.net>...
>James wrote:
>
>> What I was wondering was, what TYPE of language is it? Like there is a
>> language named, "C++".  Is it similar to it or now even close?
>>
>> James
>
>Pov-Ray is currently written in C. The next major re-write of
>the program will be done in C++.
>
>--
>Ken Tyler
>
>tyl### [at] pacbellnet
>
>


Post a reply to this message

From: James
Subject: Re: POV-Ray Language
Date: 15 Jan 1999 15:01:22
Message: <369f9e92.0@news.povray.org>
The reason I want to know the language you right the scenes is so I could go
out and buy a book on that language.


Ron Parker wrote in message <369f9ae4.0@news.povray.org>...
>On Fri, 15 Jan 1999 13:06:10 -0600, James <bea### [at] compuvisionnet> wrote:
>>What I was wondering was, what TYPE of language is it? Like there is a
>>language named, "C++".  Is it similar to it or now even close?
>
>POV script is a lot like BASIC in terms of its looping, conditional,
>and assignment operations, except for the lack of GOTO and FOR.
>
>Declaring objects and textures, though, isn't really like any other
>language I can think of: each object type has a number of required
>parameters with a required order, followed by a number of named
>optional parameters, such as the water level on a height field,
>followed by a number of globally recognized modifiers that work on
>all objects, such as texture and transformations.  This part of the
>process is declarative rather than procedural and so does not map
>well to any procedural language like C or C++.  Perhaps if you would
>tell us why this information is important, we could provide a better
>answer.
>
>Your best bet is to just get a copy of the documentation and read it,
>or grab a few sample scene files and try to understand them.


Post a reply to this message

From: Jim Kress
Subject: Re: POV-Ray Language
Date: 15 Jan 1999 15:18:46
Message: <369fa2a6.0@news.povray.org>
There are no such books.  POV scene language is unique to POV.  It kinda
looks like C but getting a book on the C language will not help you learn to
write POV files in POV scene language.

The best thing to do is to (as others have mentioned) download the POV
executable (binaries) and the POV documentation manual.  Read through the
manual and do the exercises in the manual.  That is the best way to learn
the POV scene language.

--
Jim

Check out my web site http://www.kressworks.com/
It'll blow your mind (politically), stimulate your senses (artistically)
and provide scientific insights beyond compare!

Be sure to read the Warp maintained POV VFAQ:
http://www.cs.tut.fi/~warp/povVFAQ.html




James wrote in message <369f9e92.0@news.povray.org>...
>The reason I want to know the language you right the scenes is so I could
go
>out and buy a book on that language.
>
>
>Ron Parker wrote in message <369f9ae4.0@news.povray.org>...
>>On Fri, 15 Jan 1999 13:06:10 -0600, James <bea### [at] compuvisionnet> wrote:
>>>What I was wondering was, what TYPE of language is it? Like there is a
>>>language named, "C++".  Is it similar to it or now even close?
>>
>>POV script is a lot like BASIC in terms of its looping, conditional,
>>and assignment operations, except for the lack of GOTO and FOR.
>>
>>Declaring objects and textures, though, isn't really like any other
>>language I can think of: each object type has a number of required
>>parameters with a required order, followed by a number of named
>>optional parameters, such as the water level on a height field,
>>followed by a number of globally recognized modifiers that work on
>>all objects, such as texture and transformations.  This part of the
>>process is declarative rather than procedural and so does not map
>>well to any procedural language like C or C++.  Perhaps if you would
>>tell us why this information is important, we could provide a better
>>answer.
>>
>>Your best bet is to just get a copy of the documentation and read it,
>>or grab a few sample scene files and try to understand them.
>
>


Post a reply to this message

From: Ron Parker
Subject: Re: POV-Ray Language
Date: 15 Jan 1999 15:31:48
Message: <369fa5b4.0@news.povray.org>
On Fri, 15 Jan 1999 15:18:44 -0500, Jim Kress <jim### [at] dccmailcom> wrote:
>There are no such books.  POV scene language is unique to POV.  It kinda
>looks like C but getting a book on the C language will not help you learn to
>write POV files in POV scene language.

Knowing C will not help you with POV.  It only looks like C because
of all the curly braces.  The procedural parts of it are a lot more 
like BASIC than like C.  The declarative parts are unlike any other
mainstream language.

There once was such a book, Ray Tracing Creations by Drew Wells and 
Chris Young, published by Waite Group Press.  It is now out of print
(and, IIRC, the publisher is out of business) and in any case only
applies to POV 2.2 and earlier.  Anything you could do in 2.2 you
can still do in 3.1, however, so if you can find a copy at your local
library or used book store, and you absolutely need something you can
read on the plane, it might be worth it.  Just keep in mind that 
there is now far more that can be done with POV than could be done
when that book was written.  For example, it doesn't cover the 
procedural parts of POV at all, because they were added in version
3.0.


Post a reply to this message

Goto Latest 10 Messages Next 4 Messages >>>

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