News:

Please note new Forum URL: forum.designcad.com

Main Menu
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.

V19 3d bugs

Started by adriank, February 09, 2009, 07:11:29 PM

Previous topic - Next topic

0 Members and 0 Guests are viewing this topic.

Adrian 2.0

When I bought V19 I hoped it had fixed a V18 bug in 3d shading, where mirrored grid surfaces do not render correctly.
Alas V19 still has the same problem - it is as if the mirrored piece forgets to mirror the reflective or light source info & it looks like you see the back-of-surface info on the outside.
The only fix I have for this is to export the file & re-import it. In V18 DWG & DXF exports didn't work, so I used IGES which works very well, but you loose all colour settings, groups & solds are exploded on return. Layers also re-number +1.

Because DWG export works so much better on V19, I tried this fix, which sorted the display bug, but identified a new problem.
When rotating the view point in DCad the display rotates around the vanishing point, which is co-ordinate value 0:0:0.
When I imported the saved DWG the vanishing point had moved. 0:0:0 was still where I set it, but the drawing rotates around some random point offscreen & the image is grossly distorted.

Anyone else experienced this? Is there any way in DCad to re-set the value of the vanishing point that I have overlooked?
Maybe the biggest concern is that any file I export & send to another user will be distorted, and is my program distorting DWG images that they send me?


bdeck

hi adrian

Can you post an example?

I haven't encountered it yet in the little bit of mirroring I've done.

BD

Adrian 2.0

BD,
Attached is a sample file of 3 body panels for a car I'm designing.
layers 1-3 are of the original mirrored pieces, and layers 4-6 are the same pieces cleaned by export / import.
The images are of layers 1,5,6 on, and layers 4,6,6 on, showing the effect on the part in layer 1.
This in in quick render mode, graphics on. In medium mode the problem is much less, but with some material / colour settings the difference is still noticable. I need to edit with render on mostly because in wireframe, I only see a birdsnest.

If you export the DCD file as a DWG, then re-import it, try rotating the view - it should be swinging round the point of the panel (layers 3,6)

Many thanks for spending the time to look at this, It's much appreciated.

Adrian

Dr PR

Adrian,

When you import a file check the View Toolbar settings. The default values are rarely correct, and sometimes they cause weird things to happen when you rotate the view. The View Distance is especially important.

You might also try the "Window/DesignCAD Tile" function. This often restores "normal" display conditions after something goes haywire.

You can also try the user defined view options.
DesignCAD user since 1987

bdeck

#4
Hi Adrian,

Either gouraud or phong shading works fine on your panel. Flat shading is totally worthless in the last few versions of DC (at least with my geforce 5200 display, but I doubt thats a factor.).

Phong requires turning off the graphic accellerator in the shading dialog.

Also, add more lights from different angles in the options/options/light source menu.

Setting the lighting in DC is a pain in the ass, but it must be done. The single default light is insufficient.


Regards

BD

Adrian 2.0

Dr PR,
Thanks for the ideas.
I know what can happen when the view settings get messed up, but thats not what happens here.
I tried another sample. A simple 1 x 1 x 1 cube with the centre set at X0,Y0,Z0. View option set to isometric to cancel the distance option. Rotate the view & it spins about its centre. I exported that & re-imported it and attached is the result. I had to move the box by trial & error to approximately X3.22,Y-0.5,Z-12.28 just to keep it onscreen when the view rotates. (I left the original located box on the drawing with its centre still at X0,Y0,Z0. the point is) This drawing rotates around a point that is not 0:0:0:. How can that happen? Is it possible to set a DCad drawing focal point to anything except 000? Actually this could be a really useful function to have - currently I have to drag the whole drawing to a new location to adjust the 'fisheye' distortion on closeup views.

BD,
I know that gouroud shading works, but my file is over 35megs now & editing takes too long. If I turn off Graphics acceleration I have to re-render every time I move or edit. That also produces the ugly blotches of random shade that has been with us as long as I can remember - at least back to V14 anyway. (wasn't doing much 3d rendering before then) the point is that an export changes the properties of the element, so something is not right. I continue to 'get by' with it but was hoping the programmers can take a look.

Cheers,

Adrian

Adrian 2.0

Dr PR
I have found the problem with the rotating & distortion issue. The 'Set Viewer Points' button on the view toolbox does exactly that. There is no description of that button in the helpfile, and previously my experementation with it had led to misery (trying to set the second point in the right place is a nightmare & I always finished up looking at the wrong thing) so have been using the set-view-by buttons. Seems it also resets the vanishing point.

BD,
I agree with you about the flat shading being worthless, interesting black outlines appearing on all the edges every time you edit it is quite amusing. still, at least on V19 refreshing seems to fx that. On 18 I used to have to go back to wireframe & then re-shade it to clean up.

Thanks guys.
Adrian

Dr PR

adriank,

I have seen a bug in rendering (Gouraud and Phong) where some facets (sides, planes, grid elements) are rendered in black, in part or whole. Sometimes a rectangular facet will be rendered as two triangles, one dark and the other light. This is a transient bug - apparently DesignCAD gets a display list screwed up. It is not a part of the drawing file. Close the file and reopen it and the problem goes away. At least until you perform a solid Boolean operation or something similar that modifies and existing solid. Then the odd shaded facets start to creep back into the image - they may not be on the solid that was modified.

This is more noticeable on large files with lots of solids. It is a nuisance to have to restart, but it works.
DesignCAD user since 1987