|
![](/i/fill.gif) |
In article <3db7ed1f@news.povray.org>, "Wu Yang" <wya### [at] cs wright edu>
wrote:
> Thank you for your reply. What I mean is that: when I see the value of
> Mesh->Data->Vertices, I can get three values. These three values is the x
> values of a triangle's three corners, not (x,y,z) of a corner.
No, it isn't. It's what he said it was, and what the code says it is: a
SNGL_VECT, a single-precision vector.
> I want get the (x,y,z) of every corner. Could you please give me some
> advice? Thanks
I'd have to agree with the advice he has already given: learn C. Your
questions indicate that you don't know it, and messing around with
anything but the most basic things without knowing the language POV is
written in is just not going to work.
Ideally, get a simple primer book on C++, POV was originally written in
C, so most of it is structured like a C program, but it now uses C++. I
have a book called the "C++ Primer Plus" by the Waite group that I'd
recommend.
Once you've got the basics down, then you have a chance of understanding
the POV code...but don't expect to have everything handed to you on a
silver platter, you will have to carefully read the code and look at the
structure of the different parts. And when someone tells you something
or asks you a question, don't just ignore what they said.
--
Christopher James Huff <cja### [at] earthlink net>
http://home.earthlink.net/~cjameshuff/
POV-Ray TAG: chr### [at] tag povray org
http://tag.povray.org/
Post a reply to this message
|
![](/i/fill.gif) |