Wings 3D Development Forum
[Fixed] Wood Noise pattern baking is failed. - Printable Version

+- Wings 3D Development Forum (https://www.wings3d.com/forum)
+-- Forum: Wings 3D (https://www.wings3d.com/forum/forumdisplay.php?fid=1)
+--- Forum: Bug Reports (https://www.wings3d.com/forum/forumdisplay.php?fid=12)
+--- Thread: [Fixed] Wood Noise pattern baking is failed. (/showthread.php?tid=1403)

Pages: 1 2


[Fixed] Wood Noise pattern baking is failed. - tkbd - 10-02-2015

This trouble is happened on AutoUV CreateTexure operation.

Look at following screenshot(Comparison image of v1.5.4 and v2.0.1 ).
[Image: th_bake_failed_zps9tnxa95l.png]
Wood, Noise and Edge Filter are not working.

Wings3D 2.0.1, OSX 10.10.5, 64bit
Regards Smile
-------
tkbd


RE: Wood Noise pattern baking is failed. - micheus - 10-08-2015

Checked. The crash occurs only if "Edge filter" is included. If we use any other option they work fine.


RE: Wood Noise pattern baking is failed. - tkbd - 10-10-2015

Thank you for checking.
Hum....
I tried simple combination of Background(Image/Color) and *Wood*,
but filling white only draw to texture.(I tried both OSX and Windows)

I'm not seriously trouble by this bug for the moment. Smile
However why it would become this way.

----------------------------------------------
Wings3D 2.0.1, OSX 10.10.5, 64bit, Intel Iris OpenGL engine v2.1 INTEL-10.6.33 ,2D-API: wxWidgets: 3.0.3.0
Wings3D 2.0.1, Windows10, 32bit, Geforce640/PCIe/SSE2/3DNOW v4,5,0 NVIDIA355.82 ,2D-API: wxWidgets: 3.0.2.0

tkbd


RE: Wood Noise pattern baking is failed. - micheus - 10-10-2015

I supposedly did a post earlier that was not registered. :/

When I was testing again in a PC at work it doesn't worked too. There I got the same issue as you.


RE: Wood Noise pattern baking is failed. - micheus - 10-10-2015

(10-10-2015, 01:19 AM)tkbd Wrote: I tried simple combination of Background(Image/Color) and *Wood*,
but filling white only draw to texture.(I tried both OSX and Windows)
tkbd, how was the initial settings when you chose this combination.

By trying to find why the problem seems to be intermittent, I found that it seems that the previous parameters are being assigned to wrongly.

The sample:
a) I create a texture using the options: Background, Draw Faces and Draw Edges;
b) then, I exit Wings3D (the options is saved in preferences);
c) Starting Wings3D again, when selecting Create Texture the initial options are those used before. Now, I replaced the Draw Edges by *Wood* and the crash happens with:
Quote:AUV: Internal ERROR function_clause:
[{wings_gl,set_uloc,[23003136,all_edges],[{file,"wings_gl.erl"},{line,177}]},
{auv_texture,shader_uniforms,3,[{file,"auv_texture.erl"},{line,897}]},
...
where all_edges is the first parameter for Draw Edges.

In order to make it work, it was necessary to click in the button Options (no necessary to change anything).

That is a strange behaviour for the dialogs. I never notice that before. Huh


RE: Wood Noise pattern baking is failed. - micheus - 10-10-2015

Ok. I got it. Smile


RE: [Fixed] Wood Noise pattern baking is failed. - tkbd - 10-13-2015

I wonder if the bug has been fixed?
At any rate.Micheus,Thank you for your hard work!!

Since I found error log through your advice.
Code:
Using GPU shaders.
AUV: Error Couldn't read file: /Applications/Wings3D 2.0.1.app/Contents/Resources/lib/wings-2.0.1/plugins/autouv/standard.vs
AUV: No shader program found skipped 816
Shaders hadn't be loading in OSX.
I think that it is the cause of this bug.

Probably It may be that certain relate that not appear view> shaders menu.


RE: [Fixed] Wood Noise pattern baking is failed. - micheus - 10-13-2015

It seems to be a missing file in the current version. I copied it from the 1.5.4 in order to test and look for the bug that is related to not use the proper parameters (in Option button).


RE: [Fixed] Wood Noise pattern baking is failed. - dgud - 10-15-2015

Micheus can you fix the missing shader(s) file in your commit,
in tools/release search for autouv and add vs to fileextensions.


RE: [Fixed] Wood Noise pattern baking is failed. - micheus - 10-15-2015

Yes, I can. Thanks for show me the steps.