Page 1 of 1

Radii attribute

Posted: Thu 7. Dec 2006, 17:12
by steffen
Thilo is working on using jReality with polymake (They will publish a new release before christmas). He came up with the idea of interpreting the RADII attribute as a factor for the current pointRadius/tubeRadius, specifying the relative size of each element. Sounds like a good idea for me, but I think the attribute's name should change then.

Steffen.

RADII attribute -- update

Posted: Thu 15. Feb 2007, 13:06
by gunn
I would like to propose that we make the default behavior be that the RADII attribute multiplies with the corresponding appearance attribute (POINT_RADIUS or TUBE_RADIUS) to give the real radius used. If a user doesn't want to have the appearance attribute play a role, all he has to do is set it to 1.0.

I would prefer this solution to introducing a new attribute with a name like RADIUS_FACTORS to have this multiplicative behavior. Having another attribute complicates life (unnecessarily in my view) in many writers and backends.

Posted: Thu 1. Mar 2007, 11:36
by gunn
At the jReality meeting yesterday (28.2.07) we discussed this issue again and came to the decision that the behavior should be multiplicative, but to make this clear, the vertex and edge attributes "RADII" should be renamed to "RELATIVE_RADII" to make clear that they are multiplied by the values coming from the Appearance attribute POINT_RADIUS and TUBE_RADIUS, respectively. I'm going to go ahead and make this change today.