Usage of Fog

Return to General Discussion

Postby drwr » Sat Feb 11, 2012 4:03 pm

Perhaps it's worth trying a build without this option set, to see if it makes a difference.
drwr
 
Posts: 11253
Joined: Fri Feb 13, 2004 12:42 pm
Location: Glendale, CA

Postby rdb » Sun Feb 12, 2012 2:43 am

OK, I made a build without SSE2 support. Wezu, can you try it as soon as possible, and let me know if it works? Be sure to uninstall all other Panda3D builds first.
rdb
 
Posts: 8575
Joined: Mon Dec 04, 2006 5:58 am
Location: Netherlands

Postby wezu » Sun Feb 12, 2012 5:50 am

That did it. Panda works now. The original fog+shadows issue is still there and it can still be 'fixed' removing a shine or normal texture.

The output is a bit different then it used to be:
Code: Select all
DirectStart: Starting the game.
Known pipe types:
  wglGraphicsPipe
(all display modules loaded.)
:gobj(error): created-shader: (128) : warning C7011: implicit cast from "float4"
 to "float3"
:gobj(error): created-shader: (22) : error C5102: output semantic attribute "TEX
COORD" has too big of a numeric index (8)
:gobj(error): Shader encountered an error.
:gobj(error): created-shader: (128) : warning C7011: implicit cast from "float4"
 to "float3"
:gobj(error): created-shader: (22) : error C5102: output semantic attribute "TEX
COORD" has too big of a numeric index (8)
:gobj(error): created-shader: (22) : error C5041: cannot locate suitable resourc
e to bind parameter "l_hpos"


...apart from that all works fine :D
I may be totally wrong, cause I'm a dancin' fool.
User avatar
wezu
 
Posts: 521
Joined: Tue May 19, 2009 1:03 pm

Postby rdb » Sun Feb 12, 2012 6:46 am

OK. So the problem is that either you didn't set basic-shaders-only to #f, or that your GPU is simply not capable of handling that amount of goodness.

Glad the SSE2 thing fixed it, I guess I'll just be building the public Windows builds without SSE2 support enabled by default.
rdb
 
Posts: 8575
Joined: Mon Dec 04, 2006 5:58 am
Location: Netherlands

Postby wezu » Sun Feb 12, 2012 8:06 am

basic-shaders-only are #f It must be my GPU.

Since removing some texture(stages) makes things work I was wondering if it would be very hard to add a environment-type NORMAL_GLOSS (normal map in rgb and gloss in the alpha channel)?
I may be totally wrong, cause I'm a dancin' fool.
User avatar
wezu
 
Posts: 521
Joined: Tue May 19, 2009 1:03 pm

Postby rdb » Sun Feb 12, 2012 9:37 am

Sure thing. I'm swamped with other tasks at the moment, but please file a bug report, so that I can get it into 1.8.1.
rdb
 
Posts: 8575
Joined: Mon Dec 04, 2006 5:58 am
Location: Netherlands

Postby drwr » Sun Feb 12, 2012 12:49 pm

Awesome! So I was wrong in my somewhat callous assertion that "it's probably not SSE2." My apologies. :)

David
drwr
 
Posts: 11253
Joined: Fri Feb 13, 2004 12:42 pm
Location: Glendale, CA

Postby rdb » Mon Feb 13, 2012 3:19 pm

For the record, I quickly implemented the normal_gloss mode this morning. It's in the new 1.8.0 release. I didn't actually test it, but the change is relatively trivial so I'm pretty confident that it works.
rdb
 
Posts: 8575
Joined: Mon Dec 04, 2006 5:58 am
Location: Netherlands

Postby wezu » Mon Feb 13, 2012 3:54 pm

That was fast, thanks!
I may be totally wrong, cause I'm a dancin' fool.
User avatar
wezu
 
Posts: 521
Joined: Tue May 19, 2009 1:03 pm

Previous

Return to General Discussion

Who is online

Users browsing this forum: No registered users and 1 guest