  | 
  | 
 | 
  | 
 | 
  | 
 |   | 
 |   | 
 | 
  | 
 | 
  | 
 |   | 
 |   | 
 | 
  | 
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 
 | 
  | 
 |   | 
 |   | 
 | 
  | 
 | 
  | 
 |   | 
 |   | 
 | 
  | 
On Fri, 6 Jun 2003 01:01:56 -0700, "Ray Gardener" <ray### [at] daylongraphics com>
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 
 | 
  | 
 |   | 
 |   | 
 | 
  | 
 | 
  | 
 |   | 
 |   | 
 | 
  | 
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 
 | 
  | 
 |   | 
 |   | 
 | 
  | 
 | 
  | 
 |   | 
 |   | 
 | 
  | 
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 
 | 
  | 
 |   | 
 |   | 
 | 
  | 
 | 
  | 
 |   | 
 |   | 
 | 
  | 
On Fri, 06 Jun 2003 13:51:57 +0200, Christoph Hormann <chr### [at] gmx de>
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 
 | 
  | 
 |   | 
 |   | 
 | 
  | 
 | 
  | 
 |   | 
 |   | 
 | 
  | 
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 
 | 
  | 
 |   | 
 |   | 
 | 
  | 
 | 
  | 
 |   | 
 |   | 
 | 
  | 
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 
 | 
  | 
 |   | 
 |   | 
 | 
  | 
 | 
  | 
 |   | 
 |   | 
 | 
  | 
> >   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 
 | 
  | 
 |   | 
 |   | 
 | 
  | 
 | 
  | 
 |   | 
 |   | 
 | 
  | 
Ray Gardener <ray### [at] daylongraphics com> 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 
 | 
  | 
 |   | 
 |   | 
 | 
  | 
 | 
  | 
 |   | 
 |   | 
 | 
  | 
>   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 
 | 
  | 
 |   | 
 |   | 
 | 
  | 
 | 
  | 
 |   |