POV-Ray : Newsgroups : povray.tools.general : using povray with openGL Server Time: 19 Dec 2018 12:22:46 GMT
  using povray with openGL (Message 1 to 10 of 11)  
Goto Latest 10 Messages Next 1 Messages >>>
From: Meher
Subject: using povray with openGL
Date: 17 Apr 2017 14:55:01
Message: <web.58f4d6285787c58f272b73e40@news.povray.org>
For a course assignment, I need to render a scene in openGL and then add global
illumination (of any kind i.e., photon mapping, radiosity etc.) to the scene
using povray. I'm new to povray and I couldn't find any way of doing this. Can
anyone help me out with this? Thanks in advance.


Post a reply to this message

From: Stephen
Subject: Re: using povray with openGL
Date: 17 Apr 2017 15:07:29
Message: <58f4da31$1@news.povray.org>
On 4/17/2017 3:50 PM, Meher wrote:
> For a course assignment, I need to render a scene in openGL and then add global
> illumination (of any kind i.e., photon mapping, radiosity etc.) to the scene
> using povray. I'm new to povray and I couldn't find any way of doing this. Can
> anyone help me out with this? Thanks in advance.
>
>
I am slightly confused. PovRay and openGL are two different rendering 
methods.
What is your course assignment, how is it worded?

-- 

Regards
     Stephen


Post a reply to this message

From: Meher
Subject: Re: using povray with openGL
Date: 17 Apr 2017 17:45:00
Message: <web.58f4feccc5305a91272b73e40@news.povray.org>
Stephen <mca### [at] aolcom> wrote:
> On 4/17/2017 3:50 PM, Meher wrote:
> > For a course assignment, I need to render a scene in openGL and then add global
> > illumination (of any kind i.e., photon mapping, radiosity etc.) to the scene
> > using povray. I'm new to povray and I couldn't find any way of doing this. Can
> > anyone help me out with this? Thanks in advance.
> >
> >
> I am slightly confused. PovRay and openGL are two different rendering
> methods.
> What is your course assignment, how is it worded?
>
> --
>
> Regards
>      Stephen

The assignment tells us to implement a research paper (from a given list) and
then add global illumination to the rendering. The paper we chose is
http://dl.acm.org/citation.cfm?id=344795. In the paper, the rendering method is
explained for openGL and when we asked our professor he told us to implement the
method from the paper in openGL and then add global illumination using povray.
So, now we're kind of stuck as we don't know how to do that.

Thanks,
Meher.


Post a reply to this message

From: Stephen
Subject: Re: using povray with openGL
Date: 17 Apr 2017 19:10:11
Message: <58f51313$1@news.povray.org>
On 4/17/2017 6:43 PM, Meher wrote:
> Stephen <mca### [at] aolcom> wrote:
>> On 4/17/2017 3:50 PM, Meher wrote:
>>> For a course assignment, I need to render a scene in openGL and then add global
>>> illumination (of any kind i.e., photon mapping, radiosity etc.) to the scene
>>> using povray. I'm new to povray and I couldn't find any way of doing this. Can
>>> anyone help me out with this? Thanks in advance.
>>>
>>>
>> I am slightly confused. PovRay and openGL are two different rendering
>> methods.
>> What is your course assignment, how is it worded?
>>
>> --
>>
>> Regards
>>       Stephen
>
> The assignment tells us to implement a research paper (from a given list) and
> then add global illumination to the rendering. The paper we chose is
> http://dl.acm.org/citation.cfm?id=344795. In the paper, the rendering method is
> explained for openGL and when we asked our professor he told us to implement the
> method from the paper in openGL and then add global illumination using povray.
> So, now we're kind of stuck as we don't know how to do that.
>

I am just guessing, here and I would ask for clarification from your 
tutor first.

If the paper describes how to create an object that can be exported as a 
mesh or an isosurface or a density file. You could implement your 
software to build your cloud and display it in OpenGL then export it as 
SDL to PovRay. Where it can be raytraced with global illumination.


-- 

Regards
     Stephen


Post a reply to this message

From: Bald Eagle
Subject: Re: using povray with openGL
Date: 17 Apr 2017 19:35:00
Message: <web.58f517e0c5305a91c437ac910@news.povray.org>
Paper here:
http://nis-ei.eng.hokudai.ac.jp/~doba/papers/sig00_cloud.pdf

I'm guessing they want you to do it in OpenGL, and then do it (again / over) in
SDL with global illuminatinon to see the difference and compare / contrast the
ease/difficulty of the 2 methods.


Post a reply to this message

From: Stephen
Subject: Re: using povray with openGL
Date: 17 Apr 2017 21:47:38
Message: <58f537fa$1@news.povray.org>
On 4/17/2017 8:30 PM, Bald Eagle wrote:
> Paper here:
> http://nis-ei.eng.hokudai.ac.jp/~doba/papers/sig00_cloud.pdf
>
> I'm guessing they want you to do it in OpenGL, and then do it (again / over) in
> SDL with global illuminatinon to see the difference and compare / contrast the
> ease/difficulty of the 2 methods.
>

You can never tell about motivation. ;)

Do you think it would be cheating to do the calculations for the cloud, 
in the OpenGL program. Then export the data as a density file or as a 
matrix of blob (metaball) components. For PovRay to read?



-- 

Regards
     Stephen


Post a reply to this message

From: Bald Eagle
Subject: Re: using povray with openGL
Date: 18 Apr 2017 11:55:01
Message: <web.58f5fe5dc5305a91c437ac910@news.povray.org>
Stephen <mca### [at] aolcom> wrote:

> Then export the data as a density file or as a
> matrix of blob (metaball) components. For PovRay to read?

Who are you?   Christopher Walken?   :D

As you say, we don't know the instructor's motivation.

My motivation would be to have them write it out in SDL .... so we can check
their code and make sure that it's correct   ;)


Post a reply to this message

From: Stephen
Subject: Re: using povray with openGL
Date: 18 Apr 2017 14:44:33
Message: <58f62651$1@news.povray.org>
On 4/18/2017 12:54 PM, Bald Eagle wrote:
> Stephen <mca### [at] aolcom> wrote:
>
>> Then export the data as a density file or as a
>> matrix of blob (metaball) components. For PovRay to read?
>
> Who are you?   Christopher Walken?   :D
>

No, Carlos the Terrorist. (I've just got the first two books in Ken 
MacLeod's latest trilogy.)


> As you say, we don't know the instructor's motivation.
>
> My motivation would be to have them write it out in SDL .... so we can check
> their code and make sure that it's correct   ;)
>
>

My take on it would be to write a mini- Moray/Bishop3D/Blender program 
that displayed the scene in OpenGL and exported it to PovRay in SDL.
If that were the case. I would love a cloud generator.


-- 

Regards
     Stephen


Post a reply to this message

From: LanuHum
Subject: Re: using povray with openGL
Date: 18 Apr 2017 17:15:01
Message: <web.58f64889c5305a917a3e03fe0@news.povray.org>
Clouds in Blender:
Manually:
https://www.youtube.com/watch?v=HmIxcUXHRsg
Auto:
use particle system,


Post a reply to this message

From: Kenneth
Subject: Re: using povray with openGL
Date: 19 Apr 2017 03:25:02
Message: <web.58f6d7bbc5305a91883fb31c0@news.povray.org>
"Bald Eagle" <cre### [at] netscapenet> wrote:

>
> My motivation would be to have them write it out in SDL .... so we can check
> their code and make sure that it's correct   ;)

I would agree. I assume that the original paper's 'scene' or code example was
written specifically for rendering in OpenGL (?)  That's completely different
from POV-Ray and its own SDL ("scene description language.") I've never coded
anything for OpenGL, so I don't know how difficult it would be to translate from
one 'scene description' into another. But it doesn't sound like an overnight
assignment!  ;-)

The abstract of the article says (regarding OpenGl rendering):  "This makes it
possible to utilize graphics hardware, resulting in fast image generation." I
assume that means a computer's GPU. POV-ray doesn't actually make use of GPU
instructions or accelleration (as far as I know!)

If it were my assignment, I would mention these caveats to the course instructor
(gently, of course!)


Post a reply to this message

Goto Latest 10 Messages Next 1 Messages >>>

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