POV-Ray : Newsgroups : povray.programming : Povray directly from C program Server Time
30 Apr 2024 11:06:50 EDT (-0400)
  Povray directly from C program (Message 11 to 11 of 11)  
<<< Previous 10 Messages Goto Initial 10 Messages
From: Simon
Subject: Re: Povray directly from C program
Date: 3 Jul 2007 20:50:48
Message: <468aeee8$1@news.povray.org>
Thorsten Froehlich wrote:
> frfo wrote:
>> It does work with simple scenes. It fails with scenes with macro.
> 
> Yes, it will fail with any scene where POV-Ray has to move around in the
> input file.
> 
> 	Thorsten

Sorry to jump into an old thread, but it happens to fall in my interests!

I have been planning for a long time (and never put efforts to it) on making a 
library to help make povray scenes.

My idea, to comply perfectly with the licence, was that the library(and its 
executable) would generate the code and all files needed for the render, 
including the .ini and would then call povray with a system() call(if this raise 
too much problems, it can be omited so user will render manually); this way the 
program assumes the user has installed povray in compliance to its license and 
the program using povray would in the legal reality have no link with povray. 
(And the website would just have a link to povray.org for downloading povray!)

This way the two projects are separate, and files are written to disk, can be 
backed-up, version control, etc...

Back to the library, I was hoping to make something highly OO, in which you 
would inherit and polymorph objects.  My "big-cube" is a "scalable-cube" kindof.

What stopped me from working on this is that I started having maniac thoughts of 
having it seemlessly compatible with opengl !! =)

This said, i have not much time & efforts to spend on hobbies, but if this 
library is starting up then I'd really like to give a hand!

Simon


Post a reply to this message

<<< Previous 10 Messages Goto Initial 10 Messages

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