POV-Ray : Newsgroups : povray.general : Object oriented Povray? (Modifying existing objects) : Re: Object oriented Povray? (Modifying existing objects) Server Time
2 Aug 2024 00:14:03 EDT (-0400)
  Re: Object oriented Povray? (Modifying existing objects)  
From: Warp
Date: 1 Mar 2005 05:26:51
Message: <4224436b@news.povray.org>
ekolis <kol### [at] fusenet> wrote:
> I know you can use #declare statements to create reusable objects, but is
> there any way to modify individual instance once they've been instantiated?

  You can instantiate the object and apply transformations to it.
If it didn't have a texture, you can also apply one. However, that's
about it. You can't access any of its other parameters (not in the
current SDL anyways).

-- 
#macro M(A,N,D,L)plane{-z,-9pigment{mandel L*9translate N color_map{[0rgb x]
[1rgb 9]}scale<D,D*3D>*1e3}rotate y*A*8}#end M(-3<1.206434.28623>70,7)M(
-1<.7438.1795>1,20)M(1<.77595.13699>30,20)M(3<.75923.07145>80,99)// - Warp -


Post a reply to this message

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