|
|
RJay Hansen wrote...
> Example Applescript from the official Mac distribution--
>
> -- Simple example of using POV-Ray's hidden batch-scripting feature
> -- Using the Finder "print" AppleScript
> --
Ahhh, I found the example applescript. I took the application out of that
folder when I first got POV and havnt looked in there till now.
The only applescript info I could find in the MacOS Read Me that came with
3.1g.r2 is:
The Good News... Ideas after version 3.1
-Full AppleScript support, change rendering options & start/stop rendering
(I have added the beginnings of this into the source code.) Can't wait for
3.2, but I wish what was added was documented.
But I see what you and David are talking about with the print command. I can
select a POV file and choose File:Print from the finder and it auto renders.
But then it closes the file. I'll see if the Pause_When_Done switch can fix
this.
I've only scripted a couple, simple things before, so I'm still working on a
few parts to get this working with my program.
Thanks.... laz
Post a reply to this message
|
|
|
|
David wrote...
> Yes, I think that 'print' will render a file. Just look at the "POV Batch
> Render Example" script that comes with POV-Ray.
Yes, I've been slowly figuring out the applescript.
> May I ask what this program is? Is it publicly avalible?
When I finish I'll make the program public. I need to add a few things and
make it look nicer. But its first generation. When I make a program it
usually goes in cycles where I build my idea, then as I use it I discover
new ways it can be used, so I make another program. The current version has
been usable for about 5 days now and already I've found several new ideas I
want to add. Its not as easy to make symmetrical patterns as the 2D program,
but there's some techniques I may automate into it.
Have you seen those movies of spheres placed along a 3D genetic generated
curve? I think someone from MIT made them and I've seen it on PBS. My
program doesnt do that, but its sorta similar. There's no genetic
algorithms, but you create a curve and then its rendered in POV with spheres
along the curve. So its more of the mirror balls in a raytracer, but if I
can make it easier to keep symmetry it'll be fun.
-laz
Post a reply to this message
|
|