as I say I've already found the operator code in 3.7 but now I'm using 3.6 so
could find it but I've found it all now thanks.
I have another problem though. I've got it compiling and to try and test I've
added some std::cout lines in the code, including the trace_pixel method, but
they never appear anywhere? any way I can get these to be shown somewhere? they
don't show in the output of visual studio and they don't show in a command
Le_Forgeron <jgr### [at] freefr> wrote:
> Le 23/02/2011 21:31, Aidy nous fit lire :
> > Hi guys.
> > Quick question. I'm working on pov-ray for my final year project at uni, and am
> > getting a little lost. I posted a while ago about class diagrams and entry
> > points and was pointed at the TracePixel::Operator() method, however I was using
> > 3.7 beta at the time. I've now switched down to the current stable release but I
> > now don't seem to have that class?? Is it a new thing in 3.7 or am I just
> > missing something?
> Spell it correctly when searching
> ./source/backend/render/tracepixel.cpp:void TracePixel::operator()(DBL
> x, DBL y, DBL width, DBL height, Colour& colour)
> (that's in 3.7RC3) (notice the lower 'o', it's a c++ keyword)
> If you are looking at 3.6, well, that's a bit of different story.
> the local function trace_pixel() is in render.cpp
> > Also what is the main entry point on windows? I found the povray.cpp which
> > contains a main method inside an #ifndef but when i attempted to place something
> > in this (cout for instance) I never saw it so I assume it never got executed.
> The source is available for unix (and alike).
> For Windows, well... it's windows, and the usual entry point for an
> application would be main() as usual for a console application, but
> something totally different for the graphical part. (something like
> WinMain... or some other sillyness, I just cannot remember from my
> traumas with the various Visual Studio... )
> Anyway, the virtual front-end is defined in the vfe subpart (and only
> unix part is delivered), with a definition of ALTMAIN and its own main().
Post a reply to this message