|
|
|
|
|
|
| |
| |
|
|
|
|
| |
| |
|
|
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
|
|
| |
| |
|
|
|
|
| |
| |
|
|
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
|
|
| |
| |
|
|
|
|
| |
| |
|
|
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
|
|
| |
| |
|
|
|
|
| |
| |
|
|
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
|
|
| |
| |
|
|
|
|
| |
| |
|
|
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
|
|
| |
| |
|
|
|
|
| |
| |
|
|
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
|
|
| |
| |
|
|
|
|
| |
| |
|
|
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
|
|
| |
| |
|
|
|
|
| |
| |
|
|
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
|
|
| |
| |
|
|
|
|
| |
| |
|
|
Clouds in Blender:
Manually:
https://www.youtube.com/watch?v=HmIxcUXHRsg
Auto:
use particle system,
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
"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
|
|
| |
| |
|
|
|
|
| |