POV-Ray : Newsgroups : povray.general : OpenGL preview in POV-Ray Server Time
17 Nov 2024 09:18:27 EST (-0500)
  OpenGL preview in POV-Ray (Message 1 to 10 of 38)  
Goto Latest 10 Messages Next 10 Messages >>>
From: Ray Gardener
Subject: OpenGL preview in POV-Ray
Date: 6 Jun 2003 04:01:34
Message: <3ee04a5e$1@news.povray.org>
http://www.daylongraphics.com/products/leveller/render/rwin_halfway.gif

As part of the scanline research, I've got
OpenGL wireframe previewing starting to
work in POV-Ray.

--
Ray Gardener
Daylon Graphics Ltd.
"Heightfield modeling perfected"
http://www.daylongraphics.com


Post a reply to this message

From: ABX
Subject: Re: OpenGL preview in POV-Ray
Date: 6 Jun 2003 05:13:29
Message: <olm0ev825ssocv8b16rj59lpbcdn7c37p7@4ax.com>
On Fri, 6 Jun 2003 01:01:56 -0700, "Ray Gardener" <ray### [at] daylongraphicscom>
wrote:
> http://www.daylongraphics.com/products/leveller/render/rwin_halfway.gif
>
> As part of the scanline research, I've got
> OpenGL wireframe previewing starting to
> work in POV-Ray.

IIRC You can look at Moray for comparison.

ABX


Post a reply to this message

From: fabien Henon
Subject: Re: OpenGL preview in POV-Ray
Date: 6 Jun 2003 06:20:48
Message: <3ee06b00@news.povray.org>
Ray Gardener wrote:
> http://www.daylongraphics.com/products/leveller/render/rwin_halfway.gif
> 
> As part of the scanline research, I've got
> OpenGL wireframe previewing starting to
> work in POV-Ray.
> 
> --
> Ray Gardener
> Daylon Graphics Ltd.
> "Heightfield modeling perfected"
> http://www.daylongraphics.com
> 
> 
I have not read the previous (long) thread but that looks very 
promising, and useful .... especially when you have to build a scene and 
place objects in it.


Is there any hope that we see a *nix version of your patch ?

Fabien


Post a reply to this message

From: Christoph Hormann
Subject: Re: OpenGL preview in POV-Ray
Date: 6 Jun 2003 07:51:17
Message: <3EE0805D.D0A18F20@gmx.de>
Ray Gardener wrote:
> 
> http://www.daylongraphics.com/products/leveller/render/rwin_halfway.gif
> 
> As part of the scanline research, I've got
> OpenGL wireframe previewing starting to
> work in POV-Ray.

Looks promising but how does it show infinite objects (plane, poly),
special shapes (blob, julia_fractal, isosurface) and CSG?

And most important: how does it it invoke OpenGL - i hope in a portable
way so it also works on Mac and Unix.

Christoph

-- 
POV-Ray tutorials, include files, Sim-POV,
HCR-Edit and more: http://www.tu-bs.de/~y0013390/
Last updated 28 Feb. 2003 _____./\/^>_*_<^\/\.______


Post a reply to this message

From: ABX
Subject: Re: OpenGL preview in POV-Ray
Date: 6 Jun 2003 07:59:43
Message: <a901evord8lt6rjo2scdqt6c94ls4mrmu0@4ax.com>
On Fri, 06 Jun 2003 13:51:57 +0200, Christoph Hormann <chr### [at] gmxde>
wrote:
> > http://www.daylongraphics.com/products/leveller/render/rwin_halfway.gif
> > 
> > As part of the scanline research, I've got
> > OpenGL wireframe previewing starting to
> > work in POV-Ray.
>
> Looks promising but how does it show infinite objects (plane, poly),
> special shapes (blob, julia_fractal, isosurface) and CSG?
>
> And most important: how does it it invoke OpenGL - i hope in a portable
> way so it also works on Mac and Unix.

My question is about storing data necessary for OpenGL preview. How memory
consumption increased (let's say for single tree in gilles macro)? Is memory
allocated only during previewing? Some measurements could be interesting.

ABX


Post a reply to this message

From: Warp
Subject: Re: OpenGL preview in POV-Ray
Date: 6 Jun 2003 13:28:07
Message: <3ee0cf26@news.povray.org>
I really hope that you made it with system-independent OpenGL code
(eg. by using the GLUT library or whatever).
  Since this kind of thing can be done system-independently, it would be
a shame if you made Windows-only code.

-- 
#macro M(A,N,D,L)plane{-z,-9pigment{mandel L*9translate N color_map{[0rgb x]
[1rgb 9]}scale<D,D*3D>*1e3}rotate y*A*8}#end M(-3<1.206434.28623>70,7)M(
-1<.7438.1795>1,20)M(1<.77595.13699>30,20)M(3<.75923.07145>80,99)// - Warp -


Post a reply to this message

From: ingo
Subject: Re: OpenGL preview in POV-Ray
Date: 6 Jun 2003 19:16:40
Message: <Xns9393D8B68C72seed7@povray.org>
in news:3ee0cf26@news.povray.org Warp wrote:

>   I really hope that you made it with system-independent OpenGL code
> 

To be honest, I realy wonder why this question, in different forms, has 
come up a few times now as a reaction to a first try / initial test. As 
Ray has stated in several other postings, you all have read, he is fully 
aware of the fact that POV-Ray is / should be / stay a platform 
independent piece of software. And if, for some reason, it is not platform 
independent, I'll hope someone will jump in and help him in making it so.

Ingo


Post a reply to this message

From: Ray Gardener
Subject: Re: OpenGL preview in POV-Ray
Date: 6 Jun 2003 19:41:35
Message: <3ee126af$1@news.povray.org>
> >   I really hope that you made it with system-independent OpenGL code
> >

I'm not using any Win32-specific OpenGL extensions
(I don't even know what they are or if they
even exist, actually).

Considering OpenGL's portability and hardware support,
it's the best choice all around.

Oh, look... DirectX... hmm... (insert evil laugh)


Ray


Post a reply to this message

From: Warp
Subject: Re: OpenGL preview in POV-Ray
Date: 6 Jun 2003 19:45:42
Message: <3ee127a6@news.povray.org>
Ray Gardener <ray### [at] daylongraphicscom> wrote:
> I'm not using any Win32-specific OpenGL extensions
> (I don't even know what they are or if they
> even exist, actually).

  How do you open the window and give the OpenGL library a handle to it?
Certainly the OpenGL library itself has no function to open windows.

-- 
#macro M(A,N,D,L)plane{-z,-9pigment{mandel L*9translate N color_map{[0rgb x]
[1rgb 9]}scale<D,D*3D>*1e3}rotate y*A*8}#end M(-3<1.206434.28623>70,7)M(
-1<.7438.1795>1,20)M(1<.77595.13699>30,20)M(3<.75923.07145>80,99)// - Warp -


Post a reply to this message

From: Ray Gardener
Subject: Re: OpenGL preview in POV-Ray
Date: 6 Jun 2003 20:39:27
Message: <3ee1343f@news.povray.org>
>   How do you open the window and give the OpenGL library a handle to it?
> Certainly the OpenGL library itself has no function to open windows.


Didn't I already mention that the rendercontext
setup/teardown calls are the platform-specific ones that
(unfortunately) did have to be used?

WinPOV has a bunch of Win32-specific modules
to implement the user interface. That's
where the window and its handle comes from.
So this is not just a POV patch, but
a WinPOV patch too.

But by using the existing render window,
I'm minimizing the amount of Win-specific
code added to WinPOV. Otherwise I'd have
to create an HWND, give it a wndproc routine,
destroy it, etc. etc.

Ray


Post a reply to this message

Goto Latest 10 Messages Next 10 Messages >>>

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