I don't know how to get to the mouse wheel events from X11, so I'm not using that information. The '+' and '-' keys affect zoom as stated in the man page, but the arrow controls are also not standards in X11 as far as I know, so I'm not listening for those. If you have some insight on how to handle such events, I can try, but we might confirm first that people use this utility or have a desire for it. The controls were designed to mimic those in rholo, which I and perhaps a handful of others still use.
I don't remember how I light the objects -- I think it tries to use the light sources, specular and diffuse materials, etc. You would have to look in the src/common/rgl* routines. There are no cast shadows (or interreflections, obviously). -Greg > From: Georg Mischler <schor...@schorsch.com> > Subject: Re: [Radiance-dev] Glrad on Linux > Date: April 25, 2016 10:55:12 PM PDT > > Ah yes, that's a much better speed. > > Most walkthrough viewers seem to use arrow keys for basic navigation. > Is the program even checking the mouse wheel, or is that a Mesa weirdness? > > Colors also seem rather high contrast. Are surface colors taken directly > from Radiance reflectivities? If so, then maybe there should be some > non-linear scaling there. > > Enough nits picked for the moment... > > Cheers > -schorsch > > Am 2016-04-25 21:58, schrieb Gregory J. Ward: >> I agree that the interaction speed is way too fast. I'll see if I can >> tweak it a bit, but this was something I wrote because I had the >> routines from rholo and decided it might be useful to have a >> geometry-only preview. >> Cheers, >> -Greg >>> From: Georg Mischler <schor...@schorsch.com> >>> Subject: Re: [Radiance-dev] Glrad on Linux >>> Date: April 25, 2016 12:27:44 PM PDT >>> Cool, now I get to see something! I don't remember ever having seen >>> this working before, but I may have just forgotten... >>> Motion is *very* fast and jumpy. It was probably calibrated decades ago >>> with a much less powerfull graphics system (despite me trying it on an >>> onboard graphics module with Mesa in software mode). >>> The mouse wheel moves the view back, no matter which way it is turned. >>> Why isn't this used more often? >>> For one, all the tutorials instruct new users to use rvu (not sure >>> if glrad is actually ever mentioned). So many people probably don't even >>> know it exists. >>> The user interaction is also a bit limited in comparison. >>> With smoother motion, more motion options (eg. lateral and vertical), >>> and configurable speed, it probably could be quite popular. >>> Of course, those things might be somewhat fiddly to implement. >>> But the good news for now: it *does* work on Linux! >>> Cheers >>> -schorsch >>> Am 2016-04-25 04:05, schrieb Gregory J. Ward: >>>> Yeah, one of the pieces of code I haven't really kept up with. I just >>>> checked in a fix for the broken window size negotiation that doesn't >>>> seem to work as it used to. This wasn't working under OS X either, >>>> and no one had noticed. That's just how important this program is to >>>> people..... >>>> Cheers, >>>> -Greg >>>>> From: Georg Mischler <schor...@schorsch.com> >>>>> Subject: [Radiance-dev] Glrad on Linux >>>>> Date: April 24, 2016 12:12:58 PM PDT >>>>> Hi, >>>>> after Sarith Subramaniam volunteered successfully to create objview.py, >>>>> we started wondering why makeall doesn't build glrad on Linux. >>>>> SCons builds it without complaints, but it doesn't actually work. >>>>> If I understand the debugger correctly, it seems to have difficulties >>>>> setting the view size, hanging in an infinite loop around line 541 in >>>>> glrad.c. >>>>> Is there any specific reason why it's not supposed to work on Linux, >>>>> or is it just that nobody ever managed to find a solution? >>>>> Unfortunately, I'm not familiar with the involved APIs at all, so I >>>>> don't really know where to start looking for problems. >>>>> I just assume that it actually does work on MacOS and with Cygwin, where >>>>> makeall includes it in the build (if not, why would it still be there?). >>>>> Cheers >>>>> -schorsch >>> -- >>> Georg Mischler -- simulations developer -- schorsch at schorsch com >>> +schorsch.com+ -- lighting design tools -- http://www.schorsch.com/ >>> _______________________________________________ >>> Radiance-dev mailing list >>> Radiance-dev@radiance-online.org >>> http://www.radiance-online.org/mailman/listinfo/radiance-dev >> _______________________________________________ >> Radiance-dev mailing list >> Radiance-dev@radiance-online.org >> http://www.radiance-online.org/mailman/listinfo/radiance-dev > > -- > Georg Mischler -- simulations developer -- schorsch at schorsch com > +schorsch.com+ -- lighting design tools -- http://www.schorsch.com/ > > > _______________________________________________ > Radiance-dev mailing list > Radiance-dev@radiance-online.org > http://www.radiance-online.org/mailman/listinfo/radiance-dev _______________________________________________ Radiance-dev mailing list Radiance-dev@radiance-online.org http://www.radiance-online.org/mailman/listinfo/radiance-dev