DesignCAD 3D Max 2027 box
Now available

DesignCAD 2027

Hatches that follow their boundaries, an on-screen dial to turn your model, and a way to find any command by name, in a clean Windows 11 look.

strange occasional white mesh

Started by samdavo, October 05, 2013, 05:57:47 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

samdavo

This will be familiar to anyone who has been following the loco discussion on parallel thread.
But that thread is up to page 7, - So I'll start another thread with a parallel problem.

Firstly I'll post this example of "where I personally am at" playing around with this.

Next post I'll add something strange with a slightly different dcd file.

samdavo

#1
So along the way, lol, I found a previous problem resurfacing (a white mesh - different to Layer 0 Aluminium as far as I can see)...
But the weird thing is that it is inconsistent, and you can temporarily beat it by persisting, especially if you pan up and down a bit before you render.   Confused? lol.  Further explanation follows:-

The enclosed dcd file has two boilers drawn, an original one, and a new one which is the same after adding the section (vector only) of the top of the chimney.

Now for the weird bit (maybe my imagination lol)
You seem to get a different effect when you render
a) the new one alone, or
b) the new one with part of the old one included in the screen.

And the difference is a white mesh that can accompany option a),

but rarely (ok, less commonly) accompanies option b) (??!?)
weird or what? 

PS Phil - I imagine you will say "sheesh, I've explained that so many times to everyone, I can repeat it in my sleep!! ".

And you are probably right (to a point lol). 
You may see that I have added the section for the top half of the chimney - that needs to be swept.
And certainly if you sweep that, you get "alu-bug" elements.  So some may speculate it has something to do with the top of the chimney.

However, next post, I'll tell you another way to get this effect.

samdavo

#2
I would enclose a dcd file that I did along the way - but I'm getting a message that my upload file is near full.

It  is exactly the same as file "chimney 1003 3d 2d.dcd"  which I posted on the parallel thread last evening - but with some of the unnecessary "stages" removed (and made more compact). 

Now the weird bit (again).
I simply delete the unnecessary "stages", and suddenly I noticed that SOMETIMES I get this white mesh.

I enclose two jpegs -
one called "2f without white mesh"
another called "2f with white mesh".
The first jpeg has part of the original visible. 
And that's my latest theory, lol.


well damn it all, it SEEMS to work empirically!!!  (albeit not reliably, lol !!!
Am I correct in observing the evidence?  absolutely.
Am I correct in interpreting it? - who nose?
Am I going mad? / delusional ?  - maybe ( been watching  too much of Dynamo the Magician lately lol).

PS After that I'll post my theory about astrology PROVING that Pythagarus only worked out his rule because (and ONLY because) he was a Sagittarius.    :))

PS Another theory might be that there are a lot of construction lines in there - including my diaboxes (which would usually be deleted earlier) - and who nose? maybe that's an alternative explanation?

samdavo

#3
ok - I'll summarise ( yet again).

Firstly an admission.
I realise that the two dcd files I posted in the first two posts have an aluminium problem.

"5b weird or what" has a line for the section of the upper chimney, and this, for some reason, has a problem, in that, IF you change it from a group to a plane, prior to sweeping - the plane shows in INfobox as "Aluminium".  (edit - it is not a closed polygon - maybe that explains that at least? but is irrelevant to this thread, i.e. read on anyway)

And in "5d directional light" I sweep this, albeit as a vector - and this time the swept grid is "Aluminium".

But none of that is relevant (imo) to the problem I am discussing.

I attach some jpegs.
These show that,
1. I redraw that section of the top of the chimney, and make it a closed polygon incidentally (I delete the problem section)
2. I "mp" make a plane
3. I check the plane is no longer aluminium
4. I sweep it.- all good so far - see the dark blue layer 7 funnel.  No aluminium to be seen.

But then the weird effect.

5. If I have part of the distant cylinder in view when I render, then I don't get the white mesh  (I  render it, accelerator off, Goulag/Gerard whatever - each rendering is of course lost when I pan or zoom the view, because accelerator is off)

6. But if I have none of the distant cylinder in view when I render, I get the white mesh (??!!)

PS Sometimes I don't get the white mesh for a render or three (eg SOMETIMES after I change the lighting)  - so even the above summary isn't "carved in stone" (2 cents)
PS - Sorry, although it's only a 1MB file, I am not permitted to post the dcd file for others to check out for themselves ("would exceed uplift folder").

In case you're real keen ... Basically I start with "5b weird or what", and make the changes 1-6 listed above.

PS V22.1 on this occasion.

Dempsey

Sam,

What DC version are you using?

Do you have Options -> View -> Use accelerated pixel format checked?

And/or do you have Options -> General -> RedSDK Options checked?

What colour do you use when something is selected?
Dempsey

samdavo

#5
Quote from: Dempsey on October 06, 2013, 09:21:20 PM
Sam,
1. What DC version are you using?
2. Do you have Options -> View -> Use accelerated pixel format checked?
3. And/or do you have Options -> General -> RedSDK Options checked?
4. What colour do you use when something is selected?

Howdy Dempsey
1. Well I've (drawn it and) checked it with V22.1 on one computer, 
and also (checked it) with V23 on another.
And it happens on both.
Windows 7 in both cases btw.

2. and 3.  I don't use accelerated pixies or Redskin driver option on the V23 ( and clearly not on the V22.1 either - not available).  (edit - and anyone who believes in racial superiority is suffering from a pigment of the imagination btw)

4.  Colour when selected?
generally purple 130.000.255 (unless I am in layer 9 which is purple, when I use yellow - and layer 9 is really really rare - in fact only used for "housekeeping" - and not used in any of those drawings)...
The following excerpt from one of the macros on "simple control of layers and colours"
Quote'but retain selection AS purple
sys(315)=130
sys(316)=0
sys(317)=255
cheers
sam

PS I apologise for not posting that dcd file (only 1MB,  file 5e ) - but I am prevented from doing so - something about upload folders and clouds and stuff  - (and it doesn't permit it even when I zip up the file).
I do however post earlier versions, 5b and 5d, which also have the problem.   The benefit of working with 5e however is that it has been triple checked not to have any aluminium. 
 
edit - file 5e attached

Also 5h without the other boiler cylinder - and, for that one, the way I see it, the white mesh is always there.
   

Dr PR

Sam,

With your "5h" file I do see the white lines if I use Phong shading in V22.1.

Here's something strange. I selected the boiler and moved it to a separate layer (6). I selected the boiler and used Solid Explode, and then I didn't see the white lines when I shaded with Phong. Then I used Undo and shaded again and the white lines are still gone!

Odder still - when I enable all layers and shade with Phong there are no white lines on the chimney, the skirt or the boiler!

Problem solved, but I have no idea why.

****

I repeated the process, restarting DesignCAD and starting new with your file. I can get the white lines to go away only if I move the boiler to a new layer and explode it. After Undo they are still gone. I tried it with the chimney and moving to a new layer and exploding the solid had no effect - the white lines are still there.

Phil
DesignCAD user since 1987

Dempsey

I tried "5h" and in the non-graphics Gourand shading mode the white ghost lines appear. Closing the top, side and front view windows has no impact. Moving the 3D main window around has no impact either, i.e. the white ghost lines stay.

However, when I maximized the DesignCAD window, and then maximized the 3d main window and did Ctrl-W (to fit the drawing to the window) the white ghost lines disappear. Reducing the DesignCAD window will (eventually) bring back the white ghost lines. I have been playing with it for a while and it is reproducible, and very useful for DT and programming to use as test case.

Dempsey

samdavo

Phil,
Problem ( problem number 1) solved - and then, as you say, the problem (for a rainy day maybe) is to find WHY the problem is solved, lol.
Thanks for checking it out - and give my regards to Donald Rumsfeld lol.   
(At this point in time I can't replicate what you did - but I can't always replicate what I did either - maybe next weekend). 

Of course, you can turn on the accelerator and get rid of it  (no white mesh, but you lose the dark shadows).
>>>>>>>>>>>>>>>>>>>>

On a separate matter, I have previously found another "idiosyncratic" problem (problem 2) when 
a) the window is maximised (rather than restored down - as Dempsey says), in conjunction with
b) (again) the accelerator off.
The problem I have found with that combination is that it can regenerate twice quickly, and you lose the render.  (There's a thread around here somewhere on that one).  i.e. you just can't render, white lines or no white lines. 

Again, you can turn on the accelerator, (= condition b. above) and get rid of that problem as well (but again lose the dark shadows).

It's almost as if shadows are a luxury that comes with some problems.  Would that be fair criticism (?) 

The other way to get rid of that idiosyncratic problem 2. is to "restore down" the window (= condition a. above) -  and leave the accelerator off.    But now you still potentially have problem number 1 = white lines.

minstrel

Sam,
I've not thoroughly followed this thread, but there is something [which I really know nothing about] found down at the bottom of the 'options' menu.  Since you speak of shadows mis-behaving maybe this 'Use New Shadow' will cast them a tad better?

Remember, I've given up on DCAD for final renders --- too much hassel!  Yet I enjoy seeing your 'gallant' efforts :)

DrollTroll

tl;dr
From a cursory examination, if appears to me that if you uncheck the "lines" option in the Shade command, it shades fine. Not sure why, though...
25 years with DesignCAD

samdavo

#11
ahh brilliant - thanks dt :)
your blood's worth bottling as they say.
all done with a minimum of explosions.

As for the known knowns and the known unknowns ...  I heard a great example of a known unknown - when they first discovered the idea of the periodic table, they knew that they would one day "populate it" with new elements - but as yet (to that point in time)unknown.   Sorry, getting philosophical comes easy at this time of the morning. (2 cents)

anyway, today the steam train boiler, tomorrow the WORLD!!

Dr PR

#12
minstrel and dt,

Thanks for calling this to mind:

There are VERY many display options in DesignCAD, and they cause things to work differently on machines that are configured differently. The only way we have a fair chance of replicating a problem is if we know the state of all of these settings:

2D or 3D mode

Options
  Use New Shadows

Options/Options/View tab:
  Enable graphics acceleration
  Enable off-screen bitmap
  Display geometry on top of images

Options/Options/General tab:
  RedSDK Options:
    Is RedSDK enabled?
      If so, what options are selected?

Options/Options/Light Source:
  What type of light?
  What are your Ambient/Diffuse/Specular Intensity settings?
  Shadow Options:
    Shadow Map, Softness and Tolerance settings?

What is your background color?

Layer assigned color and line style, if any.

I think there is a "use fast pixels" or something like that option but I can't find it in the latest V23.0 beta I am running (I can't run the V23.0 release yet).

What video card are you running? Are you using the latest drivers?

Have you disabled ipoint.exe?

Phil
DesignCAD user since 1987

Dr PR

#13
Sam,

I'm not sure your white likes are a DesignCAD bug. I have been doing a LOT of 3D modeling in DesignCAD for decades, and I have never seen it.

This problem seems to be unique to your one drawing. It is possible for drawings to become corrupted due to use actions (macros, etc.) and then strange things happen when DesignCAD tries to work with them.

If it is a true bug, lets call it the Sambug!

Try this:

Enable all layers.
Select everything.
Copy.
Open new blank drawing.
Paste into the new drawing.

Are the white lines still there?

Phil
DesignCAD user since 1987

samdavo

#14
Quote from: Dr PR on October 08, 2013, 11:34:38 AM
Sam,
...
Paste into the new drawing.
Are the white lines still there?
Phil
well I'll be a monkey's uncle!! lol - nope - that fixes it as well :)
heck Xmas has come early this year !

PS Can someone tell me what "use new shadows" means please - when you get a chance.
Sounds like an aspirational goal for someone joining weightwatchers :)