Basically, the wish is for the Picture/PictureFrame command to define plane surfaces just like the Plane command does - using the same UI, point picking code, etc., all the while drawing the selected picture.
I’ve added a new Picture test command that you can use to try out the new UI. The only option not implemented is Vertical.
It is on the right road, I’d say. I guess the aspect ratio constraints are not in for Vertical but the rest look OK so far. One thing I noticed is that, depending on what else is in the scene, it is easy to get the preview clipped near or far, or both, as you place it. It is possible, if there is nothing else in the scene to get in a situation in Perspective where the entire preview is clipped, i.e. disappears.
I don’t know who this is for, but you should see the same problem when placing a rectangle of any kind… I don’t think it has anything to do with what Dale is doing.
I think there is one setting missing on the object. On the old PictureFrame this is an option for SelfIllumination=Yes. That needs to be always set to Yes, per the prototype help document. (Not very clear since it will show in a different place when the new material UI is ready.)
In the old material UI, you can see Diffuse Lighting Enabled is not checked when you use the old PictureFrame command.
Keep in mind that the Picture test command is just to test the new UI. When finished and approved, I’ll port the UI to the existing PictureFrame command, rename the command, and tune up anything else per the design document.
No, the others do not get clipped- it looks to me like the objects already in the scene set the clipping and the constrained aspect ratio in Picture sends the preview past the clipping if it gets big enough because the preview does not only follow the mouse as it does in just rectangle, if you see what I mean.
e.g. make just one box. In Perspective, back the view out a little and start Picture - place the first point somewhat closer to the camera than the box and drag the second point back toward the camera- no preview can be seen at all.
Also, so far I do not see an email that corresponds to your @-ing me above… do you get this one? @bobmcneel
The clipping issue I was seeing is probably different than Pascal’s as Bob pointed out so I’ll let PG proof that one. I still get clipping but I’m sure it’s the 3D mouse and unrelated to your work.
The 1 to 1 option is sweet but it’s half sized here in my tests. Here’s a 12’‘x6’’ png that comes in at 6x3 in inch templates using 1 to 1. The same half sized import can be seen in other templates too like mm where the width will be 152.4 (or 6’’). I tried different dpi settings wondering if that were a factor but it doesn’t appear to matter. This sample image is 72dpi.