POV-Ray : Newsgroups : povray.programming : Object oriented POV scene language? : Re: Object oriented POV scene language? Server Time
28 Jul 2024 12:22:11 EDT (-0400)
  Re: Object oriented POV scene language?  
From: Andrea Ryan
Date: 19 Jul 2000 11:48:53
Message: <3975CB5C.770DAB07@global2000.net>
An idea:

Have a constructor for each object that will initialize it with the
necessary properties.

sphere ballA(<0,1,0>,1);

The object could contain other objects for texturing and have member
functions for transformations.

ballA.finish.specular = 1;
ballA.translate(<0,0,10>);

The destructor could make the object go out of scope so that other
objects could reuse the destructed object's name.

~ballA();

It looks like a total redesign.  %-\

Brendan


Post a reply to this message

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