ModelNode and auto scaling size...

classic Classic list List threaded Threaded
3 messages Options
2LR 2LR
Reply | Threaded
Open this post in threaded view
|

ModelNode and auto scaling size...

I've been playing with ModelNodes and the "autoScale" setting in the ModelSymbol. With the setting = true, the model stays scale-invariant as expected.

My question is can I set the scale size that the autoScale works with to be a larger size? While the scale remains the same as I zoom in and out, the size of the model is too small. I'd like to make it larger if possible...

Thx

Shayne

2LR 2LR
Reply | Threaded
Open this post in threaded view
|

Re: ModelNode and auto scaling size...

So...looking at the code a bit closer, there's a GeoPositionNodeAutoScaler cull callback that is installed on the ModelNode that is used when autoScale = true. Unfortunately, I don't see a way to set the baseScale value that is currently set to (1,1,1).

The baseScale is what I would like to change...
2LR 2LR
Reply | Threaded
Open this post in threaded view
|

Re: ModelNode and auto scaling size...

I just installed the GeoPositionNodeAutoScaler on my ModelNode and set the baseScale to the value I wanted. Now my model is scale-invariant to the size I want as I zoom in and out.

Sorry for the trouble...

-S