POV-Ray : Newsgroups : povray.general : A little help about old vers. : Re: A little help about old vers. Server Time
16 Jun 2025 13:24:49 EDT (-0400)
  Re: A little help about old vers.  
From: jr
Date: 16 Jun 2025 08:05:00
Message: <web.68500753ce24a8bb3ecaab5e6cde94f1@news.povray.org>
hi,

"GioSeregni" <gms### [at] hotmailcom> wrote:
> I explain my working method.

you use more sophisticated s/wares than me :-).


> Each layer represents a component, obviously it has its own color. Here I have
> activated ALL the layers, but obviously I hide the ones I am not working on.
> It is a very practical method. For example, I can disable everything and leave
> only the red lights visible, or the bodywork. From the CAD with my tools I can
> output in many formats, preserving the information on the color and
> transparency, because they are the name of the layer.
> What I have to do is implement in the layer name, which declares RGB and ALPHA,
> also the name of the object. So that in the povray file you can easily treat the
> "finish" by identifying the object. For example, on the bodywork, apply its own
> non-standard level of reflection.
>
> Each layer, when the parser creates its mesh, contains one and only one. In this
> way I can decide if the parser creates it with triangle or smooth triangle. It
> depends on the object, if it has to be tapered.

interesting.  I still think (well, "gut feeling" :-)) that having mesh and
colour/transparency data separate, to be "re-united" perhaps at a later point,
would make working with the (basic) objects so much easier.

also, as you'll be working on the export functionality, perhaps "plan for the
future" and namespace your objects ?  Cousin Ricky posted[*] a pretty neat
summary of "the rules" for making POV-Ray include files "live together happily".

[*] <news.povray.org/64014f55%40news.povray.org>


regards, jr.


Post a reply to this message

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