Graphics

 View Only
  • 1.  Export to Images not accurate with Visual Logic

    Posted 08-18-2015 14:31
    Small issue here.

    When exporting a Take Item that involves visual logic to an image it does not appear the same as the graphic online. This particular graphic has a bar that changes length based on text length, and the extra length of the bar looks odd. See images linked below. I was able to get it to appear correct during export by making a new scene, deleting all Visual Logic, and sizing/moving everything manually. I *think* I've tried all of the options in the export menu (shaped, file format, etc...) with no success.

    incorrect - https://flic.kr/p/xvxL16

    correct - https://flic.kr/p/wyFcy4

    Thoughts?


  • 2.  RE: Export to Images not accurate with Visual Logic

    Posted 08-20-2015 13:49
    Would you be able to upload the scene for us to take a look at?

    You can upload it here:

    ross.brickftp.com

    user: xpression

    password: rossvideo

    After uploading you won't be able to see the file listed as it is a write-only account, but let us know and we will investigate.

    #XPression


  • 3.  RE: Export to Images not accurate with Visual Logic

    Posted 08-20-2015 16:41
    Files are uploaded. Is there some way to only export a specific scene? If so, pardon my giant package files.

    I am sending both the original package file (with only the questionable scenes in sequence) as well as a new package that contains only the scenes in question. Exporting from the new, smaller project/package is working appropriately. This implies a setting in the original project needs to be changed to correct the export issue. I haven't looked into this yet.

    This specific scene (and associated visual logic) are not actually in the working version of this project, so no rush. I also couldn't get Export to Video to work under any combination of settings. I assumed that was an issue with my video/codec setting ignorance, but it may be related.

    #XPression


  • 4.  RE: Export to Images not accurate with Visual Logic

    Posted 08-20-2015 19:58
    I couldn't find any uploaded files from today.. Which folder did you upload them to and what are the files names?

    #XPression


  • 5.  RE: Export to Images not accurate with Visual Logic

    Posted 08-21-2015 14:03
    Sorry about that. I tried to toss them in the parent folder, but I'm not sure what happened.

    They are now in the folder "B Self". The troublesome project is "Smile Cam Export Original" and the new project that somehow works is "Smile Cam New Project".

    #XPression


  • 6.  RE: Export to Images not accurate with Visual Logic

    Posted 08-26-2015 14:00
    Hi Brian,

    I think I found the reason. It has to do with how you've built the visual logic. This might be kind of tricky to explain so let me know if I'm confusing you or not..

    There are parts of your visual logic where you are setting a value like BlueCenter.ScaleX in one part of your visual logic, and then in another part of the visual logic you are using BlueCenter.ScaledWidth. The ScaledWidth is obviously dependent on the ScaleX value as changing Scale will change the overall width. What you need to ensure is that your visual logic sets the Scale before it runs the part that uses the ScaledWidth. The only way to ensure that is to place those separate visual logic chunks onto different "pages" and make sure that the page setting the scalex is before the page using the scaledwidth.

    You didn't notice an issue when the scene is online because it is constantly re-running the visual logic every field and therefore the width will get updated (but one field after changing the scale). When you only export a single frame though, you will notice the error.

    Here is how I changed your scripts (pay attention to the tab order at the top):







    #XPression


  • 7.  RE: Export to Images not accurate with Visual Logic

    Posted 08-26-2015 14:04
    Note, to rearrange these blocks, you can copy/paste the blocks onto other visual logic pages, then delete them from the original. You can also drag the tabs at the top to change their order (I think this is only available in version 5.9 or 6.0)

    #XPression