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!
Forum rules
Be nice to others! Respect the FreeCAD code of conduct!
User avatar
bitacovir
Veteran
Posts: 1570
Joined: Sat Apr 19, 2014 6:23 am
Contact:

Re: Arch Texture Workbench

Post by bitacovir »

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)

Canal Youtube Grupo Telegram de FreeCAD Español

My personal web site
My GitHub repository
Mini Airflow Tunnel Project
User avatar
yorik
Founder
Posts: 13640
Joined: Tue Feb 17, 2009 9:16 pm
Location: Brussels
Contact:

Re: Arch Texture Workbench

Post by yorik »

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
Veteran
Posts: 1570
Joined: Sat Apr 19, 2014 6:23 am
Contact:

Re: Arch Texture Workbench

Post by bitacovir »

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 2208 times
FreeCAD_2019-06-08_11-44-03.jpg
FreeCAD_2019-06-08_11-44-03.jpg (349.3 KiB) Viewed 2208 times
::bitacovir::
==================
One must be absolutely modern.
Arthur Rimbaud (A Season in Hell -1873)

Canal Youtube Grupo Telegram de FreeCAD Español

My personal web site
My GitHub repository
Mini Airflow Tunnel Project
User avatar
yorik
Founder
Posts: 13640
Joined: Tue Feb 17, 2009 9:16 pm
Location: Brussels
Contact:

Re: Arch Texture Workbench

Post by yorik »

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: 344
Joined: Mon Nov 27, 2017 5:27 pm

Re: Arch Texture Workbench

Post by furti »

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: 344
Joined: Mon Nov 27, 2017 5:27 pm

Re: Arch Texture Workbench

Post by furti »

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
Veteran
Posts: 1570
Joined: Sat Apr 19, 2014 6:23 am
Contact:

Re: Arch Texture Workbench

Post by bitacovir »

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 2031 times
inkscape_2019-06-14_18-43-46.png
inkscape_2019-06-14_18-43-46.png (674.33 KiB) Viewed 2031 times
inkscape_2019-06-14_18-45-53.png
inkscape_2019-06-14_18-45-53.png (657.81 KiB) Viewed 2031 times
::bitacovir::
==================
One must be absolutely modern.
Arthur Rimbaud (A Season in Hell -1873)

Canal Youtube Grupo Telegram de FreeCAD Español

My personal web site
My GitHub repository
Mini Airflow Tunnel Project
User avatar
furti
Posts: 344
Joined: Mon Nov 27, 2017 5:27 pm

Re: Arch Texture Workbench

Post by furti »

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
Veteran
Posts: 6499
Joined: Wed Oct 22, 2014 5:02 pm

Re: Arch Texture Workbench

Post by sgrogan »

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
"fight the good fight"
triplus
Veteran
Posts: 9471
Joined: Mon Dec 12, 2011 4:45 pm

Re: Arch Texture Workbench

Post by triplus »

Nice progress!
Locked