POV-Ray : Newsgroups : povray.general : Printing out a vector (debug) Server Time
5 Nov 2024 03:19:03 EST (-0500)
  Printing out a vector (debug) (Message 1 to 3 of 3)  
From: didiw
Subject: Printing out a vector (debug)
Date: 1 Aug 2003 10:40:00
Message: <web.3f2a749b3655d06d91ece9300@news.povray.org>
Hi,

I looked through all of the documentation I could find, but there was not
anything about that:
just for debugging purposes, I want to print out the values of a vector on
e.g. the debug stream.

Can this be done in a single statement? If not, is it possible get the
values of a vector? I did not find anything on that either or I may have
overlooked it. With the last one, I know how to print the values.

Thanks in advance



Post a reply to this message

From: Ger Remmers
Subject: Re: Printing out a vector (debug)
Date: 1 Aug 2003 10:42:44
Message: <3f2a7c64$1@news.povray.org>
didiw wrote:
> Hi,
> 
> I looked through all of the documentation I could find, but there was not
> anything about that:
> just for debugging purposes, I want to print out the values of a vector on
> e.g. the debug stream.
> 
> Can this be done in a single statement? If not, is it possible get the
> values of a vector? I did not find anything on that either or I may have
> overlooked it. With the last one, I know how to print the values.
> 
> Thanks in advance
> 

> 

Something like this ?

#warning concat("camera position = ",vstr(3, CamPos," - ",0,3),"\n")

--

Cheers

Ger


Post a reply to this message

From: ABX
Subject: Re: Printing out a vector (debug)
Date: 1 Aug 2003 10:42:47
Message: <cvukivcij1m853fu54ih521jshc869q69m@4ax.com>
On Fri,  1 Aug 2003 10:09:31 EDT, "didiw" <dhw### [at] earthlingnet> wrote:
> I looked through all of the documentation I could find, but there was not
> anything about that

http://www.povray.org/documentation/view/141/
http://www.povray.org/documentation/view/272/

ABX


Post a reply to this message

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