POV-Ray : Newsgroups : povray.newusers : Does povray have a C-level library API ? Server Time
31 Oct 2024 06:00:34 EDT (-0400)
  Does povray have a C-level library API ? (Message 1 to 3 of 3)  
From: Hadmut Danisch
Subject: Does povray have a C-level library API ?
Date: 17 Sep 2009 19:03:32
Message: <4AB2C044.4000900@msgid.danisch.de>
Hi,

is it possible to use povray's objects and tracing capabilities, but
without povrays language and parser?


What I have in mind is to write a binding for a scripting language like
Ruby to use povray objects as objects in the programming language and
e.g. write functions in a scripting language.

regards
Hadmut


Post a reply to this message

From: clipka
Subject: Re: Does povray have a C-level library API ?
Date: 17 Sep 2009 20:00:54
Message: <4ab2cdb6@news.povray.org>
Hadmut Danisch schrieb:

> is it possible to use povray's objects and tracing capabilities, but
> without povrays language and parser?
> 
> 
> What I have in mind is to write a binding for a scripting language like
> Ruby to use povray objects as objects in the programming language and
> e.g. write functions in a scripting language.

There are several answers to your question:

- No, POV-Ray does not provide a C API.

- POV-Ray is open source software, so you are free to replace the parser 
with some other code to drive the engine, provided you can wrap your 
head around it.

- According to POV-Ray's licensing terms, while you could hack up such a 
binding for your private purposes, you may not distribute a version 
including such an interface.

I reckon it will actually be a good deal easier to create POV-Ray SDL 
scene files and launch POV-Ray to parse and render those. You wouldn't 
be the first to do that however :-)


Post a reply to this message

From: Warp
Subject: Re: Does povray have a C-level library API ?
Date: 18 Sep 2009 15:04:49
Message: <4ab3d9d1@news.povray.org>
clipka <ano### [at] anonymousorg> wrote:
> - According to POV-Ray's licensing terms, while you could hack up such a 
> binding for your private purposes, you may not distribute a version 
> including such an interface.

  Note that POV-Ray's license is bound to change at some point to be more
liberal about this.

-- 
                                                          - Warp


Post a reply to this message

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