Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
 
Share Thread:
Reddit Facebook Twitter
[fixed] shader => 0,transparent => true
04-12-2019, 06:00 PM (This post was last modified: 11-19-2019 05:43 PM by dgud.)
Post: #1
[fixed] shader => 0,transparent => true
Hi there,

I did not install 2.2.4 yet, but...

I'm working a little bit with materials (roughness, metallic etc) and got this:


Dump written 2019-4-12_19-53
Version: 2.2.3
OS: Linux 4.15.0-20-generic x86_64
GPU: NVIDIA Corporation | GeForce GTX 650 Ti/PCIe/SSE2
Window: geom
Reason: {{badmap,
{false,
#{shader => 0,
view_from_world =>
{e3d_transf,
{1.0,0.0,0.0,0.0,1.0,0.0,0.0,0.0,1.0,
-1.2831745267884374,-0.46685385086779296,...},
{1.0,0.0,0.0,0.0,1.0,0.0,0.0,0.0,1.0,
1.2831745267884374,...}},
ws_eyepoint =>
{1.2831745267884374,0.46685385086779296,
13.010906546857338},
{ambient_light,'UseDiffuseMap'} => 0,
{ambient_light,'UseEmissionMap'} => 0,
{ambient_light,'UseNormalMap'} => 0,
{ambient_light,'UsePBRMap'} => 0,
{ambient_light,diffuse} =>
{0.8549019607843137,0.06274509803921569,
0.06274509803921569,0.26},
{ambient_light,emission} => {0.0,0.0,0.0,0.26},
{ambient_light,light_diffuse} => {1.0,1.0,1.0,1.0},
{ambient_light,metallic} => 0.45,
{ambient_light,roughness} => 0.06,
{ambient_light,ws_eyepoint} =>
{1.2831745267884374,0.46685385086779296,
13.010906546857338},
{ambient_light,ws_matrix} =>
{1.0,0.0,0.0,0.0,1.0,0.0,0.0,0.0,1.0,0.0,0.0,0.0},...}}},

Will update the steps if happens again.

BR, Hank

My gallery: marcone.pl
Reply
04-12-2019, 06:54 PM
Post: #2
RE: shader => 0
It happened after you change the material settings and click OK in the material dialog?
Or, it happened in the material dialog while changing some property? Which property you changed when you got the crash?
Or, maybe, were you assigning an image to a material?

@MicheusVieira MicheusVieira Micheuss micheus4wings3d
* Wings3D Team stands for: Björn and Dan
Reply
04-13-2019, 04:54 AM (This post was last modified: 04-13-2019 05:05 AM by Hank.)
Post: #3
RE: shader => 0
it happens when I change opacity value.
After error window pops-up I click OK but it shows again and again, so I have to terminate the session.

BR, Hank

OK, now I got it.
1 Add any object
2 turn on ambient occlusion
3 change to shader mode
4 duplicate the material
5 set new material color + roughness + metallic
6 apply material to the object
7 go back to the material and change the opacity

+ recording:



BR, Hank

My gallery: marcone.pl
Reply
04-13-2019, 10:05 AM (This post was last modified: 04-16-2019 12:13 PM by micheus.)
Post: #4
RE: shader => 0
Thanks Hank.

Checked and that happens always we enable AO.

@MicheusVieira MicheusVieira Micheuss micheus4wings3d
* Wings3D Team stands for: Björn and Dan
Reply
04-20-2019, 03:28 PM
Post: #5
RE: shader => 0
yeah, 2.2.4 got the same problem

BR, Hank

My gallery: marcone.pl
Reply
06-13-2019, 06:56 AM
Post: #6
shader => 0,transparent => true
hello,

During work with transparent option in material area I got:

Dump written 2019-6-13_8-51
Version: 2.2.4
OS: Windows 8 (build 9200), 64-bit edition
GPU: Intel | Intel® HD Graphics 520
Window: geom
Reason: {{badmap,
{false,
#{shader => 0,transparent => true,
view_from_world =>
{e3d_transf,
{0.7163019434246543,-0.2529058053981006,
0.6503461996829085,0.0,0.9320078692827986,
0.36243803828370164,-0.6977904598416801,
-0.2596150711936347,0.6675990480543397,
3.1797939192201836,6.146082836715412,...},
{0.7163019434246543,0.0,-0.6977904598416801,
-0.2529058053981006,0.9320078692827986,
-0.2596150711936347,0.6503461996829085,
0.36243803828370164,0.6675990480543397,
-2.389349337588752,...}},
ws_eyepoint =>
{-2.389349337588752,-6.656680138883222,
2.104210976914315},
{ambient_light,'UseDiffuseMap'} => 0,
{ambient_light,'UseEmissionMap'} => 0,
{ambient_light,'UseNormalMap'} => 0,
{ambient_light,'UsePBRMap'} => 0,
{ambient_light,diffuse} =>
{0.9764705882352941,0.9882352941176471,1.0,0.2},
{ambient_light,emission} => {0.0,0.0,0.0,0.2},
{ambient_light,light_diffuse} => {1.0,1.0,1.0,1.0},
{ambient_light,metallic} => 0.0,
{ambient_light,roughness} => 0.6,
{ambient_light,ws_eyepoint} =>
{-2.389349337588752,-6.656680138883222,
2.104210976914315},...}}},
[{maps,get,
[{material,default},
{false,
#{shader => 0,transparent => true,
view_from_world =>
{e3d_transf,
{0.7163019434246543,-0.2529058053981006,
0.6503461996829085,0.0,0.9320078692827986,
0.36243803828370164,...},
{0.7163019434246543,0.0,-0.6977904598416801,
-0.2529058053981006,0.9320078692827986,...}},
ws_eyepoint =>
{-2.389349337588752,-6.656680138883222,
2.104210976914315},
{ambient_light,'UseDiffuseMap'} => 0,
{ambient_light,'UseEmissionMap'} => 0,
{ambient_light,'UseNormalMap'} => 0,
{ambient_light,'UsePBRMap'} => 0,
{ambient_light,diffuse} =>
{0.9764705882352941,0.9882352941176471,1.0,0.2},...}},
undefined],
[{file,"maps.erl"},{line,207}]},
{wings_material,apply_material_1,4,
[{file,"wings_material.erl"},{line,445}]},
{wings_draw,'-do_draw_mat_faces/4-fun-0-',4,
[{file,"wings_draw.erl"},{line,929}]},
{lists,foldl,3,[{file,"lists.erl"},{line,1263}]},
{wings_draw,'-draw_mat_faces/4-fun-0-',6,
[{file,"wings_draw.erl"},{line,915}]},
{wings_dl,call,2,[{file,"wings_dl.erl"},{line,178}]},
{wings_render,render_smooth_objects_1,4,
[{file,"wings_render.erl"},{line,270}]},
{wings_render,render_smooth_objects,4,
[{file,"wings_render.erl"},{line,237}]},
{wings_render,render_objects,4,
[{file,"wings_render.erl"},{line,155}]},
{wings_render,render,1,[{file,[...]},{line,...}]},
{wings,'-redraw/2-fun-0-',2,[{file,...},{...}]},
{wx,batch,1,[{...}|...]},
{wings,handle_event_3,2,[...]},
{wings_wm,handle_event,3,...},
{wings_wm,send_event,...},
{wings_wm,...},
{...}|...]}

Stack trace:
[{wx,batch,1,[{file,"wx.erl"},{line,186}]},
{wings,handle_event_3,2,[{file,"wings.erl"},{line,424}]},
{wings_wm,handle_event,3,[{file,"wings_wm.erl"},{line,984}]},
{wings_wm,send_event,2,[{file,"wings_wm.erl"},{line,951}]},
{wings_wm,do_dispatch,2,[{file,"wings_wm.erl"},{line,852}]},
{wings_wm,redraw_win,1,[{file,"wings_wm.erl"},{line,893}]},
{lists,foreach,2,[{file,"lists.erl"},{line,1338}]},
{wings_wm,redraw_all,0,[{file,"wings_wm.erl"},{line,868}]},
{wings,init_part2,2,[{file,"wings.erl"},{line,106}]},
{proc_lib,init_p_do_apply,3,[{file,"proc_lib.erl"},{line,249}]}]

BR, Hank

My gallery: marcone.pl
Reply
06-14-2019, 08:35 PM
Post: #7
RE: shader => 0,transparent => true
Hank, we need more information to try reproduce it.

- was the material using any image texture?
- which light model was you using when you got the crash? It happens for both light models?

If possible, could your add a primitive, assign the transparent material to it and link me a project file with this object and material?

I added a cube, create a material with 50% opacity and I couldn't reproduce the problem.

@MicheusVieira MicheusVieira Micheuss micheus4wings3d
* Wings3D Team stands for: Björn and Dan
Reply
06-16-2019, 06:50 PM
Post: #8
RE: shader => 0,transparent => true
I found this thread is doubled by me Tongue
so, steps can be found here
anyhow, the previous one was for 2.2.3 and in 2.2.4 still occurs...

@Micheus
if possible, merge this thread with linked above
thanks.

BR, Hank

My gallery: marcone.pl
Reply
06-16-2019, 08:56 PM
Post: #9
RE: shader => 0,transparent => true
Merged. Thanks for find it.

I'm going to try to not lose it from my sight this time. Blush

@MicheusVieira MicheusVieira Micheuss micheus4wings3d
* Wings3D Team stands for: Björn and Dan
Reply
11-19-2019, 05:42 PM
Post: #10
RE: shader => 0,transparent => true
Fixed
Reply


Forum Jump:


User(s) browsing this thread: 1 Guest(s)