Arch Texture Workbench

Info about new community or project announcements, implemented features, classes, modules or APIs. Might get technical!
PLEASE DO NOT POST HELP REQUESTS OR OTHER DISCUSSIONS HERE!
User avatar
bitacovir
Posts: 693
Joined: Sat Apr 19, 2014 6:23 am
Contact:

Re: Arch Texture Workbench

Postby bitacovir » Sun Jun 09, 2019 2:00 pm

paullee wrote:
Sat Jun 08, 2019 6:49 pm
Looks great !

The only feature missing to compete with something SketchUp is shadow I would argue? :)
Ideally, an ambient occlusion effect.
::bitacovir::
===================================
One must be absolutely modern.
Arthur Rimbaud (A Season in Hell -1873)

My Blog
Mini Airflow Tunnel Project
User avatar
yorik
Site Admin
Posts: 11514
Joined: Tue Feb 17, 2009 9:16 pm
Location: São Paulo, Brazil
Contact:

Re: Arch Texture Workbench

Postby yorik » Sun Jun 09, 2019 4:58 pm

buffer shadows are supported by coin. Only needs to implement it... An ambient occlusion not, but coin supports GLSL IIRC. So in theory, anything the GPU can do by itself is possible...
User avatar
bitacovir
Posts: 693
Joined: Sat Apr 19, 2014 6:23 am
Contact:

Re: Arch Texture Workbench

Postby bitacovir » Mon Jun 10, 2019 8:09 pm

yorik wrote:
Sun Jun 09, 2019 4:58 pm
buffer shadows are supported by coin. Only needs to implement it... An ambient occlusion not, but coin supports GLSL IIRC. So in theory, anything the GPU can do by itself is possible...
I mean, something to visualize the volume of the geometries. Because when you apply the texture and turn off the lines, the image is too flat.
FreeCAD_2019-06-08_11-35-19.jpg
FreeCAD_2019-06-08_11-35-19.jpg (345.24 KiB) Viewed 584 times
FreeCAD_2019-06-08_11-44-03.jpg
FreeCAD_2019-06-08_11-44-03.jpg (349.3 KiB) Viewed 584 times
::bitacovir::
===================================
One must be absolutely modern.
Arthur Rimbaud (A Season in Hell -1873)

My Blog
Mini Airflow Tunnel Project
User avatar
yorik
Site Admin
Posts: 11514
Joined: Tue Feb 17, 2009 9:16 pm
Location: São Paulo, Brazil
Contact:

Re: Arch Texture Workbench

Postby yorik » Tue Jun 11, 2019 9:10 pm

yes, I also like the AO they have in revit... In any case, it's definitely possible to do AO in GLSL: https://martinkschroder.wordpress.com/2 ... -and-glsl/
User avatar
furti
Posts: 320
Joined: Mon Nov 27, 2017 5:27 pm

Re: Arch Texture Workbench

Postby furti » Wed Jun 12, 2019 5:05 am

I also think it is possible to do.
I read this article https://learnopengl.com/Advanced-Lighting/SSAO
It gives a pretty good explanation on how ssao works.

I think the fragment shader in coin3d is the place to implement this. But foes coin3d use deferred rendering? So that we have the needed information available?

And the openinventor mentor states that a fragment shader replaces a lot of built in functionality like texture rendering and stuff. So this has to be reimplemented in the shader i think :?:
User avatar
furti
Posts: 320
Joined: Mon Nov 27, 2017 5:27 pm

Re: Arch Texture Workbench

Postby furti » Thu Jun 13, 2019 7:09 pm

sgrogan wrote:
Fri Jun 07, 2019 10:15 pm
furti wrote:
Fri Jun 07, 2019 5:03 am
Will try to figure this out and document it :)
Thanks, cool looking work!
Hard to tell what is really supported. Based on the documentation of coin3D it depends on the installed simage library.
https://grey.colorado.edu/coin3d/classS ... 9b068a5f49

But as this is outdated. And this is a simage library in coin3D itself: https://bitbucket.org/Coin3D/simage/src/default/src/ I would assume the following is supported:
- xwd
- tiff
- tga
- png
- pic
- jpeg
- JPEG-2000
- gif
- rgb
- eps

But maybe someone knows what simage library FreeCAD uses?
User avatar
bitacovir
Posts: 693
Joined: Sat Apr 19, 2014 6:23 am
Contact:

Re: Arch Texture Workbench

Postby bitacovir » Fri Jun 14, 2019 10:44 pm

One question. Is it possible to give the option of rotation of the texture picture when is used repeatedly to cover a surface? This way you can mitigate the repetitive patterns.
inkscape_2019-06-14_18-42-25.png
inkscape_2019-06-14_18-42-25.png (735.15 KiB) Viewed 407 times
inkscape_2019-06-14_18-43-46.png
inkscape_2019-06-14_18-43-46.png (674.33 KiB) Viewed 407 times
inkscape_2019-06-14_18-45-53.png
inkscape_2019-06-14_18-45-53.png (657.81 KiB) Viewed 407 times
::bitacovir::
===================================
One must be absolutely modern.
Arthur Rimbaud (A Season in Hell -1873)

My Blog
Mini Airflow Tunnel Project
User avatar
furti
Posts: 320
Joined: Mon Nov 27, 2017 5:27 pm

Re: Arch Texture Workbench

Postby furti » Sat Jun 15, 2019 4:19 am

bitacovir wrote:
Fri Jun 14, 2019 10:44 pm
Is it possible to give the option of rotation of the texture picture when is used repeatedly to cover a surface
This is not possible at the moment. But this isva nice feature request. I will have a look how this could be implemented.

For now i always used seamless textures. So there is no visible seam.
User avatar
sgrogan
Posts: 5333
Joined: Wed Oct 22, 2014 5:02 pm

Re: Arch Texture Workbench

Postby sgrogan » Sat Jun 15, 2019 4:07 pm

furti wrote:
Thu Jun 13, 2019 7:09 pm
But maybe someone knows what simage library FreeCAD uses?
For Win and the Conda based builds I believe its 1.7
triplus
Posts: 8683
Joined: Mon Dec 12, 2011 4:45 pm

Re: Arch Texture Workbench

Postby triplus » Wed Jun 19, 2019 9:29 pm

Nice progress!