advanced rendering for AutoCAD
Tags:
There's something buggish about this image that I do need to check (for example, I'm not sure why it's getting stretched in one dimension)-- however, what you've got going is never going to work anyway--
You've got a 256 x 256 pixel image stretched to 196 inches (5 meters). When I scale the thing more appropriately I get the results below-- still not very good. I don't think the map is very good for displacement grass. It needs higher contrast and better tile boundaries. There are some other user created displacement map materials for grass around-- it's not the easiest thing to do.
Here's where I am on this.
I fixed one obvious problem which occurs when the ray originates from inside the height field (displacement map.) This was causing incorrect self-shadowing and indirect lighting within the displacement itself. It was causing the edges of mesh faces to be visible.
However, the problem which remains is a significant one. It stems from the fact that AutoCAD tesselations often produce long skinny triangles. These "poor aspect ratio" triangles cause the current algorithm to work poorly. I'm investigating a new algorithm for planar surfaces which should get rid of this problem with respect to most building facades, etc.. It will take a day or two to implement, but looks promising.
Curved objects will resort to the old algorithm-- which means poor tesselations will continue to be poor. You'll likely need a tool such as Rhino to produce better meshes for these.
Thanks Roy for your work. If autocad use big triangles, is it to reduce the weight of the model? Your advice is to do all the model in rhino, yes? Not to do the curved surfaces in Rhino and import them in autocad? The problem would be the same? What is the best modeler for you (nxt)? And sketchup? Do autocad increase the quality of is way to deal with the faces along the uncountable release? It's true that Rhino is somewhere an "autocad-like"...