News:

All posts discussing pricing or where to buy TurboCAD will be deleted.

Main Menu

Anyone fancy doing a quick test

Started by Andy H, August 09, 2015, 10:59:05 AM

Previous topic - Next topic

0 Members and 0 Guests are viewing this topic.

Andy H

Attached is a very simple v21 Animation file, can someone open it in v2015 with Lightworks and AnimationLab installed and see it the material changes scale (the brick scale should change from 0.1 to 0.01, the movements are just to ensure the screen refreshes.

I included a new material called Simple_brick_ALtest so you can easily find and delete the material afterwards,  you can turn off 'show frames as image files' so it just alters on screen - no need for a movie, Oh forgot to mention, animate in quality render mode.

Reason - The ChangeMaterial (shader values) on the Wiki only has Lightworks (v21) details, so I was going to put RedSdk info on it, however it doesn't work, I can't get the shader index to work with RedSdk but I don't know if its because of 2015 or RedSdk,  (RedSdk crashes my v21 so can't do a proper test in that).

If you fancy another test you could try changing the Scale u in RedSdk via AnimationLab, it doesn't work for me. 

Thanks
Andy

John R

#1
This what I got after running your scenario. It generated an AVI with 4 steps. When played, you never see anything because it's all over in a split second.

I slowed it down in Camtasia so you could see what happens.
https://youtu.be/NJVbmYug1Dg
John R.

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

Andy H

Many thanks John.

V2015 with Lightworks looks fine, AnimLab just seems to be not keen on RedSdk shaders, wonder if I should I be surprised. 

John R

RedSDK does not have any real shaders similar to what LightWorks uses. Redway3D pulled a bait-n-switch a few years back promoting that they had all sorts of new shaders. That turned out to be just high resolution pictures. No way to specify sizes to certain features like you can in LightWorks. The fact that RedSDK is programmed backwards is the main reason that I avoid it. To make something larger, you have to input smaller and smaller numbers.
John R.

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

Dean

Andy, see attached video
I used property\material and just changed the material, using Redsdk.
"What do I know, I'm still learning".
Lenovo Legion T5  Intel(R) Core(TM) i7-14th Gen 20 cores Nvidia RTX 4070 Super 16GB Windows 11 home TurboCad 2025 with Animation Lab 6.0

Andy H

#5
Hi Dean, 

My apologies if my little example confused things.

Yes the material command itself works ok, its the ChangeMaterial command, this command has a confusing name, it doesn't change the material itself but allows one to change certain parameters within the material shader, for example in Lightworks one can change the scale, diffuse factor, ambient.

One example would be if one had an object which was increasing in size, and needed the wrapping to increase at the same / similar rate whilst going slightly darker (diffuse factor), for example a leaf growing in a jar of water - well one wouldn't do that in TC but its good for an example.

Again sorry for the confusion.
Andy


Tim Stewart

#6
Hi Andy,

I did a quick test and have a feeling of deja vu!

Anyway, probably not of much use, but here goes. . . . this is what happened.

1.  Ran the scenario, the box moves and the material scales fine.
2.  Undid the animation and the box just moved further on the same direction with scale fixed at 0.01.
3.  Selected Redo and box moved back to first animated position.  Scale unchanged etc, etc.
4.  I can only return to the original file/object state by closing without saving and then reopening.

I can't try RedSDK, because it and TC don't work with my super-duper Nvidia Quadro Pro K2200 graphics card!

My apologies for taking up so much Forum real estate.  I'll zip them up or animate next time.

There's going to be a next time?  ???

Regards Tim
Regards Tim

You can design without engineering, but you cannot engineer without design.
Windows 10 Pro (19043.1165) 64-bit, TurboCAD Designer 2017-2020 and Pro. Plat. 2018-2020 + LW (64-bit) + AnimationLab 6
Intel i5 2500@3.3GHz 8GB Ram NVIDIA Quadro K2200

John R

I added the RedSDK settings to your material, rendered in RedSDK Raytrace Fine, then ran the scenario. Nothing changed or moved in the video.

TurboCAD 2015 Pro
John R.

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

Andy H

Thanks Tim and John.

I've put a note on the Wiki saying it doesn't work with Red at this moment in time, I've also sent an E-mail to support though not sure if they may be getting fed up of me as my last E-mail didn't get any reply.   :(

Dean

Hi Andy,
Maybe I am not following you but you need to set a new material for each frame to achieve a "sort of" smooth transition in the animation displaying the material change. this can be done with redstuff and lightworks.
Lightworks and Redstuff doesn't estimate a animated "sequence" by only setting a scale value at specific frames.
"What do I know, I'm still learning".
Lenovo Legion T5  Intel(R) Core(TM) i7-14th Gen 20 cores Nvidia RTX 4070 Super 16GB Windows 11 home TurboCad 2025 with Animation Lab 6.0

Andy H

Hi Dean.

Leaving aside the material scale - this little animation is just one material (polished gold in Lightworks with added casting), the parameter of the casting scale is manipulated by AnimationLab so the material change is fully automatic, no need for multiple materials nor manual BMP's.

 

Dean

Ok Andy,
Thanks for the other animation explaining more in detail the actions. You're using (StepNum) :P
Redsdk doesn't expose the scale parameters. Sounds like a good question for the developers. I think that John explained it best concerning the shaders. At least Lightworks works, eh.
"What do I know, I'm still learning".
Lenovo Legion T5  Intel(R) Core(TM) i7-14th Gen 20 cores Nvidia RTX 4070 Super 16GB Windows 11 home TurboCad 2025 with Animation Lab 6.0