POV-Ray : Newsgroups : povray.newusers : ** Visual Basic ** Server Time
29 Nov 2024 17:02:19 EST (-0500)
  ** Visual Basic ** (Message 1 to 10 of 24)  
Goto Latest 10 Messages Next 10 Messages >>>
From: Doug Williams
Subject: ** Visual Basic **
Date: 8 Apr 1998 16:41:28
Message: <352BE0F8.9E5CDFF7@telsurf.net>
Can anyone tell me if POVRAY has any automation or any DDE calls ect for
VB 4.0.
I'd like to increase my knowledge of both programs at the same time.

Thanks,

Doug

dou### [at] identitechcom


Post a reply to this message

From: Ronald L  Parker
Subject: Re: ** Visual Basic **
Date: 8 Apr 1998 17:05:42
Message: <352be2ad.28264271@10.0.2.33>
On Wed, 08 Apr 1998 16:41:28 -0400, Doug Williams
<wil### [at] telsurfnet> wrote:

>Can anyone tell me if POVRAY has any automation or any DDE calls ect for
>VB 4.0.
>I'd like to increase my knowledge of both programs at the same time.

Nope.  That's not a bad idea, though.  What automation functions would
you like to see?  I can see at least having an interface to the kind
of stuff that's available to a GUI-extension.


Post a reply to this message

From: Lance Birch
Subject: Re: ** Visual Basic **
Date: 8 Apr 1998 17:49:04
Message: <6ggrkf$kh3$1@oz.aussie.org>
That sounds like a good idea to me too.  How about things like the time
taken, current PPS, well, yeah, the things for the GUI-Extensions.

COOL!!!

--
Lance Birch
Remove the smiley to e-mail.
http://www1.tpgi.com.au/users/ambient/lance


Post a reply to this message

From: Doug Williams
Subject: Re: ** Visual Basic **
Date: 8 Apr 1998 19:22:12
Message: <352C06A4.55D0A994@identitech.com>
Well since this program is free I can't ask for much.  But I would like to
add a button
to the toolbar and run my own little .dll that would insert text as it would
appear in any
number of fields.  For example, I could write a VB form that already has all
the "finish"
keywords and the fields associated with them.  A user could fill them in and
insert it right
into the document itself.  That's my idea.  I'm new to POVRAY, so I have to
keep going
back and forth to the help documentation to see what keywords go with what.
I'd like to
do that all at once and move on.  Am I delusional or what?

Doug

Ronald L. Parker wrote:

> On Wed, 08 Apr 1998 16:41:28 -0400, Doug Williams
> <wil### [at] telsurfnet> wrote:
>
> >Can anyone tell me if POVRAY has any automation or any DDE calls ect for
> >VB 4.0.
> >I'd like to increase my knowledge of both programs at the same time.
>
> Nope.  That's not a bad idea, though.  What automation functions would
> you like to see?  I can see at least having an interface to the kind
> of stuff that's available to a GUI-extension.


Post a reply to this message

From: Twyst
Subject: Re: ** Visual Basic **
Date: 8 Apr 1998 23:12:49
Message: <6ghb1h$l4d$1@oz.aussie.org>
Doug Williams wrote in message <352C06A4.55D0A994@identitech.com>...
>Well since this program is free I can't ask for much.  But I would like to
>add a button
>to the toolbar and run my own little .dll that would insert text as it
would
>appear in any
>number of fields.

Well, the problem with that is the editor in Pov-Ray is a Delphi .DLL.
Unfortunately, it appears that only this DLL has "permission" to write to
the editor.. As i saw earlier ( in the gui.extentions group) It's not
possible to do this. Am I wrong? Did I misread this?

Twyst================================
EFnet and NewNet #povray Channel Operator
Website: http://twyst.home.ml.org
E-Mail: twy### [at] v-wavecom
=====================================


Post a reply to this message

From: Doug Williams
Subject: Re: ** Visual Basic **
Date: 9 Apr 1998 08:00:01
Message: <352CB840.2A445FB@identitech.com>
I'm not sure.


Twyst wrote:

> Well, the problem with that is the editor in Pov-Ray is a Delphi .DLL.
> Unfortunately, it appears that only this DLL has "permission" to write to
> the editor.. As i saw earlier ( in the gui.extentions group) It's not
> possible to do this. Am I wrong? Did I misread this?
>
> Twyst================================
> EFnet and NewNet #povray Channel Operator
> Website: http://twyst.home.ml.org
> E-Mail: twy### [at] v-wavecom
> =====================================


Post a reply to this message

From: Ronald L  Parker
Subject: Re: ** Visual Basic **
Date: 9 Apr 1998 10:59:55
Message: <352ce00b.5618428@10.0.2.33>
On Wed, 8 Apr 1998 20:12:49 -0700, "Twyst" <sir### [at] hotmailcom>
wrote:

>
>Doug Williams wrote in message <352C06A4.55D0A994@identitech.com>...
>>Well since this program is free I can't ask for much.  But I would like to
>>add a button
>>to the toolbar and run my own little .dll that would insert text as it
>would
>>appear in any
>>number of fields.
>
>Well, the problem with that is the editor in Pov-Ray is a Delphi .DLL.
>Unfortunately, it appears that only this DLL has "permission" to write to
>the editor.. As i saw earlier ( in the gui.extentions group) It's not
>possible to do this. Am I wrong? Did I misread this?

As the one who wrote the message you're referring to, I guess I have
to respond.  You are exactly right; only the DLL has the ability to
write to an editor window.  My philosophy is to wait and see what
happens with POV 3.1, and if that's still the case, someone should
write a replacement editor DLL in C with the same functionality as the
existing one, but with the ability to insert text as well.  If no one
else jumps up, I'll probably take that on myself, because I think
being able to drop in modular object-design components would be a big
win.  Imagine if CTDS or Torpatch were "built in" like this.

In addition to this, I'd like to see a way for a "plugin" to intercept
the code that's about to be rendered, translate parts of it on the
fly, and pass that code to the rendering engine.  This way, you could
have a plugin that does, for example, L-systems, and be able to just
write your tree or whatever in LParser language right in the .POV file
and have it translated into cylinders, cones, and what-have-you "just
in time."  Ditto Torpatch or CTDS, actually.  The thing is, most of
the plugins that allow you to design things using graphical tools
would benefit from being able to insert their code using a notation
that they can parse, so that it can be edited later.  This could also
be accomplished with comments, as in MS Visual C++ ClassWizard, but
then you couldn't "tweak" the generated code.


Post a reply to this message

From: Twyst
Subject: Re: ** Visual Basic **
Date: 9 Apr 1998 15:46:58
Message: <6gj59n$o90$1@oz.aussie.org>
>As the one who wrote the message you're referring to, I guess I have
>to respond.  You are exactly right; only the DLL has the ability to
>write to an editor window.  My philosophy is to wait and see what
>happens with POV 3.1, and if that's still the case, someone should
>write a replacement editor DLL in C with the same functionality as the
>existing one, but with the ability to insert text as well.  If no one
>else jumps up, I'll probably take that on myself, because I think
>being able to drop in modular object-design components would be a big
>win.  Imagine if CTDS or Torpatch were "built in" like this.


Actually, I remember seeing a Class Library for C++ that is a fullt function
editor, and it's free for freeware and shareware developers. =)
it can be found at http://www.sophists.com/Led/LedClassLib. Look there for
info.. I don't know enough C/C++ to integrate it. I'm just basically a
hacker. =P

AS for CTDS.. I'm actually surprised that someone else uses it! I have
written a VERY LIMITED converter for CTDS -> Moray UDO/Pov Inc files. It's
in VB.. It converts it just fine, but I don't know enough math to make the
UDO preview look like more than a line with a box at either end. :/ It also
will only do 1 string, or "worm" (if you use the WORM program), but it will
output either primitives, or blobs, using spheres and cones... ( cylinders
in the blobs). If anyone is interested, I can post the source here. it needs
some MAJOR work. =/ the UI is very basic, and there is minimal error
checking. Basically, I'm stuck at figuring out how to get it to support
multiple objects.

Twyst================================
EFnet and NewNet #povray Channel Operator
Website: http://twyst.home.ml.org
E-Mail: twy### [at] v-wavecom
=====================================


Post a reply to this message

From: Charles Krause
Subject: Re: ** Visual Basic **
Date: 9 Apr 1998 22:05:25
Message: <6gjuco$pcb$1@oz.aussie.org>
The Iso surfaces patch has the ability to link to external DLLs. You
might want to scope out their source code and see how they did it? I don't
know - just my $0.02 - I don't program so I might not know of what I speak
:)


Post a reply to this message

From: Doug Williams
Subject: Re: ** Visual Basic **
Date: 9 Apr 1998 22:15:55
Message: <352D80DA.79C83978@identitech.com>
Good 2 cents, thanks.  I am, in the mean time, going to try to get in and out
via the clipboard.

Charles Krause wrote:

>     The Iso surfaces patch has the ability to link to external DLLs. You
> might want to scope out their source code and see how they did it? I don't
> know - just my $0.02 - I don't program so I might not know of what I speak
> :)


Post a reply to this message

Goto Latest 10 Messages Next 10 Messages >>>

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