POV-Ray : Newsgroups : povray.advanced-users : passing variable to macro for use in #for statement : passing variable to macro for use in #for statement Server Time: 18 Jan 2019 02:23:44 GMT
  passing variable to macro for use in #for statement  
From: Bald Eagle
Date: 19 Sep 2018 16:00:01
Is it possible to start a loop in a macro using a variable name passed into the
macro?

I think not, but maybe it's one of those #write #read workaround things.

Like so:
#macro Loop (_Var, _Begin, _End, _Step)
 #for (_Var, _Begin, _End, _Step)
 ....
 #end
#end


Along the same lines, is it possible to assign an image_map file type to a
variable
like png, jpeg, etc. ?


Post a reply to this message

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