POV-Ray : Newsgroups : povray.programming : GUI-extension DLL? Server Time
28 Jul 2024 14:18:25 EDT (-0400)
  GUI-extension DLL? (Message 4 to 13 of 13)  
<<< Previous 3 Messages Goto Initial 10 Messages
From: KEn
Subject: Re: GUI-extension DLL?
Date: 7 Nov 2001 22:16:44
Message: <3BE9F942.3B9D483@pacbell.net>
Mahalis wrote:
> 
> Where's the source? The POV page doesn't exactly have flashing signs
> pointing to it..

povwin_s.zip - ftp://povray.org/pub/povray/Official/Windows/

-- 
Ken Tyler


Post a reply to this message

From: Mahalis
Subject: Re: GUI-extension DLL?
Date: 7 Nov 2001 22:45:09
Message: <3be9ffc5$1@news.povray.org>
Well, I got it, but the only documents had nothing about GUI-Es and I can't
really read (or at least understand) C/C++. Could you explain a bit further?

--

//Mahalis
camera{location<0,0.25,-2> look_at 0.5*y} #declare T=texture{pigment{crackle
scale 0.5 rotate 90 turbulence 0.75 color_map{[0 rgb 1][0.05 rgb 1][0.1
rgb<1,0.25,1>][0.25 rgbf 1][1 rgbf 1]}} finish{ambient 1}} #declare
c=difference{torus{0.5,0.1 rotate -90*x}box{<0.7,0,0.2>,<-0.7,-0.7,-0.2>}}
merge{object{c translate<0.5,0.5,0>} object{c translate<-0.5,0.5,0>}
cylinder{<1,0.5,0>,<1,0,0>,0.1} cylinder{<-1,0.5,0>,<-1,0,0>,0.1}
cylinder{0.5*y,0,0.1} texture{T}}
--


"KEn" <tyl### [at] pacbellnet> wrote in message
news:3BE### [at] pacbellnet...
>
>
> Mahalis wrote:
> >
> > Where's the source? The POV page doesn't exactly have flashing signs
> > pointing to it..
>
> povwin_s.zip - ftp://povray.org/pub/povray/Official/Windows/
>
> --
> Ken Tyler


Post a reply to this message

From: Ken
Subject: Re: GUI-extension DLL?
Date: 7 Nov 2001 22:51:13
Message: <3BEA0158.9F742A8F@pacbell.net>
Mahalis wrote:

> Could you explain a bit further?

Not me, sorry. I know how to find resources on the internet but don't know
a thing about programming.

-- 
Ken Tyler


Post a reply to this message

From: Mahalis
Subject: Re: GUI-extension DLL?
Date: 7 Nov 2001 22:57:59
Message: <3bea02c7$1@news.povray.org>
Oh poo. Who wrote Moray and how can I get in touch with them?

--

//Mahalis
camera{location<0,0.25,-2> look_at 0.5*y} #declare T=texture{pigment{crackle
scale 0.5 rotate 90 turbulence 0.75 color_map{[0 rgb 1][0.05 rgb 1][0.1
rgb<1,0.25,1>][0.25 rgbf 1][1 rgbf 1]}} finish{ambient 1}} #declare
c=difference{torus{0.5,0.1 rotate -90*x}box{<0.7,0,0.2>,<-0.7,-0.7,-0.2>}}
merge{object{c translate<0.5,0.5,0>} object{c translate<-0.5,0.5,0>}
cylinder{<1,0.5,0>,<1,0,0>,0.1} cylinder{<-1,0.5,0>,<-1,0,0>,0.1}
cylinder{0.5*y,0,0.1} texture{T}}
--


"Ken" <tyl### [at] pacbellnet> wrote in message
news:3BEA0158.9F742A8F@pacbell.net...
>
>
> Mahalis wrote:
>
> > Could you explain a bit further?
>
> Not me, sorry. I know how to find resources on the internet but don't know
> a thing about programming.
>
> --
> Ken Tyler


Post a reply to this message

From: Christoph Hormann
Subject: Re: GUI-extension DLL?
Date: 8 Nov 2001 03:27:32
Message: <3BEA41F3.E50AEE7F@gmx.de>
Mahalis wrote:
> 
> Well, I got it, but the only documents had nothing about GUI-Es and I can't
> really read (or at least understand) C/C++. Could you explain a bit further?
> 

In case this helps, there's a Delphi translation of the GUI extension code
somewhere in povray.binaries.programming.

Christoph

-- 
Christoph Hormann <chr### [at] gmxde>
IsoWood include, radiosity tutorial, TransSkin and other 
things on: http://www.schunter.etc.tu-bs.de/~chris/


Post a reply to this message

From: Lutz Kretzschmar
Subject: Re: GUI-extension DLL?
Date: 8 Nov 2001 04:07:56
Message: <rsikut82tdebpojsaso85qf49ntkg2maap@4ax.com>
Hi Mahalis, you recently wrote in povray.programming:

> Oh poo. Who wrote Moray and how can I get in touch with them?
I did, but I'm afraid I can't be any help either. I have zero idea
whether VB is up to this or not. The only documentation is the
well-commented source code of the sample extension which should be
enough for a C/C++ programmer to figure it out....

- Lutz
  email : lut### [at] stmuccom
  Web   : http://www.stmuc.com/moray


Post a reply to this message

From: Batronyx
Subject: Re: GUI-extension DLL?
Date: 9 Nov 2001 00:42:26
Message: <3beb6cc2@news.povray.org>
"Mahalis" <don### [at] fakeycom> wrote in message
news:3be940c4$1@news.povray.org...
> I'd like to make a 'color picker' GUI-extension for POV, but I have a few
> questions first.
>
> 1: Is there an explanation somewhere of what exactly has to go in to make a
> DLL a GUI-extension?
> 2: Would VB 6.0 be able to compile to such a DLL?

As far as I know VB 6.0 only does ActiveX DLLs. I know nothing of WinPOV's GUI
extension requirements so I couldn't say if this was feasible or not. Meanwhile,
you could create the color picker as a standalone app and add it to the tools
menu, transferring color data via the clipboard.

Batronyx ^"^


Post a reply to this message

From: Thorsten Froehlich
Subject: Re: GUI-extension DLL?
Date: 9 Nov 2001 05:50:14
Message: <3bebb4e6@news.povray.org>
In article <rsikut82tdebpojsaso85qf49ntkg2maap@4ax.com> , Lutz Kretzschmar
<lut### [at] stmuccom>  wrote:

> I did, but I'm afraid I can't be any help either. I have zero idea
> whether VB is up to this or not.

It is possible to interface abritrary DLLs to VB.  It should be covered in
any "advanced" VB book.  Or, try some of the tutorials on the web.
Basically all you need to do is write function prototypes.  I.e.e see the
section titles "Using Your DLL in Your VB Programs" on
<http://www.boondog.com/..%5Ctutorials%5Cdlltutor%5Cdlltutor.htm>.  Of
course, this still requires a bit of understadning of C in order to create a
matching VB function prototypes.  but this tutorial should be a good start.

For more, try this search:

<http://www.google.com/search?q=visual+basic+DLL+interface&btnG=G>


    Thorsten


____________________________________________________
Thorsten Froehlich, Duisburg, Germany
e-mail: tho### [at] trfde

Visit POV-Ray on the web: http://mac.povray.org


Post a reply to this message

From: Mahalis
Subject: Re: GUI-extension DLL?
Date: 9 Nov 2001 06:31:01
Message: <3bebbe75@news.povray.org>
Oh, I see. Thanks. I'll try it.

--

//Mahalis
camera{location<0,0.25,-2> look_at 0.5*y} #declare T=texture{pigment{crackle
scale 0.5 rotate 90 turbulence 0.75 color_map{[0 rgb 1][0.05 rgb 1][0.1
rgb<1,0.25,1>][0.25 rgbf 1][1 rgbf 1]}} finish{ambient 1}} #declare
c=difference{torus{0.5,0.1 rotate -90*x}box{<0.7,0,0.2>,<-0.7,-0.7,-0.2>}}
merge{object{c translate<0.5,0.5,0>} object{c translate<-0.5,0.5,0>}
cylinder{<1,0.5,0>,<1,0,0>,0.1} cylinder{<-1,0.5,0>,<-1,0,0>,0.1}
cylinder{0.5*y,0,0.1} texture{T}}
--


"Batronyx" <bat### [at] alliancecablenet> wrote in message
news:3beb6cc2@news.povray.org...
> As far as I know VB 6.0 only does ActiveX DLLs. I know nothing of WinPOV's
GUI
> extension requirements so I couldn't say if this was feasible or not.
Meanwhile,
> you could create the color picker as a standalone app and add it to the
tools
> menu, transferring color data via the clipboard.
>
> Batronyx ^"^


Post a reply to this message

From: Lutz Kretzschmar
Subject: Re: GUI-extension DLL?
Date: 9 Nov 2001 12:55:23
Message: <a66out42vp72l9l7t3957e7ok92lrikbj3@4ax.com>
Hi Thorsten Froehlich, you recently wrote in povray.programming:

> It is possible to interface abritrary DLLs to VB.  It should be covered in
> any "advanced" VB book.  Or, try some of the tutorials on the web.
Thanks for the hints, maybe Mahalis can do something with those
resources. As for me I'll stick to C++ :-)

Regards,

- Lutz
  email : lut### [at] stmuccom
  Web   : http://www.stmuc.com/moray


Post a reply to this message

<<< Previous 3 Messages Goto Initial 10 Messages

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