News:

The purpose of these forums is to discuss TurboCAD.  Please keep the discussion of other products to compatibility issues or how the other software can be used with TurboCAD.

Main Menu
TurboCAD 2026 Platinum box
Now available

TurboCAD 2026.2

The latest update for TurboCAD 2026. It installs over any 2026 build and keeps your activation, drawings and settings. Get it from the Start Page or Help > Check for Update.

3D Polygons and Materials alignment

Started by Lee G, July 29, 2016, 07:47:37 PM

Previous topic - Next topic

0 Members and 0 Guests are viewing this topic.

Lee G

Much thanks to the forum folks, I'm finally figuring out a bit about how lights and materials work, and yesterday I even managed importing a rigged file for a little environment, thanks to a two year old post of Henry's.

Still stumbling around though...
Using wrapped filtered image, I have success with materials on the walls and roof, but the shed roof shown in 'orientation.jpg', below, yielded incorrect materials alignment.  Its siding is on a thickened irregular polygon.  Roof is a thickened rectangle.  I finally just rotated the roof 90 deg and resized to fit again.  The material is the same stock shingle as the main roof, and I'd been searching for an orientation setting somewhere, but...

However, with the end cap I found the ucs was tilted so that the x axis was parallel to its roof, like the siding material.  So I rebuilt the polygon in both directions and from different origins, to no avail.  Selecting the plane by 'facet' always generated the tilted axis, so I selected by '3 points' and generated an horizontal x axis, to no avail.  So again, I made a rectangle, thickened it, applied siding, and it was horizontal.  Then I placed it on the end cap, zeroed the thickness, snapped the nodes into place, re-thickened, and applied the siding and it was horizontal.  Its UCS 'x' remained horizontal.

Is that just how we do this, or are there really some better procedures designed?

And,  in 'Cottage', below, the windows almost seem to be seeing through the back wall into the scene background?  The tree just comes straight through?  Just curious.

Thanks in advance,
Lee
V21 Plat build 59 x64  / LW / Win7 64; Intel 3000 GPU; 3.1GHZ; 16GB

Don Cheke

The cottage looks great.

This TurboCAD tip is about wood grain but it will work in your roof instance as well.

http://www.textualcreations.ca/TurboCAD%20Tips/TurboCAD%20Tip%206.pdf
Don Cheke
My Blog: One Man's Meanderings

Torfinn

Or you can make a copy of your material, open its property and rotate it how many degree you want and use the new material on that spesific part.
In LW, open property and use ST Layout shader ( the last one on the menu that show up ), set the rotation you want, finish.
In RedSDK, nearly same system but work a bit different as 360 degree is 100 %, so if you want to rotate it 90 degree, the rotation is 25%, and if you want to rotate the cladding on the skeleton roof and it maybe is 15 degree, 90/15 = 6, 25%/ 6 = 4,66666667
And then you can use 4,66666667 as the rotation in the "Texture Field" on the new material.

But anyway, IMHO you should adjust your picture and Crop the top of it so you dont get that black line and partly a piece of cladding on the top every meter or what the distance is.

Torfinn
V20, V21, 2015 > 2024  Platinum
Deluxe 2015/ 16/ 19
RedSDK enabled
Windows 10 Home Premium (20H2/ 19042.1083) 64 bit, 32 GB
NVIDIA Geforce GTX 780m, 1 GB

Lee G

Thank you Don.  And thanks for the Tips pages, I felt like a kid in a candy store.  I remember running across seeding before, it sounded really interesting; didn't have time to chase it through the forum at the time. 

In your bundle Tip: "Create a single panel, usually the same size as the largest panel", how does the panel size relate, if it's to be reduced anyway?   If the aspect remains 0.1, doesn't that material always propagate the same for whatever size the entity is?  Or does that Largest Panel specific establish a resolution range?  (My panels can be quite large)

Torfinn, I was a long way from finding ST Layout, had a mental block in there, but I was sure hoping for a rotation option somewhere (and now I notice it in Don's Tip dialog screen).  And thanks too for the Red instructions.  I was doing this in Red but finding stacked edit buttons for LW and Red in the editor, so I was confused some. But it was working out well for awhile, then I had to abandon it and go back to LW due to ....   stuff.  Well.
I'll be trying again sometime  (2015 has crashed its way into the bottom drawer for now. Nevertheless...).

And absolutely, the cladding is due for a remake.  Over the years, I've always come away from these render trials with my ears down so I went in haphazardly this time for one more try, just grabbing the first googled jpg nearby, and ran it through PShop for a quick color, and applied.  Likewise, the background.  But this time things started falling into place for me! and I ended up with a rendering.  Joy.  Just need to build a materials cache now.
So, when creating new materials, is there a best-practice size or resolution for the swatches?

I've found info about environments having two planes; hoping window reflections will be explained.  But it sure looks like that tree is showing through the back wall  :-\

Thanks so much,
Lee
V21 Plat build 59 x64  / LW / Win7 64; Intel 3000 GPU; 3.1GHZ; 16GB

Henry Hubich

"In your bundle Tip: "Create a single panel, usually the same size as the largest panel", how does the panel size relate, if it's to be reduced anyway?   If the aspect remains 0.1, doesn't that material always propagate the same for whatever size the entity is?  Or does that Largest Panel specific establish a resolution range?  (My panels can be quite large)"

TCad will plaster as many copies of your material image onto the panel as it takes to cover it completely, the width and aspect ratio of each copy being determined by the properties you set in the Render Manager. If the image is one that will tile seamlessly, then the size of the panel does not matter; otherwise it matters very much.

Henry H

Torfinn

""
I've found info about environments having two planes; hoping window reflections will be explained.  But it sure looks like that tree is showing through the back wall

""
Open the property of the glass and lower the "Mirror Factor", it is way to high in default in my opinion, i use 0.1 i think to remember, but test it out, what you like/ prefer.
This is in LW, as i think you use that.

Torfinn
V20, V21, 2015 > 2024  Platinum
Deluxe 2015/ 16/ 19
RedSDK enabled
Windows 10 Home Premium (20H2/ 19042.1083) 64 bit, 32 GB
NVIDIA Geforce GTX 780m, 1 GB