Page 1 of 1

Real Scale in Blocks

Posted: Wed Feb 01, 2012 5:28 pm
by kami
Hi

I got a question concerning real scale and blocks:

I've got a rotated table in the scene (13° rotated). The texture on it looks like this:
Image

So I wanted to rotate it. Went into the block edit and rotated the texture with the real scale controls. Not it shows correclty:
Image
also if i type maxwell_restoreviewport inside the blockedit it looks perfectly:
Image

Now, wenn i leave the block edit it stays like this.
But when I use the maxwell_restoreviewport command again it switches back to the wrong view.
Image

Is this something that could be fixed?

Cheers, kami

Re: Real Scale in Blocks

Posted: Wed Feb 01, 2012 5:48 pm
by JDHill
Not sure what would be the cause of that, but I can take a look.

Re: Real Scale in Blocks

Posted: Fri Feb 03, 2012 5:09 am
by JDHill
Well, the behavior is a bit different here:
  1. make a box, apply a real scale material.
  2. block the box, create some copies of the block.
  3. everything is looking good.
  4. double-click one box to enter Block Edit: the real scale mapping is lost.
  5. Restore Viewport: this fixes the real scale mapping.
  6. change obj properties > Maxwell > Real Scale texture rotations.
  7. everything is working fine.
  8. click OK in the Block Edit box: real scale mapping & rotations are lost.
  9. Restore Viewport: this fixes real scale mapping & rotations.
So it works, with the caveat that you have to use Restore Viewport after entering & exiting Block Edit. For what it's worth, that is not due to anything the plugin is doing -- it is getting changed, and we are then fixing it using Restore Viewport. I swear, I should just remove this feature so that people would have a reason to pressure McNeel to implement it natively, where it belongs.

Re: Real Scale in Blocks

Posted: Fri Feb 03, 2012 9:13 pm
by kami
Okay. I've played around with it a little bit.
It does almost work the way you describe, except that I get a wrong mapping when I am inside a rotated block and restore viewport. (point 5 to 7)
So the trick would be, not to trust the view you see inside the block edit then and always leave the block and restore the viewport afterwards.