 |
 |
|
 |
|
 |
|  |
|  |
|
 |
|
 |
|  |
|  |
|
 |
just a small demonstration .;]
Post a reply to this message
Attachments:
Download 'output.mp4.dat' (3967 KB)
|
 |
|  |
|  |
|
 |
|
 |
|  |
|  |
|
 |
"Cossack " <nomail@nomail> wrote:
> just a small demonstration .;]
Cool! Wondering how long to parse & render it?
Have Fun!
Post a reply to this message
|
 |
|  |
|  |
|
 |
|
 |
|  |
|  |
|
 |
Very cool!
I have always wanted to play with this 'bullet physics' code in POV-ray, but I
have no idea how to get it to run in MS Windows, or if it is even available in a
'Windows friendly' form. (I am not a C/C++ programmer.)
Has anyone in the POV-ray community ever built a version that will run? I seem
to vaguely remember *someone* doing that in the past...or maybe it was just for
Linux/Unix?
Post a reply to this message
|
 |
|  |
|  |
|
 |
|
 |
|  |
|  |
|
 |
hi,
"Cossack " <nomail@nomail> wrote:
> just a small demonstration .;]
very nice. (and yes, (many) questions :-) like Leroy's, was it rendered on the
phone ?)
"Kenneth" <kdw### [at] gmail com> wrote:
> Very cool!
>
> I have always wanted to play with this 'bullet physics' code in POV-ray, but I
> have no idea how to get it to run in MS Windows, or if it is even available in a
> 'Windows friendly' form. (I am not a C/C++ programmer.)
>
> Has anyone in the POV-ray community ever built a version that will run? I seem
> to vaguely remember *someone* doing that in the past...or maybe it was just for
> Linux/Unix?
I found the attached 2003 code by Alain Ducharme in TdG's (extensive) archives,
a "Povray rigid ball dynamics simulator", not quite "bullet physics" but... all
in SDL, no other languages needed; I'm sure that there will be other code, 30+
years is a long time. there is no explicit mention of licensing, but the author
writes "in the meantime, you may wish to collapse the required macros into your
main SimBall .pov files" -- sounds "permissive". two (quickly rendered :-))
animations AD wrote:
<drive.google.com/file/d/1YASVkhbwLadwsHq3tuSlJZWRklMttItK/view?usp=sharing>
<drive.google.com/file/d/1vjarr_s4miZQqaDZQY6ztNMxMsdVAloH/view?usp=sharing>
regards, jr.
Post a reply to this message
Attachments:
Download 'ad_simballs.zip' (20 KB)
|
 |
|  |
|  |
|
 |
|
 |
|  |
|  |
|
 |
"jr" <cre### [at] gmail com> wrote:
>
> I found the attached 2003 code by Alain Ducharme in TdG's (extensive) archives,
> a "Povray rigid ball dynamics simulator"...
Many thanks! I plan to play around with it.
In looking through some of Alain D's code, I see that he uses... quaternions.
Very cool! (I'm attempting to learn and understand the basics of their use...
and to re-learn the concepts of imaginary/complex numbers in general. I have
never used any of that stuff in 'real life', not since my university days eons
ago.)
Your animation examples are really neat too; thanks for those as well.
------
Could you post a link to TdG's archive(s)? I thought I had that somewhere, but
nope :-(
Post a reply to this message
|
 |
|  |
|  |
|
 |
|
 |
|  |
|  |
|
 |
hi,
"Kenneth" <kdw### [at] gmail com> wrote:
> "jr" <cre### [at] gmail com> wrote:
> >
> > I found the attached 2003 code by Alain Ducharme ...
> Many thanks! I plan to play around with it.
> In looking through some of Alain D's code, I see that he uses... quaternions.
> Very cool! (I'm attempting to learn and understand the basics of their use...
> and to re-learn the concepts of imaginary/complex numbers in general. I have
> never used any of that stuff in 'real life', not since my university days eons
> ago.)
good. (and yes, Alain's code is well "above my pay grade", guessing BE will rub
his hands in glee.. :-))
> Your animation examples are really neat too; thanks for those as well.
they're simply two of Alain's files, as you will see.
> Could you post a link to TdG's archive(s)? I thought I had that somewhere, but
> nope :-(
unsurprising :-), unpublished as yet. Thomas is in the middle of working out
"representation" and such, keep an eye on his wiki page in the meantime.
regards, jr.
Post a reply to this message
|
 |
|  |
|  |
|
 |
|
 |
|  |
|  |
|
 |
On 20/04/2026 14:25, Kenneth wrote:
> Very cool!
>
> I have always wanted to play with this 'bullet physics' code in POV-ray, but I
> have no idea how to get it to run in MS Windows, or if it is even available in a
> 'Windows friendly' form. (I am not a C/C++ programmer.)
>
> Has anyone in the POV-ray community ever built a version that will run? I seem
> to vaguely remember *someone* doing that in the past...or maybe it was just for
> Linux/Unix?
>
>
Some interesting links:
<http://jeberger.free.fr/povray/cloth/cloth.html>
<https://www.imagico.de/pov/tools_en.php>
--
kurtz le pirate
compagnie de la banquise
Post a reply to this message
|
 |
|  |
|  |
|
 |
|
 |
|  |
|  |
|
 |
"jr" <cre### [at] gmail com> wrote:
> hi,
>
> "Cossack " <nomail@nomail> wrote:
> > just a small demonstration .;]
>
> very nice. (and yes, (many) questions :-) like Leroy's, was it rendered on the
> phone ?)
>
>
> "Kenneth" <kdw### [at] gmail com> wrote:
> > Very cool!
> >
> > I have always wanted to play with this 'bullet physics' code in POV-ray, but I
> > have no idea how to get it to run in MS Windows, or if it is even available in a
> > 'Windows friendly' form. (I am not a C/C++ programmer.)
> >
> > Has anyone in the POV-ray community ever built a version that will run? I seem
> > to vaguely remember *someone* doing that in the past...or maybe it was just for
> > Linux/Unix?
>
> I found the attached 2003 code by Alain Ducharme in TdG's (extensive) archives,
> a "Povray rigid ball dynamics simulator", not quite "bullet physics" but... all
> in SDL, no other languages needed; I'm sure that there will be other code, 30+
> years is a long time. there is no explicit mention of licensing, but the author
> writes "in the meantime, you may wish to collapse the required macros into your
> main SimBall .pov files" -- sounds "permissive". two (quickly rendered :-))
> animations AD wrote:
> <drive.google.com/file/d/1YASVkhbwLadwsHq3tuSlJZWRklMttItK/view?usp=sharing>
> <drive.google.com/file/d/1vjarr_s4miZQqaDZQY6ztNMxMsdVAloH/view?usp=sharing>
>
>
> regards, jr.
So I did the rendering on my phone, first I simulated the physics in the files
frame1.inc,
frame2.inc,...frame99.inc
And then I created a scene that reads this.
And bro, the physics are in the .inc format, that's cool :]
Post a reply to this message
|
 |
|  |
|  |
|
 |
|
 |
|  |
|  |
|
 |
hi,
"Cossack " <nomail@nomail> wrote:
> "jr" <cre### [at] gmail com> wrote:
> > "Cossack " <nomail@nomail> wrote:
> > > just a small demonstration .;]
> > very nice. (and yes, (many) questions :-) like Leroy's, was it rendered on the
> > phone ?)
> > ...
>
> So I did the rendering on my phone, first I simulated the physics in the files
> frame1.inc,
> frame2.inc,...frame99.inc
> And then I created a scene that reads this.
> And bro, the physics are in the .inc format, that's cool :]
I like the idea of putting the "phone" to a proper use :-) if you also use a
PC, how do the render times compare, roughly ? seeing your related thread ("How
to install UberPov on termux"), have not used UberPov, so cannot comment/help,
sorry, hope someone will, but I think that it would be real good ("informative")
if you could (continue to) post about using POV-Ray on an Android; here I have a
2nd hand iPhone SE I would like to put to work </grin>.
regards, jr.
Post a reply to this message
|
 |
|  |
|  |
|
 |
|
 |
|  |
|  |
|
 |
"jr" <cre### [at] gmail com> wrote:
> good. (and yes, Alain's code is well "above my pay grade", guessing BE will rub
> his hands in glee.. :-))
I'm not sad about it.
It's great that there's a whole include file that reliably implements
quaternions.
It's not copyrighted.
It's all in SDL, so it can be experimented with by anyone, and any code written
in c++ to provide source-level capability can be checked against the extant SDL.
I'm nominating this as a file to be put on the wiki as a special resource.
If TOK or someone with knowledge of the use of quaternions can look it over to
determine if there are any other functions/macros that would be needed for a
more complete quaternion library, that would be great.
It would also be nice of someone could rewrite the macros as functions so that
they can be used at render time.
- BE
Post a reply to this message
|
 |
|  |
|  |
|
 |
|
 |
|  |