News:

Please remember to do a search before you ask a question!

Main Menu

How can I start with a new default RedSDK material?

Started by KS, July 05, 2012, 06:15:00 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

KS

How can I start with a new default RedSDK material and edit it to my own materals?


RedSDK Editor
In the helpfile I read:
The RedSDK Editor lets you create, save and edit realistic-based materials. If the material is pre-existing, or loaded from a *.red custom file you will have a limited set of options specific to that material.
If you are working with a new, default material, you will have access to the full set of options in the RedSDK editor.

How can I start with a new default RedSDK material, and make my own RedSDK materials?
I cannot find any option for New RedSDK materials.

Kai Sannes
Kai Sannes, Former Norwegian TurboCAD salesperson and instructor.
Dell Precision 7740 laptop
Windows 11 Pro, www.kaisannes.com

John R

As far as I can tell, you can't create RedSDK materials from scratch. You have to have a LightWorks material preassigned on the "Propertiesâ€"›Materials" page, then with RedSDK set to Default, the Add Material gives you one style of Editor. If you choose "Custom", load a "*.red" file, you get a different editor.

It's explained in the Help at: Creating RedSDK Materials and also at RedSDK Materials; the main heading.

I believe users will have to purchase the Redmaterials plugin to get something close to what we already have with LightWorks. They have a Redmaterials evaluation version that you can request, but I doubt that it will work in TurboCAD. Vlad may be able to explain about Redmaterials.
John R.

V17—V21, 2015—2025
Designer, Deluxe, (Basic, Expert, Professional), Platinum
RedSDK enabled
Windows 11 Pro (25H2), 64-bit

John R

From looking at the "Propin.DAT" file in the Materials folder, any RED material is associated with it's LightWorks counterpart. I think you need to create a LightWorks material first, then you can create a RedSDK material that will be associated with it.
John R.

V17—V21, 2015—2025
Designer, Deluxe, (Basic, Expert, Professional), Platinum
RedSDK enabled
Windows 11 Pro (25H2), 64-bit

KS

Hi John

I tired to make a Lightwork material, but the Edit RedSDK is grayed out.

If I right click on the material, it is grayed out.
If I right-click outside the material, I can use the Edit RedSDK, but without any options to create a new material.

Kai
Kai Sannes, Former Norwegian TurboCAD salesperson and instructor.
Dell Precision 7740 laptop
Windows 11 Pro, www.kaisannes.com

Darrel Durose

Kai

To get to the default RedSDK you first have to create a basic Lightworks material via an object properties dialog. Once you have done this you then will see the "Add Material" button become available and click that then the "Edit Material" becomes available..... :)
Daz...
V2020 & V2022 Plat 64bit, Lenovo P72 Laptop, Window 10 Pro for Workstations, Intel Xeon E-2186 CPU @ 2.90 Ghz (6 cores/12 threads), 64GB RAM, Nvidia P5200 c/w Max=Q Design GPU, Display UHD 3840x2160 pixels
TurboCAD user since V3 and Turbocad 3D V1.

KS

Thank you Darrel and John

I got it, Hurray.

But if I us this new RedSDK material on an object, it became red.
Also if I try one of the buttom on the top, the material change to metallic.

I made a video (2 min 50 sec) where I show what I did.
Can you see what I did wrong?

The video:
www.turbocad.no/reddsk/1.html

Regards
Kai Sannes
Kai Sannes, Former Norwegian TurboCAD salesperson and instructor.
Dell Precision 7740 laptop
Windows 11 Pro, www.kaisannes.com

Darrel Durose

#6
Kai

The Lightworks part is only a pointer for being able to create a RedSDK material. This also is so you have a Lightworks option.
It is also,I think, if you don't want, or have, RedSDK available....i.e if your Native Draw is GDI....

All the editing is done in the RedSDK Editor as the image below......adding the Bitmap texture, bump, glossiness here, not in the Lightworks Editor.

Daz...
V2020 & V2022 Plat 64bit, Lenovo P72 Laptop, Window 10 Pro for Workstations, Intel Xeon E-2186 CPU @ 2.90 Ghz (6 cores/12 threads), 64GB RAM, Nvidia P5200 c/w Max=Q Design GPU, Display UHD 3840x2160 pixels
TurboCAD user since V3 and Turbocad 3D V1.

Darrel Durose

Kai

You will find this link useful....I am still learning and experimenting with it myself....just found out the reason the Glossiness was not working with the above attached image. In the Reflection section I had the tick box ticked which points the glossiness reflection to the diffuse material.....unticking this gives control to the parameters  :)

http://turbocaddoc.onconfluence.com/display/TC19UG/RedSDK+Editor
Daz...
V2020 & V2022 Plat 64bit, Lenovo P72 Laptop, Window 10 Pro for Workstations, Intel Xeon E-2186 CPU @ 2.90 Ghz (6 cores/12 threads), 64GB RAM, Nvidia P5200 c/w Max=Q Design GPU, Display UHD 3840x2160 pixels
TurboCAD user since V3 and Turbocad 3D V1.

KS

Kai Sannes, Former Norwegian TurboCAD salesperson and instructor.
Dell Precision 7740 laptop
Windows 11 Pro, www.kaisannes.com

Darrel Durose

Kai
You are welcome....

Thanks for the thanks... :)
Daz...
V2020 & V2022 Plat 64bit, Lenovo P72 Laptop, Window 10 Pro for Workstations, Intel Xeon E-2186 CPU @ 2.90 Ghz (6 cores/12 threads), 64GB RAM, Nvidia P5200 c/w Max=Q Design GPU, Display UHD 3840x2160 pixels
TurboCAD user since V3 and Turbocad 3D V1.

John R

I found that applying an image to be a bit of a challenge, but eventually got it to work; it showed up on the object in the drawing, but was too large for the preview icon.

BUG's that I ran into were no way to flip the image and it offsets when using the Rotation parameters.
John R.

V17—V21, 2015—2025
Designer, Deluxe, (Basic, Expert, Professional), Platinum
RedSDK enabled
Windows 11 Pro (25H2), 64-bit

Darrel Durose

#11
Guys

I know their appears to be a couple more problems with the RedSDK materials....
1. For us that use metric MM the scale parameter cannot go high enough. 100 scale still is not big enough!
2. Changing the texture size does not change on a material already created and applied to an object.... it has to be deleted and recreated....
Daz...
V2020 & V2022 Plat 64bit, Lenovo P72 Laptop, Window 10 Pro for Workstations, Intel Xeon E-2186 CPU @ 2.90 Ghz (6 cores/12 threads), 64GB RAM, Nvidia P5200 c/w Max=Q Design GPU, Display UHD 3840x2160 pixels
TurboCAD user since V3 and Turbocad 3D V1.

John R

Try the "TC TestPattern" bitmap at: …\IMSIDesign\TCWP19\Materials\Textures. That's the one I've been using. I'll give it a go with a Metric file after dinner.
John R.

V17—V21, 2015—2025
Designer, Deluxe, (Basic, Expert, Professional), Platinum
RedSDK enabled
Windows 11 Pro (25H2), 64-bit

Darrel Durose

John
I think Metric Metre is okay but Millimetres is a problem. The Scale factor needs to take into account the decimal point.

I.E. I think when 100 is used = 1mm so way to small...I could be wrong though  ???

In Metres 100 = 1 Metre which is much more usable to scale down from....

Could be a bit buggy... ???
Daz...
V2020 & V2022 Plat 64bit, Lenovo P72 Laptop, Window 10 Pro for Workstations, Intel Xeon E-2186 CPU @ 2.90 Ghz (6 cores/12 threads), 64GB RAM, Nvidia P5200 c/w Max=Q Design GPU, Display UHD 3840x2160 pixels
TurboCAD user since V3 and Turbocad 3D V1.

John R

I would say that the scaling is set up backwards. In either Metric or Imperial, I have to specify smaller values in order for the image to become larger and fit the object. I also don't like that the editor precision is restricted to 2 decimal places, but this is probably due to the licensing. IMSI/Design probably can only afford the 'basic' Redway3D features. Maybe TurboCAD 21 will have a better RedSDK editor. If I could specify the Scale to 0.001, it would probably fit. I would say the current RedSDK is only good enough for Colors, but not anything else. Below is the difference between RedSDK and LightWorks.
John R.

V17—V21, 2015—2025
Designer, Deluxe, (Basic, Expert, Professional), Platinum
RedSDK enabled
Windows 11 Pro (25H2), 64-bit

Darrel Durose

John

Thanks for looking into this for us....

Does the image size/resolution affect the scaling?
Does creating the material in Metres say, hold the scaling?.....when I was doing a bit of experimenting a while back I do recall this....
Daz...
V2020 & V2022 Plat 64bit, Lenovo P72 Laptop, Window 10 Pro for Workstations, Intel Xeon E-2186 CPU @ 2.90 Ghz (6 cores/12 threads), 64GB RAM, Nvidia P5200 c/w Max=Q Design GPU, Display UHD 3840x2160 pixels
TurboCAD user since V3 and Turbocad 3D V1.

John R

I believe the image size has to be less than 1 million pixels, but that's a calculated guess. I find that normal size images work well for wrapping (say 1600×1200).

I haven't ventured into meters; strictly inches or millimeters. I really can't say, but RedSDK should retain their settings if working in a 'meter' drawing.
John R.

V17—V21, 2015—2025
Designer, Deluxe, (Basic, Expert, Professional), Platinum
RedSDK enabled
Windows 11 Pro (25H2), 64-bit

Darrel Durose

John

Just done a quick experiment and the texture does alter from creating a texture in Metres then changing to Millimetres.

RedSDK is not compatible in Millimetres.

I created a box 1x1x1 metre and scaled the TC test texture to 1 x 1, Offset 0.5 u & 0.5 v and it properly filled the box sides...

Then going to Millimetres I created a box 1000x1000x1000 and the texture was tiled many times over the faces....

Also, any changes the the RedSDK material do not update the geometry it has been applied to until TC is closed down and restarted.

Is there somewhere these parameters can be changed for MM to work with RedSDK?
Daz...
V2020 & V2022 Plat 64bit, Lenovo P72 Laptop, Window 10 Pro for Workstations, Intel Xeon E-2186 CPU @ 2.90 Ghz (6 cores/12 threads), 64GB RAM, Nvidia P5200 c/w Max=Q Design GPU, Display UHD 3840x2160 pixels
TurboCAD user since V3 and Turbocad 3D V1.

Henry Hubich

Quote from: Darrel Carl Durose on July 13, 2012, 12:43:08 PM
John

Just done a quick experiment and the texture does alter from creating a texture in Metres then changing to Millimetres.

RedSDK is not compatible in Millimetres.

I created a box 1x1x1 metre and scaled the TC test texture to 1 x 1, Offset 0.5 u & 0.5 v and it properly filled the box sides...

Then going to Millimetres I created a box 1000x1000x1000 and the texture was tiled many times over the faces....

Also, any changes the the RedSDK material do not update the geometry it has been applied to until TC is closed down and restarted.

Is there somewhere these parameters can be changed for MM to work with RedSDK?

I think it's sufficient to save the file, close it, and then reopen it. No need to close down TC. But it's still a nuisance.

Henry H

John R

re: Is there somewhere these parameters can be changed for MM to work with RedSDK?

Not that I know of. I've reported this problem and several others and will just have to wait.

Methods I've used to get RedSDK changes to update are switching to Advanced Rendering (Depth of Field/None), then back. Going to Paperspace, then back to Modelspace. Save and close the Drawing, then reopen. Paperspace seems the most reliable way to force a change.

One pet peeve is that there's no way to flip the image so it faces properly.

Another comparison.  ;D
1. Pattern â€" Wrapped Filtered Image
2. Reflectance â€" Wrapped Mirror Map
3. Transparency â€" Wrapped Image with Blurred Glass
4. Texture â€" Wrapped Bump Map
John R.

V17—V21, 2015—2025
Designer, Deluxe, (Basic, Expert, Professional), Platinum
RedSDK enabled
Windows 11 Pro (25H2), 64-bit

John R

re: Also, any changes the the RedSDK material do not update the geometry it has been applied to until TC is closed down and restarted.

I finally put together a drawing set to Meters. You are right! I have to close and reopen the drawing every time to get RedSDK changes to update.
I tried a 1M cube using a Scale of "1" and it worked OK, though backwards. I then used 10M cubes and had to scale down the image parameters to "0.1" to get the test pattern to fit the 10× larger object. Makes no sense except maybe in France.
John R.

V17—V21, 2015—2025
Designer, Deluxe, (Basic, Expert, Professional), Platinum
RedSDK enabled
Windows 11 Pro (25H2), 64-bit

Darrel Durose

John

Thanks for this......
Yes, RedSDK is a bit backward but I am sure things will improve.....
I have looked all over for RedSDK defaults to change the Scaling factor and I cannot find it... ???
Daz...
V2020 & V2022 Plat 64bit, Lenovo P72 Laptop, Window 10 Pro for Workstations, Intel Xeon E-2186 CPU @ 2.90 Ghz (6 cores/12 threads), 64GB RAM, Nvidia P5200 c/w Max=Q Design GPU, Display UHD 3840x2160 pixels
TurboCAD user since V3 and Turbocad 3D V1.