POV-Ray : Newsgroups : povray.programming : Pov-Ray Windows plotting code Server Time
31 Oct 2024 19:56:15 EDT (-0400)
  Pov-Ray Windows plotting code (Message 1 to 10 of 41)  
Goto Latest 10 Messages Next 10 Messages >>>
From: David H  Burns
Subject: Pov-Ray Windows plotting code
Date: 7 Jul 2009 08:47:10
Message: <4a5343ce$1@news.povray.org>
This question may be ignorant or off-topic but: How does Pov-Ray
  "plot" images in Windows. I'm looking for the basic code which sends
a pixel to the screen. I've found several C++ programs that seem as if
they would do this but I can't get them to compile with Borland C++.
Pov-Ray seems to use a stable code that works well. It may be that I
don't really need this and that Pov-Ray as it exists will allow me to make
a mirror with a complex surface - but I guess that is a question for 
another group.
Even so, I would like to know how Pov-Ray works.

Thanks for any help.

David


Post a reply to this message

From: David H  Burns
Subject: Re: Pov-Ray Windows plotting code
Date: 7 Jul 2009 09:23:43
Message: <4a534c5f@news.povray.org>
It's true I don't a bumps finish seems to work
David

David H. Burns wrote:
> It may be that I
> don't really need this and that Pov-Ray as it exists will allow me to make
> a mirror with a complex surface - but I guess that is a question for 
> another group.


Post a reply to this message

From: Warp
Subject: Re: Pov-Ray Windows plotting code
Date: 7 Jul 2009 10:41:29
Message: <4a535e98@news.povray.org>
David H. Burns <dhb### [at] cherokeetelnet> wrote:
> This question may be ignorant or off-topic but: How does Pov-Ray
>   "plot" images in Windows.

  You should read the Windows API documentation. There are also tons of
wrappers around that API which make it easier.

-- 
                                                          - Warp


Post a reply to this message

From: David H  Burns
Subject: Re: Pov-Ray Windows plotting code
Date: 7 Jul 2009 11:52:01
Message: <4a536f21@news.povray.org>
Thanks. Do you mean Microsoft's Windows API documentation? I find that my
comprehension level for any Microsoft documentation is very low.  I 
suppose that
some of the programs I tried were "wrappers" around Windows. But I haven't
had any luck compiling them with Borland C++ on Windows XP. I suppose the
only solutions may be either to give in to the Microsoft monster and go to
Visual something .net or switch to a Linux. But I would still to know what
module in the Pov-Ray uses to send images to the screen. Or am I being to
simplistic and such a question has no meaning.



Warp wrote:
> David H. Burns <dhb### [at] cherokeetelnet> wrote:
>> This question may be ignorant or off-topic but: How does Pov-Ray
>>   "plot" images in Windows.
> 
>   You should read the Windows API documentation. There are also tons of
> wrappers around that API which make it easier.
>


Post a reply to this message

From: Christian Froeschlin
Subject: Re: Pov-Ray Windows plotting code
Date: 7 Jul 2009 18:46:35
Message: <4a53d04b@news.povray.org>
> Visual something .net or switch to a Linux. But I would still to know what
> module in the Pov-Ray uses to send images to the screen. 

You can look at the povray sources for that, but I think you
should rather look at the GDI tutorials listed on

   http://www.functionx.com/bcb/

and then especially

   http://www.functionx.com/bcb/gdi/bitmaps.htm


Post a reply to this message

From: David H  Burns
Subject: Re: Pov-Ray Windows plotting code
Date: 7 Jul 2009 19:48:58
Message: <4a53deea@news.povray.org>
Thanks. I have looked in the Pov-Ray sources but was
unable to determine the relevant modules. That's what I was asking. Thanks
for the sites. I will take a look at them. Such sites that I have looked 
at seem
to be intended for VC++. I suppose that's OK, PovRay is written in VC++.
Since Microsoft controls virtually all of the computer industry and most
computer hardware is built for Microsoft software, there seems little point
  in going to a lot of trouble trying to learn something else or to 
adapt code
written in any but Microsoft languages to work on computers using
Windows.

Thanks for the help,

David



Christian Froeschlin wrote:
>> Visual something .net or switch to a Linux. But I would still to know 
>> what
>> module in the Pov-Ray uses to send images to the screen. 
> 
> You can look at the povray sources for that, but I think you
> should rather look at the GDI tutorials listed on
> 
>   http://www.functionx.com/bcb/
> 
> and then especially
> 
>   http://www.functionx.com/bcb/gdi/bitmaps.htm


Post a reply to this message

From: Darren New
Subject: Re: Pov-Ray Windows plotting code
Date: 7 Jul 2009 23:03:06
Message: <4a540c6a$1@news.povray.org>
David H. Burns wrote:
>  in going to a lot of trouble trying to learn something else or to adapt 
> code
> written in any but Microsoft languages to work on computers using
> Windows.

I wouldn't go that far. There are a number of nice windowing systems that 
run on multiple platforms (including Windows) and some that also interface 
to multiple languages (including C++).  If you're going to learn a graphics 
system for general use, it's good to learn one whose lessons you can use for 
a long time on many tasks.

-- 
   Darren New, San Diego CA, USA (PST)
   Insanity is a small city on the western
   border of the State of Mind.


Post a reply to this message

From: tcgetattr
Subject: Re: Pov-Ray Windows plotting code
Date: 8 Jul 2009 07:22:02
Message: <4a54815a$1@news.povray.org>
David H. Burns wrote:

> Since Microsoft controls virtually all of the computer industry and most
> computer hardware is built for Microsoft software, 

   FUD !


Post a reply to this message

From: David H  Burns
Subject: Re: Pov-Ray Windows plotting code
Date: 8 Jul 2009 11:39:30
Message: <4a54bdb2$1@news.povray.org>
I assume you mean "F*** you David".Don't be afraid to say what you mean.
Or better still if you can't make a rational reply, don't say anything.

It looks like this thread is dead, probably I never should have started it.
Thanks to all who tried to help.

David


It doesn't look like I'm

tcgetattr wrote:
> David H. Burns wrote:
> 
>> Since Microsoft controls virtually all of the computer industry and most
>> computer hardware is built for Microsoft software, 
> 
>   FUD !


Post a reply to this message

From: Stephen
Subject: Re: Pov-Ray Windows plotting code
Date: 8 Jul 2009 11:50:00
Message: <web.4a54bef2be3ef455fd99d9e0@news.povray.org>
"David H. Burns" <dhb### [at] cherokeetelnet> wrote:
> I assume you mean "F*** you David".Don't be afraid to say what you mean.
> Or better still if you can't make a rational reply, don't say anything.
>
> It looks like this thread is dead, probably I never should have started it.
> Thanks to all who tried to help.
>
> David
>
>
> It doesn't look like I'm
>
>



Stephen


Post a reply to this message

Goto Latest 10 Messages Next 10 Messages >>>

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