0.20.1 issue with textures: they are not even applied

Post here for help on using FreeCAD's graphical user interface (GUI).
Forum rules
and Helpful information
IMPORTANT: Please click here and read this first, before asking for help

Also, be nice to others! Read the FreeCAD code of conduct!
User avatar
BartR
Posts: 256
Joined: Tue Aug 10, 2021 10:59 am

0.20.1 issue with textures: they are not even applied

Post by BartR »

I just draw a wrench following a tutorial, to get more practice with FreeCAD

At the end, i wanted to add a texture. But even after have loaded the texture, ti doesn't show really up.
The result is quite crapy.

Please here the animated GIF that shows you the behavior.
However on any project the result is the same and with any texture :-/

The texture I downloaded is this one https://www.goodtextures.com/image/1827 ... ture-18270
Image
______________
Bart R.
User avatar
Roy_043
Veteran
Posts: 8450
Joined: Thu Dec 27, 2018 12:28 pm

Re: 0.20.1 issue with textures: they are not even applied

Post by Roy_043 »

Please try with a simple Part_Box.
User avatar
BartR
Posts: 256
Joined: Tue Aug 10, 2021 10:59 am

Re: 0.20.1 issue with textures: they are not even applied

Post by BartR »

Roy_043 wrote: Fri Nov 25, 2022 4:50 pm Please try with a simple Part_Box.
Done. I got the identical result :-/

the crate cube becomes darker ... that's it. No matter which texture I apply ...


NOTE/ in all the cases: if i click on ENVIRONMENT, i see the texture but as reflexes from the environment. but when the environment is not ticked (checked), the object is just darker.
______________
Bart R.
User avatar
Roy_043
Veteran
Posts: 8450
Joined: Thu Dec 27, 2018 12:28 pm

Re: 0.20.1 issue with textures: they are not even applied

Post by Roy_043 »

The command works but its results are limited. The texture is projected along the X-axis, which results in a streaky pattern for faces whose normals are perpendicular to that axis.

I have used background.png for the texture.
Attachments
background.png
background.png (21.97 KiB) Viewed 552 times
texture_test.png
texture_test.png (88.68 KiB) Viewed 552 times
User avatar
BartR
Posts: 256
Joined: Tue Aug 10, 2021 10:59 am

Re: 0.20.1 issue with textures: they are not even applied

Post by BartR »

Roy_043 wrote: Fri Nov 25, 2022 6:21 pm The command works but its results are limited. The texture is projected along the X-axis, which results in a streaky pattern for faces whose normals are perpendicular to that axis.

I have used background.png for the texture.
Also with PNG I get the same result. Ok the environment, not-working on the object.

Image
______________
Bart R.
User avatar
Roy_043
Veteran
Posts: 8450
Joined: Thu Dec 27, 2018 12:28 pm

Re: 0.20.1 issue with textures: they are not even applied

Post by Roy_043 »

Check the faces whose normals are parallel to the X axis.
User avatar
BartR
Posts: 256
Joined: Tue Aug 10, 2021 10:59 am

Re: 0.20.1 issue with textures: they are not even applied

Post by BartR »

Roy_043 wrote: Fri Nov 25, 2022 6:34 pm Check the faces whose normals are parallel to the X axis.
Yes they are however even with the cube you have suggested: not any texture applied. On any angle/orientation.
______________
Bart R.
User avatar
Roy_043
Veteran
Posts: 8450
Joined: Thu Dec 27, 2018 12:28 pm

Re: 0.20.1 issue with textures: they are not even applied

Post by Roy_043 »

My V0.20 version info:

Code: Select all

OS: Windows 8.1 Version 6.3 (Build 9600)
Word size of FreeCAD: 64-bit
Version: 0.20.1.29410 (Git)
Build type: Release
Branch: releases/FreeCAD-0-20
Hash: f5d13554ecc7a456fb6e970568ae5c74ba727563
Python 3.8.10, Qt 5.15.2, Coin 4.0.1, Vtk 8.2.0, OCC 7.6.3
Locale: Dutch/Netherlands (nl_NL)
Installed mods: 
User avatar
BartR
Posts: 256
Joined: Tue Aug 10, 2021 10:59 am

Re: 0.20.1 issue with textures: they are not even applied

Post by BartR »

Roy_043 wrote: Sat Nov 26, 2022 9:35 am My V0.20 version info:
Please here mine

Please note that it's written Windows 10 version 2009 while I have Win 11 21H2 Build 22000.1281 (out of Winver) hence I have not clue where FreeCAD is taking the infos from

Code: Select all

OS: Windows 10 Version 2009
Word size of FreeCAD: 64-bit
Version: 0.20.1.29410 (Git)
Build type: Release
Branch: releases/FreeCAD-0-20
Hash: f5d13554ecc7a456fb6e970568ae5c74ba727563
Python 3.8.10, Qt 5.15.2, Coin 4.0.1, Vtk 8.2.0, OCC 7.6.3
Locale: English/United States (en_US)
Installed mods: 
  * 3D_Printing_Tools
  * CADExchanger
  * CurvedShapes 1.0.4
  * Curves 0.6.1
  * fasteners 0.4.24
  * fcgear
  * InventorLoader 1.3.0
  * kicadStepUpMod 10.16.5
  * pcb
  * POV-Ray-Rendering
  * Render 2022.3.0
  * ThreadProfile 1.84.0
  * WebTools
______________
Bart R.
drmacro
Veteran
Posts: 8865
Joined: Sun Mar 02, 2014 4:35 pm

Re: 0.20.1 issue with textures: they are not even applied

Post by drmacro »

BartR wrote: Sat Nov 26, 2022 10:32 am
Roy_043 wrote: Sat Nov 26, 2022 9:35 am
Just a note.

If you ever change you signature, for instance to a different version, it will change on all your past posts. Thus for future readers of your posts it would be quite confusing.
Star Trek II: The Wrath of Khan: Spock: "...His pattern indicates two-dimensional thinking."
Post Reply