POV-Ray : Newsgroups : povray.newusers : Does povray have a C-level library API ? : Re: Does povray have a C-level library API ? Server Time
5 Oct 2024 15:28:54 EDT (-0400)
  Re: Does povray have a C-level library API ?  
From: clipka
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

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