Rounded Rectangle Corner Radius

Q and A about functionality and how to solve a special task for your application.

Rounded Rectangle Corner Radius

Postby Gsand » 11 Aug 2017, 22:45

I'm looking to a 1 pixel outline rounded rectangle but I don't seam to see any way to increase the radius of the rounded corners in the "Rounded Rectangle" node with out making the outline larger.
Is this possible in Ventuz?

Greg
User avatar
Gsand
 
Posts: 22
Joined: 24 Oct 2016, 18:00
Location: Los Angeles, California

Re: Rounded Rectangle Corner Radius

Postby Gsand » 11 Aug 2017, 23:54

Something like this outline
Screen Shot 2017-08-11 at 3.45.14 PM.png
Screen Shot 2017-08-11 at 3.45.14 PM.png (6.47 KiB) Viewed 437 times
User avatar
Gsand
 
Posts: 22
Joined: 24 Oct 2016, 18:00
Location: Los Angeles, California

Re: Rounded Rectangle Corner Radius

Postby Karol » 14 Aug 2017, 10:17

Hi Greg!

The Rounded Rect unfortunately does not have an 'inner roundness'.
You can fake it with an according texture (see attached VZA).
But I don't know if this meets your technical demands...

Best Regards
Karol
Attachments
innerRoundRect.vza
(12.75 KiB) Downloaded 29 times
User avatar
Karol
 
Posts: 458
Joined: 10 Jan 2012, 12:07

Re: Rounded Rectangle Corner Radius

Postby Joe Styles » 15 Aug 2017, 14:34

Thanks for that Karol a good 2D solution! It would be great to have a built in 3D solution.
We often use geometries to create a 3D frame which we can change the width and height on. See the attached archive, hope that helps Greg.

The only issue is that when we alpha it out you can see the joins and sometimes you do get aliasing issues at the joins.
Attachments
Rounded Box Frame.vza
(14.71 KiB) Downloaded 29 times
Joe Styles
Kinetic Pixel
User avatar
Joe Styles
 
Posts: 73
Joined: 19 Jan 2012, 12:10
Location: UK

Re: Rounded Rectangle Corner Radius

Postby lerou » 16 Aug 2017, 10:14

I often use stencil for that.
Attachments
RoundedFrame.vza
(18.86 KiB) Downloaded 27 times
User avatar
lerou
 
Posts: 237
Joined: 06 Sep 2013, 07:14
Location: Hamburg, Germany

Re: Rounded Rectangle Corner Radius

Postby Gsand » 25 Aug 2017, 07:09

Thank everyone for your suggestions.
2D would be a great solution Karol but like Joe mentioned I would need to dynamically change the dimensions of the rectangle bases on content.
Good Idea for a 3D frame Joe, thanks
Thanks Lerou this is the type of thing that I would use, I'll dive a little deeper to get a grasp on what all happening in there.

Thanks again all!!
User avatar
Gsand
 
Posts: 22
Joined: 24 Oct 2016, 18:00
Location: Los Angeles, California


Return to How to

cron