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.

Graphics Acceleration - lack of valid improvements in V17

Started by Miro, March 14, 2007, 10:20:30 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

support

In fact we are looking at developement to make a DesignCAD pugin for the Turbo Sketch program. This is currently only a plan on the drawing board and future testing and trials may prove this to be fesible or not. We will not know for some time yet.

Rob S

#16
I tried to do some texture mapping to the drawing below. 

1) One issue I ran into was that my 17.2 still crashes when opening a file saved with the texture mapping and graphics acceleration on, using my Dell 9150 Core Duo with Geforce Nvidia card.

2) Another issue is that when I use smooth shading to print the drawing it rotates the texture 90 degrees.

If I check the box for "shade using open gl", the texture is oriented correctly.

3) In either case, no matter which type of texture mapping I choose, the texture seems stretched out at the right hand end of the circular counter.

Anyone know how to solve any of these issues??


Note that this image was created by printing from DCAD to the free Cute .pdf writer, and then copied from the .pdf to the clipboard in free Acrobat 7.0 viewer, and pasted into a .jpg file in the free Serif Photo plus image program.

This seems to create an image with quite good anti-aliasing.


User since forever

Miro

Rob the only way you can map the round wall without distortion is to use grid type mapping.
As far as acceleration. Saving and opening drawing with acceleration on puts extraordinary load on your video card and your machine, so as a rule do not save it with acceleration on.
I do not know how you map the round wall, but I know that if you use box-front it may work on shallow curve but sharper the bend, more it will get distorted.
In any case, it is the acceleration that will change in some cases not only the mapping but also the color.
Here is a brick wall mapped as grid.

Rob S


Miro

Thanks for your reply.

The object I mapped was drawn as a solid, which was created by extruding a plane shaped like the cross section of the wall.

I used what they call "grid-patch" mapping on the solid, and that did not help. Box front was worse.

I believe if I was to extrude a line along a curve, I would get a grid object.

Is that what you mean???
User since forever

Miro

Rob, you can either extrude line or extrude curve. I extruded a curve, but in any case, you can not map solid object in DesignCAD so that the texture comes out your way, even if it is just a box. To map it correctly or at least close to it, you have to make it from individual walls.
In fact that is one of my complains pointed out earlier. Box mapping should be automatic, top, sides and so on.
DesignCAD mapping is not great but not bad. If you want to try something impossible, try TurboCAD. You will never map a single plane, or a cylinder, unless you know how and are willing to spend two hours on it. On the other hand, the TurboCAD rendering is probably even better than MAX. My opinion anyway.




Lar

Quote from: Rob Schippers on March 28, 2007, 01:35:46 PM
...

I believe if I was to extrude a line along a curve, I would get a grid object.

Is that what you mean???

Rob, when you Extrude from a Plane the resulting Solid is a combination of Planes and Grid Surfaces. The rule is that the end where the Plane is and the end opposite that would be Planes. The surfaces between those two would be Grid Surfaces.

To determine what is what, duplicate the Solid and Solid Explode. Snap anywhere on the 'pre-solid' to make a selection. One of the components will be selected. Move this away from the others and check the Info Box to see what type of entity it is. Do this for the remaining components. When done delete the components of Undo back to when you selected the original Solid.

When you extrude a line/circle-arc/curve you always get a Grid Surface. There would be no Planes to cap off the 2 ends.

Lar

Rob S


Thanks - tried to test your ideas

Got as far as finsing out that the solid I got by extruding a plane around a curve, when exploded, became a 6-sided grid - no planes at all.

When I tried to texture map this grid, I think I got the same results as  I got mapping the solid, however, I gave up because I kept crashing.
User since forever

Miro

Rob, here is the procedure of mapping curved wall with matching top.
Like this:


1. You will need 2 images. One for the front of the wall (or back) and one for the top.
Image like this one or a similar one is needed for the front.

2. Single brick image is needed for the top.


To create the front of the wall:
First you create the polyline (not curve) for the shape of the wall.

Second, extrude it downwards to create the grid surface.
Like this.


Using grid type mapping will map the wall correctly, so that the bricks are same length and it should look like this:


Creating the top plane so that the mortar lines are lined correctly, (like spokes of a wheel) is more complicated, because the plane must be segmented and there is only one way to do it so that your top image lines up properly.

Select the initial polyline which you used to create the wall and create a parallel polyline to it, (in the distance equal to the thickness of the wall), (using = on your keyboard).
Use surface connect and connect the two polylines, match points and points order.
Now you should have something like this.

At this point you can delete the initial polylines used to create the surfacess, put it all together and map the top surface with the single brick image using Plane Warp Mapping with Default option.
Like this.


To make it fit precisely, you may have to adjust the points to match the span of the bricks.



NOTE, Graphics acceleration will NOT be able to shade the top. You will have to use just the best shading without acceleration..
As far as crashing, try to save your drawing with a diferent name with accelleration disabled.
I have had same drawing coming back even after I rebooted machine because graphics accelleration was enabled when drawing was saved.

Rob S


Thank you very much for that well explained tutorial.

I will try that as soon as I get a chance.

There are so many tricks to this program, it is quite unbelievable!!

It would be great if you were to post a copy of it in the Tips and tricks forum for others to find as well.
User since forever

Miro

Good suggestion Rob, it is now posted in Tips & Tricks. Thanks