POV-Ray : Newsgroups : povray.newusers : object parameters : object parameters Server Time
24 Apr 2024 18:27:30 EDT (-0400)
  object parameters  
From: seNex
Date: 13 Feb 2023 11:30:00
Message: <web.63ea642218d647779b54cfa5c411274@news.povray.org>
is there a way to get the parameter of an object after its declaration? For
example if I create a sphere named mysphere with center <x,y,z> and radius 1,
can I use a
function to write these to new variables? Like:


#declare mysphere=sphere{<x,y,z>,1};

#declare sphere_center=centerfunction(mysphere);
#declare sphere_radius=radiusfunktion(mysphere);


Post a reply to this message

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