POV-Ray : Newsgroups : povray.programming : Rendering to My App's Window Server Time
24 Dec 2024 12:12:29 EST (-0500)
  Rendering to My App's Window (Message 1 to 4 of 4)  
From: Cris Williams
Subject: Rendering to My App's Window
Date: 16 Nov 2001 10:47:29
Message: <3bf53511@news.povray.org>
I would like to have Pov render into a window in a program that I am working
on.  I have seen this done in Moray and BioWin.  Is this done using Pov's
GUI extension?  If so, can anyone give me some hints on what needs to be
done to accomplish this?  I have looked at the Pov for Windows source for
the sample extension, but I'm still not sure how to proceed.  I'm using VC++
6.0 in W2K.  Thanks.

Cris Williams


Post a reply to this message

From:
Subject: Re: Rendering to My App's Window
Date: 16 Nov 2001 11:07:46
Message: <ovdavtgkd18dhohnm1c80acdjrmnum3l1s@4ax.com>
On Fri, 16 Nov 2001 10:47:46 -0500, "Cris Williams" <wor### [at] netscapenet>
wrote:
> Is this done using Pov's GUI extension?

as mentioned in 3.5 documentation in 1.10.10 chapter :-)

good start should be at http://news.povray.org/search/?s=gui :-)

(such question is good candidate for VFAQ)

ABX
--
#declare _=function(a,b,x){((a^2)+(b^2))^.5-x}#default {pigment{color rgb 1}}
union{plane{y,-3}plane{-x,-3}finish{reflection 1 ambient 0}}isosurface{ //ABX
function{_(x-2,y,1)|_((x+y)*.7,z,.1)|_((x+y+2)*.7,z,.1)|_(x/2+y*.8+1.5,z,.1)}
contained_by{box{<0,-3,-.1>,<3,0,.1>}}translate z*15finish{ambient 1}}//POV35


Post a reply to this message

From: Warp
Subject: Re: Rendering to My App's Window
Date: 16 Nov 2001 17:04:22
Message: <3bf58d65@news.povray.org>

: (such question is good candidate for VFAQ)

  I can add it if someone gives me a good, concise and complete answer.

-- 
#macro N(D,I)#if(I<6)cylinder{M()#local D[I]=div(D[I],104);M().5,2pigment{
rgb M()}}N(D,(D[I]>99?I:I+1))#end#end#macro M()<mod(D[I],13)-6,mod(div(D[I
],13),8)-3,10>#end blob{N(array[6]{11117333955,
7382340,3358,3900569407,970,4254934330},0)}//                     - Warp -


Post a reply to this message

From: Cris Williams
Subject: Re: Rendering to My App's Window
Date: 18 Nov 2001 13:50:34
Message: <3bf802fa@news.povray.org>
It would be nice if it could be set up so all you needed to do was provide a
string pointer to the pov scene to be rendered and a device context pointer
to the window that you wanted it rendered into.  Okay, and maybe a string
pointer to a set of command line switches.  Anyway, just wishful thinking...

Cris Williams

"Warp" <war### [at] tagpovrayorg> wrote in message
news:3bf58d65@news.povray.org...

> : (such question is good candidate for VFAQ)
>
>   I can add it if someone gives me a good, concise and complete answer.
>
> --
> #macro N(D,I)#if(I<6)cylinder{M()#local D[I]=div(D[I],104);M().5,2pigment{
> rgb M()}}N(D,(D[I]>99?I:I+1))#end#end#macro M()<mod(D[I],13)-6,mod(div(D[I
> ],13),8)-3,10>#end blob{N(array[6]{11117333955,
> 7382340,3358,3900569407,970,4254934330},0)}//                     - Warp -


Post a reply to this message

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