POV-Ray : Newsgroups : povray.binaries.images : Ball of Random Boxes Server Time
7 Aug 2024 09:27:48 EDT (-0400)
  Ball of Random Boxes (Message 11 to 16 of 16)  
<<< Previous 10 Messages Goto Initial 10 Messages
From: Mark Birch
Subject: Re: Ball of Random Boxes
Date: 25 May 2006 01:15:00
Message: <web.44753d15a72e66f4ab0a679a0@news.povray.org>
"Janet" <par### [at] attnet> wrote:
> The matrix
> transform is kind of interesting, though. There's a good explanation of it
> here: http://www.geocities.com/evilsnack/matrix.htm

That's much clearer.  Thanks for the link!


Post a reply to this message

From: Janet
Subject: Re: Ball of Random Boxes
Date: 25 May 2006 01:25:00
Message: <web.44753f0da72e66f4b34b3b040@news.povray.org>
"Mark Birch" <las### [at] hotmailcom> wrote:
I tried your code. Works great. Looks cool with the superellipsoids too.
Thanks, Janet


Post a reply to this message

From: Jaap
Subject: Re: Ball of Random Boxes
Date: 25 May 2006 06:00:01
Message: <web.44757feaa72e66f4a8399d8d0@news.povray.org>
"Mark Birch" <las### [at] hotmailcom> wrote:
> I've never used a matrix transformation.  I don't know how it works.

basically, it's 3 vectors that define the "new" x,y and z. if you make sure
that
the new x y and z are still perpendicular and have a length of one, it's
just a rotation. The remaining 3 numbers in a transformation matrix is just
a translation vector. Internally povray uses matrices also. The big
advantage is that it's very simple (and fast!) to combine and use
transformations.

the matrix transformation in povray is very useful if your data is already
in matrix form because it's exported form some other 3D program/simulation.
you can even position a povray camera using a matrix.
I used it to render some ODE simulations in povray:
http://news.povray.org/povray.binaries.animations/thread/%3Cweb.443593c62b28687ba8399d8d0%40news.povray.org%3E/?mtop=22
6348&moff=10
you will have make some of the values in the matrix negative, because povray
and ODE use different left/right-hand coordinate systems. also, everyone
seems to store and write the numbers of the matrix in a different way :-)
starting top-down or left-to-right.


Post a reply to this message

From: PM 2Ring
Subject: Re: Ball of Random Boxes
Date: 26 May 2006 06:55:01
Message: <web.4476dd9ea72e66f41bd1c060@news.povray.org>
"Janet" <par### [at] attnet> wrote:
> "PM 2Ring" <nomail@nomail> wrote:
> > Nice one, Janet. The harmonious colour balance complements the jaggedness
> > created by the boxes.
> Thanks!
> > > Also just wanted to say all the greeble stuff looks so fun!
> >
> > Yeah! Me wanna play with greebles, too... but I've got a bunch of povray.org
> > Links to fix first!
> Me wanna play all the time. Hmm, since you're fixing links, do you have this
> one? http://www.pims.math.ca/knotplot/

There are a couple of links to knots, at least one of which is dead, but I
can't see that one in the list. At least, it's not in the top level,
although it may be linked to from one of the existing links. I don't know
if I'm actually allowed to add links to the list, but I'll certainly
recommend this one: it's excellent, Janet! I could spend many hours
browsing that page.

I tried to do a simple trefoil knot many years ago in DKBtrace, using a REXX
program to calculate the positions of the spheres with trig functions. I got
some pretty images, but I was never able to get the exact shape I wanted.


Post a reply to this message

From: Janet
Subject: Re: Ball of Random Boxes
Date: 27 May 2006 16:15:01
Message: <web.4478b2cfa72e66f4329ba8740@news.povray.org>
"PM 2Ring" <nomail@nomail> wrote:
> There are a couple of links to knots, at least one of which is dead, but I
> can't see that one in the list. At least, it's not in the top level,
> although it may be linked to from one of the existing links. I don't know
> if I'm actually allowed to add links to the list, but I'll certainly
> recommend this one: it's excellent, Janet! I could spend many hours
> browsing that page.
Knotplot has been mentioned in the POV-Ray newsgroups. The creator does seem
to be updating it, so thats always a good thing.
> I tried to do a simple trefoil knot many years ago in DKBtrace, using a REXX
> program to calculate the positions of the spheres with trig functions. I got
> some pretty images, but I was never able to get the exact shape I wanted.
You are a brave, brave person. :)
A knotplot image in my gallery ==> http://www.deviantart.com/view/31865726/


Post a reply to this message

From: PM 2Ring
Subject: Re: Ball of Random Boxes
Date: 30 May 2006 00:05:01
Message: <web.447bc342a72e66f4ad93754b0@news.povray.org>
"Janet" <par### [at] attnet> wrote:
> "PM 2Ring" <nomail@nomail> wrote:
> > There are a couple of links to knots, at least one of which is dead, but I
> > can't see that one in the list. At least, it's not in the top level,
> > although it may be linked to from one of the existing links. I don't know
> > if I'm actually allowed to add links to the list, but I'll certainly
> > recommend this one: it's excellent, Janet! I could spend many hours
> > browsing that page.
> Knotplot has been mentioned in the POV-Ray newsgroups. The creator does seem
> to be updating it, so thats always a good thing.

Ok, it should already be linked then, but if not I'll try to get it on the
list.

> > I tried to do a simple trefoil knot many years ago in DKBtrace, using a REXX
> > program to calculate the positions of the spheres with trig functions. I got
> > some pretty images, but I was never able to get the exact shape I wanted.
> You are a brave, brave person. :)

I was just playing around with 3D Lissajous figures. DKBtrace was a pure
SDL, there was no programming abilities, so anything fancy had to be done
with external programs. REXX is really good for quick development.

> A knotplot image in my gallery ==> http://www.deviantart.com/view/31865726/

Nice! You should try it with some reflection mapping.


Post a reply to this message

<<< Previous 10 Messages Goto Initial 10 Messages

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