News:

Be sure your post is relevant to the current discussion.  Create a new topic within the appropriate board if you are unsure.

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.

reddsk render question

Started by Reg Neufeld, April 02, 2022, 06:15:28 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Reg Neufeld

I have decided to try to learn to use materials and attempt to render something.  been playing with lights and having a bit of success seeing what does what. I know there are lots of settings to mess with but just getting something to light up so I can see has been a small victory.  My question if not to complicated would be what changes the material size?  I made a little roof added shingles as a material but they are really tiny.  this is reddsk that I have.  I changed some numbers but did not notice any changes.   Can someone push me in a direction to getting some sort of result.   I thought maybe it was like fill patterns where you change a scale or something but I have not found it yet. 

Have some success with wood grains that makes changes but the shingle size I have not found a way to change. 

Reg
2022 Platinum (current)
Pro Platinum 2017
TC 21 pro platnium
TC pro 19
TC pro 16.2 Architectural
Win 11 pro 64 bit  16g DDR4 AMD Ryzen 7 3750

Torfinn

In 2015-16 and 17 TC come with RedSDK as default render engine, Ligthwork was then a plugin, in 2018 Ligthwork come back as default render engine.
If you use Shingle on the roof it is very small, so set in example the last shader to ST Layout and scale it the same way you would do in LW
Else you can scale on the top of menu, but then you need to scale it the opposite way, the smaller scalenumber will give you larger shingle, and that make sense, don't it :)

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

Torfinn

I remembered it wrong, it is Texture Space :)
See attached

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

Reg Neufeld

Yes thank you it was hidden in a drop down.  I kept going back to you saying it was the last shader. 
Made a new roof but need now to learn how to get the shingles orientation correct on each side.
Reg
2022 Platinum (current)
Pro Platinum 2017
TC 21 pro platnium
TC pro 19
TC pro 16.2 Architectural
Win 11 pro 64 bit  16g DDR4 AMD Ryzen 7 3750

Torfinn

You can try to play with the x and y axis at the same place

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

Andy H

#5
Reg.

As Torfinn pointed out, there are two places to alter scale.  The default U and V tiling, and texture space.  BUT I would advise against using them both together in the same material,  or scaling can get even more confusing.  If using texture space. Then in the pattern section set both U and  V tiling to 1. And if using U and V tiling, which is the default for most of RedSDK materials,  set wrapping (texture apace) to 'None'.

Scaling in pattern U and V tiling. may seem odd, but one simply need to remember, that it is scaling per unit.  For example, if the object is 500mm (500 units) long, and the scale U and V are both 1, it will wrap 500 times.   If you wanted the pattern to wrap once. it would be 1 / 500 = 0.002.  Basically RedSDK has to take 1 pattern, and divide it by 0.002, to make it fit once along the 500 unit length.

There are other things to consider though. and one is realism.  one example. Your doing a scale model, and the roof is 500mm long, The roof shingle texture in TC has 5 tiles along the width, (C:\Program Files\IMSIDesign\TCWP2017\Materials\Textures\RedSdk - shigles5),   If you set pattern scales U V tiling as 1, you would get 2500 tiles along the 500 mm roof (5 x 500 units). (each tile would be just  0.2 mm wide (a bit tiny)).  Scaling at 0.002 would only give 5 tiles wide, as we would be wrapping one pattern for the whole 500 units, So 100 mm per tile is too big for a small scale model..

Example 1.  There are a few ways to get the scaling. a simple approximation is to use the size we want a single tile to be.  Therefore, taking 6 mm as our tile size, We have 5 tiles per pattern, so 6 units x 5 tiles = 30.  Therefore 1 / 30 = 0.0333.    Typing this into the U V tiling boxes will roughly give us 6 mm tiles or 83 and a bit tiles on our 500mm roof.

Example 2.  Another way is to say we have a roll of sticky back roof tiling, and we count the tiles on it for 500mm and we have 90 tiles.  our RedSDK pattern still has 5 tiles per width, so 90 / 5 =  18,  Our roof is 500 units, so.  18 / 500 = 0.036.  Typing this into the scale U V tiling boxes will roughly give us 90 tiles along the 500 mm length.

- - - - - - - - - - - - -

As for Wrapping - Texture scaling. it works similar to Lightworks (I think).  But as stated previously,  Set the pattern U V tiling to 1.   This works opposite to UV tiling, the bigger you want the texture, the bigger the value.

Example 3.    Using example1, we want our tiles 6 units (6mm) long, our pattern still has 5 tiles wide, So 6 x 5 = 30,   Typing 30 into the wrapping - texture space, Scales (first and second boxes), will roughly give us 6mm tiles, or 83 tiles for our 500mm roof.

Example 4.  Using example 2.  we want 90 tiles on our 500 mm roof.  Therefore,    500 mm roof / (90 tiles / 5 tiles per pattern) = 27.77.  So tying this into the first and second scale boxes. Will roughly give us 90 tiles on our 500mm roof.

I've no idea if that makes sense. Its easier to do than explain.  if you wish to try the examples.  Simply draw a 500 x 500 x 1 box, assign material shingles 5, from the material database.  Draft RedSDK render,  go into material - active drawing section, and play with the different examples.   Simply remember RedSDK deals with units, it couldn't care less if 1 unit = 1 inch, or 1 unit = 1mm.  it is up the the user to set the space units correctly in TC, and do any necessary conversions. if using different units in the same drawing.

## Edited ##  If you wish to explore more of RedSDK.  You could take a look at a beginners guide I knocked up a while ago.  You can download it from here.  On the right hand side, second box down.   NOTE it doesn't include TC's standard lights, i.e. the ones accessed from design director - lights.  As these are the same whether one is using Lightworks or RedSDK.   ## End Edit ##

Reg Neufeld

Thank you to both.  I am downloading the beginners thing which is going to huge I believe.   Also now that I went smaller, a lot smaller on the numbers in the uv boxes I seem to get much better results as the shingle tiles go in the correct directions on the roof I am testing on.  It was always so over whelming when i messed or even looked at all the settings but I have learned lately to take baby steps and even an old dog can still learn something.  I spent to much of my life trying to get to the end game without enjoying the trip.

Just been reading through the help file and this is exactly what I need to get me moving in some direction.

Thank you
Reg
2022 Platinum (current)
Pro Platinum 2017
TC 21 pro platnium
TC pro 19
TC pro 16.2 Architectural
Win 11 pro 64 bit  16g DDR4 AMD Ryzen 7 3750