POV-Ray : Newsgroups : povray.binaries.images : Cheap_Sweep posted / Demo / Question Server Time
16 Aug 2024 04:19:42 EDT (-0400)
  Cheap_Sweep posted / Demo / Question (Message 4 to 13 of 13)  
<<< Previous 3 Messages Goto Initial 10 Messages
From: Shay
Subject: Re: Cheap_Sweep posted / Demo / Question
Date: 4 Apr 2002 17:21:18
Message: <3cacd1de$1@news.povray.org>
Spock <spo### [at] nospamcom> wrote in message news:3cacd07a$1@news.povray.org...
> This is an excellent macro, I'm really enjoying it.  Thanks!
>

I'm glad you are enjoying the macro. I am very interested in whether or not
you find the code to be clear and readable. I tried to make the algorithm as
clear as possible to any who read the macro so that they can optimise it for
their own applications.

 -Shay


Post a reply to this message

From: Spock
Subject: Re: Cheap_Sweep posted / Demo / Question
Date: 4 Apr 2002 17:48:02
Message: <3cacd822@news.povray.org>
Well, to be annoyingly honest, I think I will leave macro writing and
maintenance to those of you who can understand it.  My brain barely
generates enough power to keep my mouth flapping, lord knows what would
happen if I had to think as well...

I'm just going to use it to make pretty pictures and let you know if
something doesn't seem right.  So far it seems wonderful :-)

"Shay" <sah### [at] simcopartscom> wrote in message
news:3cacd1de$1@news.povray.org...
>
> I'm glad you are enjoying the macro. I am very interested in whether or
not
> you find the code to be clear and readable. I tried to make the algorithm
as
> clear as possible to any who read the macro so that they can optimise it
for
> their own applications.
>


Post a reply to this message


Attachments:
Download 'Spline2.jpg' (48 KB)

Preview of image 'Spline2.jpg'
Spline2.jpg


 

From: Mark James Lewin
Subject: Re: Cheap_Sweep posted / Demo / Question
Date: 4 Apr 2002 19:53:28
Message: <3CACF5B5.A62D4BF9@yahoo.com.au>
Shay wrote:

> Feedback regarding the readability of my *.inc file would be *greatly*
> appreciated. I spent literally 3x the amount of time commenting and cleaning
> up this file as I did getting it to work.

I haven't had the time to go through all of it, but the time you spent commenting
was appreciated by me. If I wasn't such a 'matrix idiot' then everything would be
clear :-)

> It's should be worth downloading anyway, as it is a cool little macro.

Indeed. Very fun to play with.

I did make a little modification of my own though, through personal taste. For
me, it's more intuitive to use object{} for something that sounds like an object,
so I made the macro spit out a union instead of a collection of torii.

MJL


Post a reply to this message

From: Shay
Subject: Re: Cheap_Sweep posted / Demo / Question
Date: 4 Apr 2002 20:17:19
Message: <3cacfb1f$1@news.povray.org>
"Mark James Lewin" <m_j### [at] yahoocomau> wrote in message
news:3CACF5B5.A62D4BF9@yahoo.com.au...
> I haven't had the time to go through all of it, but the time you spent
commenting
> was appreciated by me.

I'm very glad to hear that


>If I wasn't such a 'matrix idiot' then everything would be
> clear :-)
>

The use of matrices should be very clear in the macro. If you have any
questions, feel free to ask me here or in Pov general. Once you have reached
a very basic understanding of matrices, a visit to
http://davidf.faricy.net/povre.html should clear up most remaining
questions. On thing missing from the site (to my recollection) is an
explanation of the combining of matrices. When you reach a point that this
knowledge is necessary, I or someone else will be happy to outline it for
you.

I was living under a bridge and digging ditches during the time in my life
when most here were in college. I did not know a thing about math until I
started seriously getting into Pov-Ray a few months ago. I am slowly
learning.

>
> I did make a little modification of my own though, through personal taste.
For
> me, it's more intuitive to use object{} for something that sounds like an
object,
> so I made the macro spit out a union instead of a collection of torii.
>


EXCELLENT. This is the reason for all of the comments!! I wanted the macro
to be clear enough that anyone would be able to easily modify it for their
own needs or wants.

 -Shay


Post a reply to this message

From: Shay
Subject: Re: Cheap_Sweep posted / Demo / Question
Date: 4 Apr 2002 20:23:30
Message: <3cacfc92$1@news.povray.org>
"Spock" <spo### [at] nospamcom> wrote in message
>
> and let you know if
> something doesn't seem right

Please do!

If the black banding in your spiral is not desired, using merge and placing
a sphere where each piece meets another will solve the problem.

I thought about adding a switch for this. I also thought about adding a
No_File and No_Image switch, but I decided against these things, as I would
only be obscuring the algorithm.

Instead, I chose to break the code into sections and leave lots of notes so
that others can quickly add these things if they so desire.

Thank you for your interest.
 -Shay


Post a reply to this message

From: Hugo
Subject: Re: Cheap_Sweep posted / Demo / Question
Date: 5 Apr 2002 06:40:41
Message: <3cad8d39@news.povray.org>
> getting into Pov-Ray a few months ago.
> I am slowly learning.

Fast learning, in my honest opinion. You've got to have some programming
experience before POV-Ray, right?

Well, I started programming when I was 8 years old but it's not until today
I use math so intensely .. 17 years after.. But raytracing relies very much
on math.

Good idea to explain your macro. It's on my harddisk.

Regards,
Hugo


Post a reply to this message

From: Shay
Subject: Re: Cheap_Sweep posted / Demo / Question
Date: 5 Apr 2002 09:24:00
Message: <3cadb380@news.povray.org>
Hugo <hua### [at] post3teledk> wrote in message news:3cad8d39@news.povray.org...
>
> Fast learning, in my honest opinion. You've got to have some programming
> experience before POV-Ray, right?
>

With people like ABX, Tor, etc. from which to learn, how long could it
possibly take to catch-on?

UGhh, I do have a little programming experience, but I don't like to think
about it. My wife took a C++ (not shur how many plusses they're up to yet)
in college about 18 months ago. On a few occasions when her work schedule
was too heavy, I had to do her assignments for her. It's a miserable
experience, I promise you, writing a C++ program when you have to figure out
how to do every single thing by looking it up in a 300 page book. It gets
even less fun when you figure out how to accomplish the task and have no
idea about the syntax or which files to include.


> Well, I started programming when I was 8 years old but it's not until
today
> I use math so intensely .. 17 years after.. But raytracing relies very
much
> on math.
>

Awesome. I'm only a couple years older and didn't even have a computer when
I was 8 years old.


Post a reply to this message

From: Sir Charles W  Shults III
Subject: Re: Cheap_Sweep posted / Demo / Question
Date: 5 Apr 2002 09:27:22
Message: <3cadb44a$1@news.povray.org>
C is up to 4 plusses, arranged two above and two below.  This is now a
"sharp" character in music terms, and is shown as "C#".   Next will be CH
(hyper) and C$ (C expensive) and C% (works mostly).  Maybe.

Cheers!

Chip Shults
My robotics, space and CGI web page - http://home.cfl.rr.com/aichip


Post a reply to this message

From: Shay
Subject: Re: Cheap_Sweep posted / Demo / Question
Date: 5 Apr 2002 10:25:53
Message: <3cadc201$1@news.povray.org>
Shay <sah### [at] simcopartscom> wrote in message news:3cac8a49@news.povray.org...
>
> Does anyone know the name of this function?
>

Damn. Guess not. Anyway, here it is:

<(3+sin(R*3))*cos(R),(3+sin(R*3))*sin(R),sin(6*R)>   R is an angle measure
in radians.

 -Shay


Post a reply to this message

From: Christopher James Huff
Subject: Re: Cheap_Sweep posted / Demo / Question
Date: 5 Apr 2002 11:00:03
Message: <chrishuff-4BD659.11012205042002@netplex.aussie.org>
In article <3cadb44a$1@news.povray.org>,
 "Sir Charles W. Shults III" <aic### [at] cflrrcom> wrote:

>     C is up to 4 plusses, arranged two above and two below.  This is now a
> "sharp" character in music terms, and is shown as "C#".   Next will be CH
> (hyper) and C$ (C expensive) and C% (works mostly).  Maybe.

C++: based on C, and originally purely a superset of C. It now has a few 
differences, but is pretty much C with objects, templates, and a few 
other extensions...you can still use the C standard library, for 
example. The ++ part comes from the C "increment" operator. C++ is a 
standardized language.

Objective-C: Purely a superset of C, basically a Smalltalk-like object 
system and runtime that goes on top of C (or C++). Not standardized, but 
has been in use for many years.

C#: some Java-clone Microsoft came up with. Similar to C in the same way 
Java is similar to C. As far as I can tell, it only exists for Microsoft 
.NET and as a way to kill Java. Apparently in the process of being 
standardized, and is now outside of Microsoft's control, but really 
isn't a C any more than Java is. I'm comparing it with Java a lot...that 
would be because nearly everything I've seen about it compares it with 
Java. This is the one I know the least about, anyone know of some 
websites with good technical info on it and how it compares to other 
languages?

Followup-To povray.off-topic.

-- 
Christopher James Huff <chr### [at] maccom>
POV-Ray TAG e-mail: chr### [at] tagpovrayorg
TAG web site: http://tag.povray.org/


Post a reply to this message

<<< Previous 3 Messages Goto Initial 10 Messages

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