POV-Ray : Newsgroups : povray.advanced-users : 2D graphical elements : Re: 2D graphical elements Server Time
30 Jun 2024 02:31:37 EDT (-0400)
  Re: 2D graphical elements  
From: Alain
Date: 7 Mar 2011 13:12:14
Message: <4d751ffe@news.povray.org>

> clipka<ano### [at] anonymousorg>  wrote:
>> Am 07.03.2011 02:29, schrieb posfan12:
>>> I guess I should have said "in scene" instead of "on screen". I.e. it should be
>>> possible to place the 2D elements *anywhere* in the scene - not just parallel to
>>
>> I guess a macro library would be the way to go there. Making the objects
>> effectively 2D could be achieved by using an almost-zero depth, or
>> intersecting with a simple 2D shape such as a disk or two triangles
>> arranged as a square or something.
>
> If a true zero depth, 2-D object is desired, then the simplest would probably be
> to make the 3D version and intersect it with a 2D box (box with one dimension
> zero)
>
> -tgq
>
>

There IS a zero depth object already available beside the triangle. It's 
called a polygon.
It can have an arbitrary number of edges, receive any pigment, like an 
object pattern for example.

Once created, it can easily be scalled, rotated and mooved around just 
like any other object.

No, a disk is NOT a true 2D object. It have a definite interior just 
like a plane. That interior does extend lateraly beyong the visible part 
and thus will interfere with medias.




Alain


Post a reply to this message

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