YafaRay for trueSpace 2019

LightWorks, VRay, Dribble, YafaRay and more..
Post Reply
User avatar
clintonman
Captain
Posts: 5422
Joined: 21 May 2009, 21:08
Type the number ten into the box: 0
Location: California
Contact:

Re: YafaRay for trueSpace 2019

Post by clintonman »

trueBlue wrote: 19 Jul 2019, 19:08 So I am at a loss here with regards to fixing the lights and or if they need to be fixed.
The Updated workspace lights have their Preferences attributes disconnected from parent panel.

You have said that exporting the Shadow and Map Size helps in some way.
Also something about the Spot Angle.

What exactly is happening with the above?

Does this happen with the Bridge set to Auto and or On?
Exporting Shadow and Map Size stops modelspace from converting the light from workspace to modelspace style, so the unoffical updated lights and Yafaray lights don't get altered. My guess is that modelspace sees the lack of Shadow and Map size as invalid lights and so replaces them.
Spot Angle is just one more thing that gets changed by modelspace, just like it changes the positions. It's not exported, the value is just saved and restored.
I haven't tested every combination of Auto vs On for the bridge. Many but not all changes happen because of scrubbing the time in the modelspace scene editor.
Clinton Reese

http://clintons3d.com
User avatar
trueBlue
Captain
Posts: 5208
Joined: 06 Jul 2009, 22:50
Type the number ten into the box: 10

Re: YafaRay for trueSpace 2019

Post by trueBlue »

Okay Thanks!
I can confirm that toggling the Shadow from Model also causes Model to replace the updated Spot and Projector lights.
Exporting their Preference's attributes fixes that.
Now I need to figure out why scrubbing makes them move.
Their mesh was changed and have a BinaryOp attached.
Edit: Changing the mesh does not help. WTH?
Edit2: Just confirmed that a Model Spot light also moves when using the scrubber. This is true even after Synchronization.
Including with the Bridge On and Full Merge. It reverts back to the previous position.
User avatar
trueBlue
Captain
Posts: 5208
Joined: 06 Jul 2009, 22:50
Type the number ten into the box: 10

Re: YafaRay for trueSpace 2019

Post by trueBlue »

Off subject but I was wondering what you might think about this.
With a Model and Workspace window open, drop this into a Workspace scene and transform an object.
Try viewing from the same Camera on both sides.
Saves the overhead of running with a timer.
Oddly this object can NOT be minimized.
New - Camera FOV widget
Removed due to update
User avatar
clintonman
Captain
Posts: 5422
Joined: 21 May 2009, 21:08
Type the number ten into the box: 0
Location: California
Contact:

Re: YafaRay for trueSpace 2019

Post by clintonman »

trueBlue wrote: 22 Jul 2019, 19:05 Off subject but I was wondering what you might think about this.
With a Model and Workspace window open, drop this into a Workspace scene and transform an object.
Try viewing from a Camera on both sides.
Saves the overhead of running with a timer.
Oddly this object can NOT be minimized.
That is interesting. The mouse connectors have to be visible in the link editor or it doesn't work. It inspired me to try adding bridge sync command to a widget. It didn't work. I also tried connect it to the VolumeTree node inside the Project, it can be minimized and still work. When it's not visible it seems to run 1 step behind any motion of the object. It's strange but maybe a step closer.

Edit: Just found out connecting to VolumeTree stops modelspace widgets from working properly.

Edit: I was wrong about the widget not working. It works, but only updates after the mouse button is released.
Clinton Reese

http://clintons3d.com
User avatar
trueBlue
Captain
Posts: 5208
Joined: 06 Jul 2009, 22:50
Type the number ten into the box: 10

Re: YafaRay for trueSpace 2019

Post by trueBlue »

Used an iOpti camera, Recorder, and Synchronize together.
Other cameras do not work like this in the above setup.
Capture.PNG
User avatar
clintonman
Captain
Posts: 5422
Joined: 21 May 2009, 21:08
Type the number ten into the box: 0
Location: California
Contact:

Re: YafaRay for trueSpace 2019

Post by clintonman »

trueBlue wrote: 04 Aug 2019, 02:50 Used an iOpti camera, Recorder, and Synchronize together.
Other cameras do not work like this in the above setup.
Capture.PNG
Completely over my head. I don't know what I'm looking at and I don't know if it's a good thing or a bad thing.
Clinton Reese

http://clintons3d.com
User avatar
trueBlue
Captain
Posts: 5208
Joined: 06 Jul 2009, 22:50
Type the number ten into the box: 10

Re: YafaRay for trueSpace 2019

Post by trueBlue »

clintonman wrote: 04 Aug 2019, 03:12 Completely over my head. I don't know what I'm looking at and I don't know if it's a good thing or a bad thing.
It is a good thing!

Two views are in sync viewing from the iOpti cam in Workspace and Model.
Meaning that with the Synchronize script running and not having to view from it, the iOpti cam still works.
Other cameras do not work like this in the above setup.
Most likely because the iOpti view is a window rendering the 3D Space.
Attachments
Space 3D.RsScn
(1.18 MiB) Downloaded 177 times
User avatar
clintonman
Captain
Posts: 5422
Joined: 21 May 2009, 21:08
Type the number ten into the box: 0
Location: California
Contact:

Re: YafaRay for trueSpace 2019

Post by clintonman »

YafModelTest.gif
YafModelTest.gif (182.15 KiB) Viewed 6195 times
Animated GIF
Ball animated in workspace.
Torus is a modelspace animation
The metaballs shows the python script updates the shape.
Yafaray materials protected from modelspace changes.

I found a bug while testing where option "create xml files and batch render" wants to open with the tga external viewer. Other than that it's all working.
Clinton Reese

http://clintons3d.com
User avatar
trueBlue
Captain
Posts: 5208
Joined: 06 Jul 2009, 22:50
Type the number ten into the box: 10

Re: YafaRay for trueSpace 2019

Post by trueBlue »

Cool! :worship:
User avatar
clintonman
Captain
Posts: 5422
Joined: 21 May 2009, 21:08
Type the number ten into the box: 0
Location: California
Contact:

Re: YafaRay for trueSpace 2019

Post by clintonman »

Latest YafaRay changes

Can use modelspace animations
Uses the new ProtectWorkspace script - includes protection for names, material, matrix, spot light angle and camera fov
New animation abort method - closes the animation loop to prevent other processing. The old way of setting to the last frame causes a problem with big modelspace particle animations. It will calculate all the way to the end of the animation.

Animation aspect has new checkbox options:
Protect from workspace - activate protection from modelspace
Name - protect item names
Camera Fov/Spot angle -
Transform Matrix - disabled by default because will interfere with workspace transform animations
Materials -
Special mesh processing - for NURBS, metaball and other techniques that require special processing to update workspace from modelspace

Setup aspect has a "Create Modelspace Python file" button - one time run that installs the python file required for special mesh processing

note: used with the new YafarayScripts.RsObj
See previous posts for other changes
Attachments
YafaRay4tS07.RsObj
(1.08 MiB) Downloaded 171 times
Clinton Reese

http://clintons3d.com
Post Reply