Rounded Rectangle Corner Radius

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

Moderator: Support

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

Rounded Rectangle Corner Radius

Post by 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: 24
Joined: 24 Oct 2016, 18:00
Location: Los Angeles, California

Re: Rounded Rectangle Corner Radius

Post by 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 1467 times

User avatar
Karol
Posts: 497
Joined: 10 Jan 2012, 12:07

Re: Rounded Rectangle Corner Radius

Post by 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 68 times

User avatar
Joe Styles
Posts: 80
Joined: 19 Jan 2012, 12:10
Location: UK
Contact:

Re: Rounded Rectangle Corner Radius

Post by 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 63 times
Joe Styles
Kinetic Pixel

User avatar
lerou
Posts: 279
Joined: 06 Sep 2013, 07:14
Location: Hamburg, Germany

Re: Rounded Rectangle Corner Radius

Post by lerou » 16 Aug 2017, 10:14

I often use stencil for that.
Attachments
RoundedFrame.vza
(18.86 KiB) Downloaded 62 times

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

Re: Rounded Rectangle Corner Radius

Post by 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!!

Post Reply