POV-Ray : Newsgroups : povray.general : Pov 4.00 question : Re: Possible POV Object Scheme (was Re: Pov 4.00 question) Server Time
7 Aug 2024 05:20:09 EDT (-0400)
  Re: Possible POV Object Scheme (was Re: Pov 4.00 question)  
From: Warp
Date: 2 Feb 2002 04:43:47
Message: <3c5bb4d3@news.povray.org>
Jordan <hookflash@_hotmail_.com> wrote:
: I *really* hope the sdl gets completely redone for pov 4.

  I don't. How many people out there do you think that will like that
none of their scenes will work with the new version and that they will have
to learn a completely new language?

:  Imo, an object-
: oriented approach would be much cleaner & prettier.

  OOP is not the solution for everything.
  I don't think the povray SDL would benefit too much from a full OO language.
  Some modularity could be good (user-defined abstract types with member
variables and methods, dynamic allocation, references...), but that's it.

:  I would love to see a 
: more powerful sdl (cleaner (no more '{'s and '#'s, for example)

  I don't understand why it would be "more powerful" and "cleaner" with
no '{'s and '#'s.
  Specially the lack of '{'s would make it uglier and harder to write and
read.
  (No, I *DON'T* want to start writing 'begin' and 'end' like in Pascal.)

-- 
#macro N(D)#if(D>99)cylinder{M()#local D=div(D,104);M().5,2pigment{rgb M()}}
N(D)#end#end#macro M()<mod(D,13)-6mod(div(D,13)8)-3,10>#end blob{
N(11117333955)N(4254934330)N(3900569407)N(7382340)N(3358)N(970)}//  - Warp -


Post a reply to this message

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