[Plugin][WIP][OpenSource] Bezier Surface
-
@jolran said:
You mean the total amount of edges-faces in model or the subdividing procedure?
Yea, as SketchUp adds geometry it will check the added geometry for intersections and merging. Meaning that for every entity you add it will loop over every other entity. So it's not even a linear degradation of performance - it's just get horribly slow quickly.
@jolran said:
But still, all Ruby you say. That looks like you got some nice realtime response, thought you pulled some C extension on it already.
At the moment it's ok for the tests I do. I mean, it's not the biggest test models because I haven't made the tools to create anything useful. But once the tools are taking into place I need to focus on performance and the calculation of the bezier curves will most likely need to be ported to C.
At the moment I reduce the subdivisions when the tools are editing the mesh, for a faster response. But I might try to just draw virtual mesh with OpenGL draw commands, like I played around with in my Catmull-clart subdivision experiment: http://sketchucation.com/forums/viewtopic.php?f=333&t=47691&p=427968#p427968
Problem with that is there is no shading of the polygons, so you lose some feeling of the surface since it's just flat shading. Not sure how to do that in the end - kindof hopes for some amazing new feature in SketchUp that will make this easier.@jolran said:
Hope you find time to do some more tutorials on C-extensions later then
I have some projects that need C Extensions, and usually when I venture off into unknown territories I need to write stuff down so I remember it. Tutorials, guides or blog posts are great for this. It forces you to think about what you think you know.
-
@cuttingedge said:
I believe you could author a toolset like T-spline!
I don't know about that, least not yet. I'm struggling with the math of plain ol' bezier patches. T-Splines is some very clever stuff.
-
TT,
Please update us as to where you are at with the Bezier Surfae tool development. We are all waiting on this one for a long time. Well let say you are crossing over two franchises, from Google to now Trimble.thanks,
James -
Yea, it's been taking a long time. It's been a much bigger project than I'd imagined.
I've done, what I think, is most of the core. I've begun to work on the tools to manipulate the meshes now.
-
Where's the "Super Like" button?
-
@thomthom said:
Yea, it's been taking a long time. It's been a much bigger project than I'd imagined.
I've done, what I think, is most of the core. I've begun to work on the tools to manipulate the meshes now.
"Courage" Thom! this is going to be a wonderful tool, an indispensable one. May be your "Chef d'oeuvre".
++simon
-
I think it's best if I aim for a more basic first release - then do more continuous smaller updates evolving it.
-
Many thanks Mr. Thomas for the great efforts in providing very useful plugines for SU. I really aspire to have this plugin into geometry application of SU very soon. I know it is a big project that you didn't imagine it would take that much of time, but at least you got an idea now about the remaining percentage of completing this project.
Regards,
-
Bezier Surface is now free and open source!
http://www.thomthom.net/thoughts/2014/11/bezier-surface-for-sketchup-is-now-open-source/ -
Woohoo! (where is everyone?). Thanks TT!
-
It's really nice!!!!!!!!
But unfortunately, I can only drug out the Purple Grid, cannot double clicked and continued, just showing
Bezier Surface Updating.....
win8.1x64 @SU2015x64 & SU2013, both happened
Should be there any bugs with others plugins? -
@unclex said:
But unfortunately, I can only drug out the Purple Grid, cannot double clicked and continued, just showing
Bezier Surface Updating.....Can you share example model or screenshot?
Any errors in the Ruby Console? -
what the? this thing is cool
a question..
is there a way to control the segmentation yet? like, max angle = 5º (or whatever) and anything steeper will break down to two (or more) segments until the maximum mesh angle has been achieved? -
type subdivisions in the VCB
-
-
Ur more than welcome.
I imagine you'll get lots of mileage outta this?
-
@rich o brien said:
Ur more than welcome.
I imagine you'll get lots of mileage outta this?
probably.. for me, it seems great to quickly mess around with new shape ideas.. like clay in a way..
[edit]
it's the controller (widget, gumball, whatshername) that makes it so fast. -
The song from Ghost is in my head now.
-
There's a procrastinators beware message... Hand it over!
Glad it's available in the SCF pluginstore.
-
@rich o brien said:
The song from Ghost is in my head now.
lucky for me i'm on a super crappy connection right now so i can't be arsed to youtube the scene.
Advertisement