Re: lighting /ALIASed models [message #45922] |
Wed, 19 October 2005 17:24 |
Rick Towler
Messages: 821 Registered: August 1998
|
Senior Member |
|
|
David Fanning wrote:
> Rick Towler writes:
>
> Speaking strictly for myself, I find it refreshing to
> find an expert struggling out in the open. It reminds
> me that this is *always* how it is done, whether you
> are an expert or not. It's a lonely business, and the
> experts are the ones who persist the longest.
Thanks. I think :)
I find myself struggling a bit more these days. Our second child is due
any day and with work, projects at home, a very pregnant wife and a
"spirited" 17 month old, focus is fleeting.
If only I could write an IDL program to listen to my wife complain about
dub-ya, public transit, traffic, co-workers, her pregnant body, dub-ya's
administration... or one to drywall and paint, or to help my son sleep
I would be doing much better!
-Rick (wishing he was in Hawaii sipping Kona)
|
|
|
Re: lighting /ALIASed models [message #45929 is a reply to message #45922] |
Wed, 19 October 2005 10:11  |
David Fanning
Messages: 11724 Registered: August 2001
|
Senior Member |
|
|
Rick Towler writes:
> Nothing to see here. Move along....
>
> <sigh>
>
> off to get a cup of coffee
Speaking strictly for myself, I find it refreshing to
find an expert struggling out in the open. It reminds
me that this is *always* how it is done, whether you
are an expert or not. It's a lonely business, and the
experts are the ones who persist the longest.
Off to get a cup of that Kona Koffee and watch the sun
come up over the ocean! :-)
Cheers,
David
--
David Fanning, Ph.D.
Fanning Software Consulting, Inc.
Coyote's Guide to IDL Programming: http://www.dfanning.com/
|
|
|
Re: lighting /ALIASed models [message #45930 is a reply to message #45929] |
Wed, 19 October 2005 09:51  |
Rick Towler
Messages: 821 Registered: August 1998
|
Senior Member |
|
|
LOL.
So seconds after I posted this I jumped back into IDL and lookee there
in the console output:
% RHTGRCAMERA::ADD: Objects must be, or be subclasses of IDLgrModel
Yes. I didn't put my light in a model. When I *do* add the light to a
model all is well.
Nothing to see here. Move along....
<sigh>
off to get a cup of coffee
-Rick
Rick Towler wrote:
> I apologize about posting before thinking, but it has been a little slow
> around here...
>
>
> Is it possible to light two views, one containing aliases of the models
> contained in the other, differently?
>
> For example:
>
> Model A contains the geometry and a single IDLgrLight (spot).
>
> View A is a "head on" view and contains model A.
>
> View B is an orthogonal view, containing an alias of A, and also
> containing a single IDLgrLight (ambient).
>
>
> What I would like is for View B to be fully illuminated by the ambient
> light but the ambient light has no effect. Like I said, I haven't
> thought about this, nor have I experimented. Yes. I know, I haven't
> done my homework... My guess is that this is not possible.
>
>
> I know I could *copy* the geometry into a Model B and display that in
> View B along with the ambient light but I am using my camera object
> which applies transforms to the models contained w/in it and without
> getting into the details this would be a hack I would like to avoid.
>
>
> -Rick
|
|
|