iv3d-users

Text archives Help


[IV3D-USERS] Re: Re: Re: Experience Feedback


Chronological Thread 
  • From: tom fogal <tfogal@sci.utah.edu>
  • To: iv3d-users@sci.utah.edu
  • Subject: [IV3D-USERS] Re: Re: Re: Experience Feedback
  • Date: Thu, 25 Nov 2010 06:55:24 -0700

Hi,

This kind of thing should go to -developers, but I'll respond here
anyway... just move it there in the future, please.

Ofri Sadowsky <sadowsky.o.phd@gmail.com> writes:
> In the spirit of self reliance, I went ahead and tried to create a
> project by myself.  As expected, build failed.  I did manage to set
> up INCLUDE and LIBRARY paths and get some code compiled.  But looking
> for the file 'context.h' I discovered two versions of it.  I took up
> with the one in the 'test' folder, yet this was not enough.

Oops, I forgot there were two.  The Tuvok test/ code only supports X
contexts right now.  You want the Context.h under Renderer/, and then
there are implementations under Renderer/GL/.  You most likely want the
QtGLContextID implementation.

> The corresponding 'context.cpp' asks for 'wgl.h' which, surprisingly,
> I cannot find on my system.  This is where I'm stuck for now...

I'm sure a google for 'where can I find wgl.h' or something like that
would be enlightening.

-tom

> On Wed, Nov 24, 2010 at 11:33 AM, Ofri Sadowsky 
> <sadowsky.o.phd@gmail.com>wro
> te:
> 
> >  On Wed, Nov 24, 2010 at 10:39 AM, tom fogal <tfogal@sci.utah.edu> wrote:
> >
> >>
> >> Yes, you can embed tuvok in any other app.  Basically you just
> >> create an AbstrRenderer and call Paint as-needed.  See the code
> >> in tuvok/test for (very) simplified examples, and the code in
> >> imagevis3d/UI/RenderWindow.cpp (and the GL variants) for more examples.
> >>
> > Cool.  How do I build the test program?  (It doesn't have a vs project
> > created by default)



Archive powered by MHonArc 2.6.16.

Top of page