POV-Ray : Newsgroups : povray.advanced-users : AI for Povray? Server Time
28 Jul 2024 18:22:57 EDT (-0400)
  AI for Povray? (Message 21 to 23 of 23)  
<<< Previous 10 Messages Goto Initial 10 Messages
From: dmbasso
Subject: Re: AI for Povray?
Date: 9 Jan 2006 22:40:01
Message: <web.43c32af6d1a8490f5b3cc2c00@news.povray.org>
"Mike" <inf### [at] mydisorg> wrote:
> Does anyone know of a good website or resources/artists/individuals who have
> explored AI in conjunction w/povray? I'm wondering if its possible to
> create an animation using a traditional A* algorithm in povray?

http://basso.inf.br/phi/

Not quite what you want, but a good starting point.

Cheers,

Daniel


Post a reply to this message

From: Mike
Subject: Re: AI for Povray... Simulations, too
Date: 10 Jan 2006 12:55:01
Message: <web.43c3f45ca35c6546936e69ad0@news.povray.org>
hi David, this is exactly what I'm doing; using Python to generate splines
for each A* path. It would be nice if I could do it all through Povray
using SDL. Still think Python is best though as I'm also generating a
csound score file with each A*.

Thanks for your reply!

-m

David Wallace <dar### [at] earthlinknet> wrote:
> Mike wrote:
> > Does anyone know of a good website or resources/artists/individuals who have
> > explored AI in conjunction w/povray? I'm wondering if its possible to
> > create an animation using a traditional A* algorithm in povray?
> >
> > Any information is GREATLY appreciated :-)
> >
> > -mike
> >
> >
> I am more concerned with simulations, and trajectory calculations in particular.
>   Testing for impact with a height field defined by an image is very slow in
> POV-Ray, and I don't know how to mimic the trace function in a compiled language
> (yet).
>
> This is useful even for stills, calculating the positions of launched particles.
>   Better yet, you could create splines that map time to position and use them
> for animation purposes.
>
> This just might be the ultimate answer to the AI problem, too.  Write an A*
> program in another language, store the resulting paths in splines for each
> object, then have your animation pluck positions from the splines for the
> animations.
>
> --------------
> David Wallace
> TenArbor Consulting
> "Just In Time Cash"
> www.tenarbor.com
> 1-866-572-CASH


Post a reply to this message

From: Tangent128
Subject: Re: AI for Povray... Simulations, too
Date: 15 Mar 2006 22:35:00
Message: <web.4418dbf1a35c6546a0aefbbf0@news.povray.org>
If you want to do it completely in the SDL, it's possible to read/write
files; if you use a file to store the state of whatever needs the AI (eg.
the location, orientation, and mental state of a hamster) between frames,
then it should just be necessary to read in the file (or set it up on the
first frame), process whatever you need to to calculate the next state,
save the new data, then use the calculated values for that frame.


Post a reply to this message

<<< Previous 10 Messages Goto Initial 10 Messages

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