|
|
|
|
|
|
| |
| |
|
|
|
|
| |
| |
|
|
andrel wrote:
> On 31-Dec-08 22:39, stbenge wrote:
>> The loop is the engine, sin/cos are two parts of a gear, and pi is the
>> number of teeth.
Maybe my metaphor isn't entirely accurate...
> I wanna see that wheel with pi teeth. Can you render one?
Sure! I'm going to assume you aren't actually asking for a visual pun.
Here is some code I put together:
#macro gear(gRad, gInset, nTeeth, pThick)
//gRad gear radius
//gInset teeth depth (from radius)
//nTeeth number of teeth
//pThick prism thickness
#local nPoints = 4*nTeeth;
#local tooth = pi*2/nPoints;
prism{
-pThick,pThick,nPoints
#local V = 0;
#while(V<nPoints)
#local rV = (gRad-gInset/2)+cos(tooth*V*nTeeth+pi/4)*gInset/2;
<sin(tooth*V)*rV, cos(tooth*V)*rV>
#local V = V + 1;
#end
rotate y*180/nPoints
}
#end
object{
gear(1,.1, 30, .1)
pigment{rgb 1}
}
It's just your basic gear, nothing fancy.
Sam
Post a reply to this message
Attachments:
Download 'gear.png' (3 KB)
Preview of image 'gear.png'
|
|
| |
| |
|
|
|
|
| |
| |
|
|
On 02-Jan-09 9:59, stbenge wrote:
> andrel wrote:
>> On 31-Dec-08 22:39, stbenge wrote:
>>> The loop is the engine, sin/cos are two parts of a gear, and pi is
>>> the number of teeth.
>
> Maybe my metaphor isn't entirely accurate...
>
>> I wanna see that wheel with pi teeth. Can you render one?
>
> Sure! I'm going to assume you aren't actually asking for a visual pun.
Why on earth would you do that?
> Here is some code I put together:
But thanks anyway.
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
Larry Hudson <org### [at] yahoocom> wrote:
> Eero Ahonen wrote:
> > Though I wouldn't consider raytracing as geeky hobby. I think it's more
> > mathematical hobby.
>
> I would say that math as a hobby is pretty geeky. ;-)
>
> -=- Larry -=-
Yes. I would consider math more as a habit for myself. People at work must
think I'm odd scribbling away trig and geometry equations on paper all the time
when I'm trying to work out some CSG postioning and such.
-tgq
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
Nice image alphaQuad! I'll have to dig and see if I have that model still. It
is always great to see more LEGO/POV-Ray renders.
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
"Larry Hudson" <org### [at] yahoocom> wrote in message
news:495c2f1d$1@news.povray.org...
> I would say that math as a hobby is pretty geeky. ;-)
yes .... but it (math) explains so many things. the universal language
right?
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
Jim Holsenback wrote:
> yes .... but it (math) explains so many things. the universal language
> right?
Actually, math explains nothing, which is why it's the universal language. :-)
--
Darren New, San Diego CA, USA (PST)
The NFL should go international. I'd pay to
see the Detroit Lions vs the Roman Catholics.
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
andrel wrote:
> On 02-Jan-09 9:59, stbenge wrote:
>> andrel wrote:
>>> On 31-Dec-08 22:39, stbenge wrote:
>>>> The loop is the engine, sin/cos are two parts of a gear, and pi is
>>>> the number of teeth.
>>
>> Maybe my metaphor isn't entirely accurate...
>>
>>> I wanna see that wheel with pi teeth. Can you render one?
>>
>> Sure! I'm going to assume you aren't actually asking for a visual pun.
>
> Why on earth would you do that?
A severe lapse of humor, evidently :(
>> Here is some code I put together:
>
> But thanks anyway.
I've failed!
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
Eero Ahonen wrote:
>
> I think it's more
> mathematical hobby.
>
I knew it!!!!!!
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
Not bad, but increase the contrast: the gray shouldbe much darker in
shadowed areas. Otherwise great!
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
Sven Littkowski nous illumina en ce 2009-01-09 22:36 -->
> Not bad, but increase the contrast: the gray shouldbe much darker in
> shadowed areas. Otherwise great!
>
>
Probably a question of ambient value in the finish.
--
Alain
-------------------------------------------------
A nuclear war can ruin your whole day.
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |