POV-Ray : Newsgroups : povray.newusers : Object names : Object names Server Time
30 Jul 2024 06:18:15 EDT (-0400)
  Object names  
From: David Harmon
Date: 18 Aug 2004 16:36:58
Message: <4123bb08.502334515@news.povray.org>
Various things (e.g. trace()) can refer to objects by name, but
ordinary simple objects don't have names.  I have been creating
objects with names by basically:

  #declare obj = object{ "lots of stuff" }
  obj

But it feels like having the #declare plus the object itself is
duplication.  Is there a better way to create the object and
name it in one step, so as to keep my scene unbloated?


Post a reply to this message

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