Quantcast
Channel: Rhino Developer - McNeel Forum
Viewing all articles
Browse latest Browse all 8532

ColorScale with displayConduit

$
0
0

@Matti_Pirinen wrote:

Hi,

I’m trying to create a color scale. Something like this:
image
That would be displayed in each viewport that an user has open. My initial idea was to use the displayConduit class and draw the scale in the “drawforeground” event. However, then I noticed that ofcourse all the elements are drawn in the “model space” so when i move the the point where i’m looking the color scale will ofcourse move too, which is not the effect I was looking for. So then my idea was that maybe I could use some method in the view class to determine always the position the camera is looking to and move the the color scale every time I’m moving the camera which would maybe create a false feeling that the color scale is staying at the same point in the screen all the time.

So before trying to implement this I just wanted to ask that am I on the right track or is there an easier way of doing this?

With best regards
Matti Pirinen

Posts: 5

Participants: 2

Read full topic


Viewing all articles
Browse latest Browse all 8532

Trending Articles