POV-Ray : Newsgroups : povray.general : Visual C : Re: Visual C Server Time
28 Jul 2024 22:24:48 EDT (-0400)
  Re: Visual C  
From: Philippe Lhoste
Date: 12 Jul 2002 10:05:33
Message: <3d2ee22d$1@news.povray.org>
"Fox Neilson" <ine### [at] myrealboxcom> wrote:
> A few years back I used povray a LOT, and was getting rather good at it.
I
> haven't touched it at all for about 3 years and have finally decided that
> I'd like to start again.  During those 3 years I have started using Visual
C
> for most of my programming, and now I can only stand to program either in
> Visual C or vi.  I am just too used to those environments, and as great as
> the povray editor is, its not the same as my editor.  I have had great
> success with making many different compilers work with Visual C.  The only
> thing needed is to be able to run the compiler as command line only.  I
> would like to do the same with povray so that I can simply hit a button in
> Visual C and render an image.
>
> So here is my actual question.  How can I configure Visual C to work like
> this with povray, so that the output from the render will appear in the
> Visual C output window?  If some one can just tell me how to run povray in
> windows without the GUI I can figure the rest out.  However if anyone is
> actually doing this, and has more information on integrating the two I
would
> to see that as well.

First suggestion (biased): Use the SciTE editor (www.scintilla.org). It has
the feel (keyboard shortcuts, behavior) of Visual Studio, but it is small
and powerful.
It allows to run command line programs and capture their output in a
separate window.

Second suggestion: you probably know you can use Visual Studio's Tools menu
to run external programs. With the Customize option, you can add any tool.
There is a checkbox to output to the output window.

to render an image and exit (ie. don't run the full GUI). I think that's the
way to go.
Or, if PoV-Ray for Dos is still available, it can be a better solution, as
the binary would be smaller.

--
--=#=--=#=--=#=--=#=--=#=--=#=--=#=--=#=--=#=--
Philippe Lhoste (Paris -- France)
Professional programmer and amateur artist
http://jove.prohosting.com/~philho/
--=#=--=#=--=#=--=#=--=#=--=#=--=#=--=#=--=#=--


Post a reply to this message

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