POV-Ray : Newsgroups : povray.binaries.images : Mechsim question Server Time
16 Nov 2024 10:31:09 EST (-0500)
  Mechsim question (Message 1 to 3 of 3)  
From: Anthony D  Baye
Subject: Mechsim question
Date: 18 Feb 2003 15:09:52
Message: <3E5293C2.8AF10F3E@Rapidnet.com>
I'm trying to create a chain that can interact with it's environs.
I'd thought to use MacMegaPov's Mechanics Simulator,but I'm not at all
sure how to set it up and the docs seem a little vague to me.  I've
partially constructed a chain macro, to create the basic chain, but I'n
not certain how to put it into the simulator.
    Any help would be apreciated.

                                                            A.D.B


Post a reply to this message


Attachments:
Download 'us-ascii' (3 KB) Download 'chain.jpg' (45 KB)

Preview of image 'chain.jpg'
chain.jpg


 

From: Rafal 'Raf256' Maj
Subject: Re: Mechsim question
Date: 18 Feb 2003 19:50:29
Message: <Xns93271306B8885raf256com@204.213.191.226>
"Anthony D. Baye" <ban### [at] Rapidnetcom> wrote in 
news:3E5293C2.8AF10F3E@Rapidnet.com

> #include "colors.inc"
> #include "textures.inc"

You forgot :
  #include "metals.inc"
at least Pov 3.5 doesn't render this scene without metals.inc
 



-- 
#macro g(U,V)(.4*abs(sin(9*sqrt(pow(x-U,2)+pow(y-V,2))))*pow(1-min(1,(sqrt(
pow(x-U,2)+pow(y-V,2))*.3)),2)+.9)#end#macro p(c)#if(c>1)#local l=mod(c,100
);g(2*div(l,10)-8,2*mod(l,10)-8)*p(div(c,100))#else 1#end#end light_source{
y 2}sphere{z*20 9pigment{function{p(26252423)*p(36455644)*p(66656463)}}}//M


Post a reply to this message

From: Anthony D  Baye
Subject: Re: Mechsim question
Date: 18 Feb 2003 23:12:54
Message: <3E530509.DB2AB149@Rapidnet.com>
I added some custom textures to textures.inc and added metals.inc to the
include block.

Rafal 'Raf256' Maj wrote:

> "Anthony D. Baye" <ban### [at] Rapidnetcom> wrote in
> news:3E5293C2.8AF10F3E@Rapidnet.com
>
> > #include "colors.inc"
> > #include "textures.inc"
>
> You forgot :
>   #include "metals.inc"
> at least Pov 3.5 doesn't render this scene without metals.inc
>
>
> --
> #macro g(U,V)(.4*abs(sin(9*sqrt(pow(x-U,2)+pow(y-V,2))))*pow(1-min(1,(sqrt(
> pow(x-U,2)+pow(y-V,2))*.3)),2)+.9)#end#macro p(c)#if(c>1)#local l=mod(c,100
> );g(2*div(l,10)-8,2*mod(l,10)-8)*p(div(c,100))#else 1#end#end light_source{
> y 2}sphere{z*20 9pigment{function{p(26252423)*p(36455644)*p(66656463)}}}//M


Post a reply to this message

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