Tubutas
February 18, 2010, 4:14pm
1
I have a .egg that loads very spotty [It’s mostly white and rotating it causes it to go in and out of focus]. Does anyone see a problem with the following.egg?
{ Z-Up }
{
“dae2egg ‘C:\Users\Private Tubutas\Documents\road.dae’ ‘C:\Users\Private Tubutas\Documents\road.egg’”
}
ID10 {
“830.jpg”
type { 2d }
wrapu { repeat }
wrapv { repeat }
envtype { modulate }
uv-name { UVSET0 }
}
Material3 {
diffr { 1 }
diffg { 1 }
diffb { 1 }
ambr { 0 }
ambg { 0 }
ambb { 0 }
emitr { 0 }
emitg { 0 }
emitb { 0 }
specr { 0 }
specg { 0 }
specb { 0 }
shininess { 20 }
}
Material2 {
diffr { 1 }
diffg { 1 }
diffb { 1 }
ambr { 0 }
ambg { 0 }
ambb { 0 }
emitr { 0 }
emitg { 0 }
emitb { 0 }
specr { 0 }
specg { 0 }
specb { 0 }
shininess { 20 }
}
VisualSceneNode {
ID2 {
ID2 {
0 {
189.045 7034.11 0
{ 0 0 -1 }
}
1 {
0 0 0
{ 0 0 -1 }
}
2 {
0 7034.11 0
{ 0 0 -1 }
}
3 {
0 0 0
{ 0 0 -1 }
}
4 {
189.045 7034.11 0
{ 0 0 -1 }
}
5 {
189.045 0 0
{ 0 0 -1 }
}
6 {
189.045 0 0
UVSET0 { -1.00024 0 }
{ 0 0 1 }
}
7 {
189.045 7034.11 0
UVSET0 { -1.00024 37.2175 }
{ 0 0 1 }
}
8 {
0 0 0
UVSET0 { 0 0 }
{ 0 0 1 }
}
9 {
0 7034.11 0
UVSET0 { 0 37.2175 }
{ 0 0 1 }
}
10 {
0 0 0
UVSET0 { 0 0 }
{ 0 0 1 }
}
11 {
189.045 7034.11 0
UVSET0 { -1.00024 37.2175 }
{ 0 0 1 }
}
}
ID2.Material3 {
{
{ Material3 }
{ 1 }
{ 0 1 2 { ID2 } }
}
{
{ Material3 }
{ 1 }
{ 3 4 5 { ID2 } }
}
}
ID2.Material2 {
{
{ ID10 }
{ Material2 }
{ 6 7 8 { ID2 } }
}
{
{ ID10 }
{ Material2 }
{ 9 10 11 { ID2 } }
}
}
}
}
{
}
830.jpg is this file
In sketchup the file looks fine, but in panda it looks very messed up.
drwr
February 18, 2010, 5:55pm
2
You have two coincident polygons. One of them is untextured and white, and the other one has the road texture. Because they’re both in exactly the same position, you can see pixels of one or the other flicker back and forth as you change your viewpoint. (This is called Z-fighting.)
David
Tubutas
February 18, 2010, 10:56pm
3
How would one fix this?
[edit]
By deleting material 3 it worked. Thanks.
drwr
February 18, 2010, 11:12pm
4
Remove the white polygon.