POV-Ray : Newsgroups : povray.advanced-users : 2D graphical elements Server Time
23 Nov 2024 22:36:27 EST (-0500)
  2D graphical elements (Message 1 to 10 of 20)  
Goto Latest 10 Messages Next 10 Messages >>>
From: SharkD
Subject: 2D graphical elements
Date: 10 Feb 2011 20:25:08
Message: <4d548ff4$1@news.povray.org>
I think it would be good to have a series of 2D graphical elements to 
use to display on-screen elements like text, arrows, guidelines, etc. 
for creating diagrams and such. But, it would be kind of complicated 
with POV-Ray's existing 3D elements.

Anyone want to help with such a project?

I'm thinking that copying SVG's syntax would be good. Positing them on 
the screen would also be difficult.


-- 
http://isometricland.com


Post a reply to this message

From: Le Forgeron
Subject: Re: 2D graphical elements
Date: 11 Feb 2011 03:58:12
Message: <4d54fa24$1@news.povray.org>
Le 11/02/2011 02:25, SharkD a écrit :
> I think it would be good to have a series of 2D graphical elements to
> use to display on-screen elements like text, arrows, guidelines, etc.
> for creating diagrams and such. But, it would be kind of complicated
> with POV-Ray's existing 3D elements.
> 
> Anyone want to help with such a project?
> 
> I'm thinking that copying SVG's syntax would be good. Positing them on
> the screen would also be difficult.
> 
> 

Flyspray #63 get closed because of lack of answer from OP (guess who
opened it ?) (more about SVG in it!)

Have you investigated the screen.inc from the distribution ?


-- 
Software is like dirt - it costs time and money to change it and move it
around.

Just because you can't see it, it doesn't weigh anything,
and you can't drill a hole in it and stick a rivet into it doesn't mean
it's free.


Post a reply to this message

From: Trevor G Quayle
Subject: Re: 2D graphical elements
Date: 11 Feb 2011 08:40:00
Message: <web.4d553b451ecabac281c811d20@news.povray.org>
Le_Forgeron <lef### [at] freefr> wrote:
> Le 11/02/2011 02:25, SharkD a écrit :
> > I think it would be good to have a series of 2D graphical elements to
> > use to display on-screen elements like text, arrows, guidelines, etc.
> > for creating diagrams and such. But, it would be kind of complicated
> > with POV-Ray's existing 3D elements.
> >
> > Anyone want to help with such a project?
> >
> > I'm thinking that copying SVG's syntax would be good. Positing them on
> > the screen would also be difficult.
> >
> >
>
> Flyspray #63 get closed because of lack of answer from OP (guess who
> opened it ?) (more about SVG in it!)
>
> Have you investigated the screen.inc from the distribution ?
>
>
> --
> Software is like dirt - it costs time and money to change it and move it
> around.
>
> Just because you can't see it, it doesn't weigh anything,
> and you can't drill a hole in it and stick a rivet into it doesn't mean
> it's free.

The problem with screen.inc or any other method that places an actual object on
the image, is that it falls apart when using focal blur.
It would be nice to have a way of adding 2D elements to the image that can be
done easily, and are not affected by the camera.

-tgq


Post a reply to this message

From: Le Forgeron
Subject: Re: 2D graphical elements
Date: 11 Feb 2011 09:12:27
Message: <4d5543cb@news.povray.org>
Le 11/02/2011 14:36, Trevor G Quayle a écrit :
> Le_Forgeron <lef### [at] freefr> wrote:
>> Le 11/02/2011 02:25, SharkD a écrit :
>>> I think it would be good to have a series of 2D graphical elements to
>>> use to display on-screen elements like text, arrows, guidelines, etc.
>>> for creating diagrams and such. But, it would be kind of complicated
>>> with POV-Ray's existing 3D elements.
>>>
>>> Anyone want to help with such a project?
>>>
>>> I'm thinking that copying SVG's syntax would be good. Positing them on
>>> the screen would also be difficult.
>>>
>>>
>>
>> Flyspray #63 get closed because of lack of answer from OP (guess who
>> opened it ?) (more about SVG in it!)
>>
>> Have you investigated the screen.inc from the distribution ?
>>
>>

> The problem with screen.inc or any other method that places an actual object on
> the image, is that it falls apart when using focal blur.
> It would be nice to have a way of adding 2D elements to the image that can be
> done easily, and are not affected by the camera.

Huh ?
If it is not to be affected by the camera, it will not stand with focal
blur.

Oh! *Some thoughts get into a brain somewhere lost deep in the universe*

if you just want a way to add 2D elements to an image, I would suggest
learning imagemagick script and using the post-render script facility of
povray (does it work yet within 3.7RC3 ?).

Do not ask a 3D renderer to do the job of a 2D picture editor.


-- 
Software is like dirt - it costs time and money to change it and move it
around.

Just because you can't see it, it doesn't weigh anything,
and you can't drill a hole in it and stick a rivet into it doesn't mean
it's free.


Post a reply to this message

From: clipka
Subject: Re: 2D graphical elements
Date: 11 Feb 2011 09:29:49
Message: <4d5547dd@news.povray.org>
Am 11.02.2011 14:36, schrieb Trevor G Quayle:

> The problem with screen.inc or any other method that places an actual object on
> the image, is that it falls apart when using focal blur.
> It would be nice to have a way of adding 2D elements to the image that can be
> done easily, and are not affected by the camera.

There is: Use an SVG tool to convert to rasterized image with alpha 
channel, and use an image processing tool to overlay...

(Hit: There do exist such tools for batch processing, so you can 
instruct POV-Ray to automatically run those after rendering of each frame.)

Remember that POV-Ray is not a swiss army knife for image generation - 
it's a 3D renderer.


Post a reply to this message

From: Trevor G Quayle
Subject: Re: 2D graphical elements
Date: 11 Feb 2011 10:40:01
Message: <web.4d55577b1ecabac281c811d20@news.povray.org>
Le_Forgeron <lef### [at] freefr> wrote:
> Huh ?
> If it is not to be affected by the camera, it will not stand with focal
> blur.
>
> Oh! *Some thoughts get into a brain somewhere lost deep in the universe*
>
> if you just want a way to add 2D elements to an image, I would suggest
> learning imagemagick script and using the post-render script facility of
> povray (does it work yet within 3.7RC3 ?).
>
> Do not ask a 3D renderer to do the job of a 2D picture editor.
>
>

I wouldn't really ask it to do much, but something I would use it for is
labelling images when I'm running test renders.  Simetimes I do this in batches
and would like paramters used printed directly on the image for reference.  I
know there are other ways to do it, and it can be faked in POV with certain
restrictions.

EG, in these images
(http://news.povray.org/povray.binaries.images/attachment/%3Cweb.4d52afc268e3dc0b81c811d20%40news.povray.org%3E/envmape
x.png)
I used POV to print the note on the bottom for ease (I know I could do it in an
external program).  I can live without it, but it's just something nice to have
available.

As an aside, megaPOV had a "camera_view" pigment, where you can the pigment is a
POV camera.   I used this to make cross-stereo images in one shot: Use an
orthographic camera on a box and texture each half of the box with a slightly
different camera perspective on the actual scene (just had to make sure my box
didn't impede in the scene.  This was also able to be used to do 2D labelling by
reverse: orthographic camera on a box textured with camera pigment, with any 2D
text layered over.



-tgq


Post a reply to this message

From: Christian Froeschlin
Subject: Re: 2D graphical elements
Date: 11 Feb 2011 16:11:53
Message: <4d55a619$1@news.povray.org>
Trevor G Quayle wrote:

> The problem with screen.inc or any other method that places an actual object on
> the image, is that it falls apart when using focal blur.

If you want to do this without external tools, you can
separate 2d postprocessing from the actual image rendering
using render 2 passes.


Post a reply to this message

From: SharkD
Subject: Re: 2D graphical elements
Date: 12 Feb 2011 01:55:01
Message: <web.4d562e9f1ecabac2edd3f3390@news.povray.org>
Le_Forgeron <lef### [at] freefr> wrote:
> Huh ?
> If it is not to be affected by the camera, it will not stand with focal
> blur.
>
> Oh! *Some thoughts get into a brain somewhere lost deep in the universe*
>
> if you just want a way to add 2D elements to an image, I would suggest
> learning imagemagick script and using the post-render script facility of
> povray (does it work yet within 3.7RC3 ?).
>
> Do not ask a 3D renderer to do the job of a 2D picture editor.
>
>
> --
> Software is like dirt - it costs time and money to change it and move it
> around.
>
> Just because you can't see it, it doesn't weigh anything,
> and you can't drill a hole in it and stick a rivet into it doesn't mean
> it's free.

The problem with third party tools is that if you are sharing your files you
have to show the users how to set up and use them.

Also, if you make modifications to the original scene, then you have to update
all your 2D images to match it. And you have to do that each time.

Major pain in the a**, IMO.


Post a reply to this message

From: SharkD
Subject: Re: 2D graphical elements
Date: 12 Feb 2011 02:00:06
Message: <web.4d562f101ecabac2edd3f3390@news.povray.org>
"Trevor G Quayle" <Tin### [at] hotmailcom> wrote:
> The problem with screen.inc or any other method that places an actual object on
> the image, is that it falls apart when using focal blur.
> It would be nice to have a way of adding 2D elements to the image that can be
> done easily, and are not affected by the camera.
>
> -tgq


I was wondering if the best way were to create geometry (i.e. an intersection of
3D objects with a plane), or to create everything somehow using image maps.


Post a reply to this message

From: SharkD
Subject: Re: 2D graphical elements
Date: 12 Feb 2011 02:00:10
Message: <web.4d562f3b1ecabac2edd3f3390@news.povray.org>
Le_Forgeron <lef### [at] freefr> wrote:
> Flyspray #63 get closed because of lack of answer from OP (guess who
> opened it ?) (more about SVG in it!)

What the heck does this have to do with Flyspray? I'm not making a feature
request.


Post a reply to this message

Goto Latest 10 Messages Next 10 Messages >>>

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