Graphics

 View Only
Expand all | Collapse all

SLE 118 Ross Tessera university tut

  • 1.  SLE 118 Ross Tessera university tut

    Posted 07-20-2024 07:59

    HI,

    I have we write the script for the experimental purpose and to learn. from the below Tessera link from ross U. have done the same scripts and replicate the code on both said script events. but how ever its not working for me although its compiler is not showing any error. looking forward to se some help what i have missed in script.

    https://www.rossvideo.com/resources/ross-university/xpression-tessera-one-tips-and-tricks

    CODE Written as per video watching.

    'file location
    dim dirOBJ as xpTextObject
    dim filepath as string

    'file format
    dim format as xpTextObject

    'object/material/shader
    dim obj as xpBaseObject
    dim mat as xpMaterial
    dim sha as xpBaseShader

    'team code
    dim code as xpTextObject

    '************************************************************************
    self.GetObjectByName("DIRECTORY", dirOBJ)
    filepath = self.Project.ProjectPath & "images\logos\" & dirOBJ.Text & "\"

    'set file format
    self.GetObjectByName("FILE FORMAT", format)

    '************************************
    'start setting home materials
    '************************************

    'find home clubcode
    self.GetObjectByName("H CLUBDODE", code)

    'set home logo
    self.GetObjectByName("H LOGO", obj)
    obj.GetMaterial(0,mat)
    mat.GetShader(0,sha)
    sha.FileName = filepath + code.Text + "_Logo" + format.Text

    'set home primary
    self.GetObjectByName("H PRIMARY", obj)
    obj.GetMaterial(0,mat)
    mat.GetShader(0,sha)
    sha.FileName = filepath + code.Text + "_Primary" + format.Text

    'set home secondary
    self.GetObjectByName("H SECONDARY", obj)
    obj.GetMaterial(0,mat)
    mat.GetShader(0,sha)
    sha.FileName = filepath + code.Text + "_Secondary" + format.Text

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



    ------------------------------
    [Wajahat] [Ali] [Team Lead]
    [RTG Designer]
    [Hum News]
    [Karachi/Islamabad] [Pakistan]
    ------------------------------



  • 2.  RE: SLE 118 Ross Tessera university tut

    Posted 07-20-2024 09:36

    Or some one else have this kind of project do share. 



    ------------------------------
    [Wajahat] [Ali] [Team Lead]
    [RTG Designer]
    [Hum News]
    [Karachi/Islamabad] [Pakistan]
    ------------------------------



  • 3.  RE: SLE 118 Ross Tessera university tut

    Posted 07-20-2024 14:52

    In the layout screenshot the text object is named "H CLUBCODE" but that value never gets passed down to the other script bits because of a typo:

    self.GetObjectByName("H CLUBDODE", code)

    Syntax is otherwise fine so it compiles without error.  Sometimes it's the little things…



    ------------------------------
    Paul
    ------------------------------



  • 4.  RE: SLE 118 Ross Tessera university tut

    Posted 07-20-2024 21:04

    Ive correct that one already. But thats not working after all

    Sent from my iPhone




  • 5.  RE: SLE 118 Ross Tessera university tut

    Posted 07-20-2024 21:36

    Bit hard to see from here but any chance the "format" text object is set to PNG. ?  The dot should be on the left, like .PNG 

    Otherwise you have the "generic" subfolder created and the png files for the logo and the colours are named appropriately etc? 

    Is the debug monitor active (must be set in preferences menu) and any errors showing up there?



    ------------------------------
    Paul
    ------------------------------



  • 6.  RE: SLE 118 Ross Tessera university tut

    Posted 07-21-2024 00:47
    No i didn't chk it on dbug window. 

    And yes i was facing an issue for the format text but that donst rectified. When ever i am writing .PNG in text box it will appeared flip on render like PNG. Looking for solving this issue ass well. Setup the text language but ?

    Any how here is the downloadable link hope you can check debug it.

    Project xpn:





  • 7.  RE: SLE 118 Ross Tessera university tut

    Posted 07-21-2024 07:37

    It's done. however, I have tried to get help from my brother. We have tried a lot of things. but we are unable to find the set path.

    Now it's working suddenly in the same way as the ghost effect. In addition, I've placed a label for testing purposes.



    ------------------------------
    [Wajahat] [Ali] [Team Lead]
    [RTG Designer]
    [Hum News]
    [Karachi/Islamabad] [Pakistan]
    ------------------------------



  • 8.  RE: SLE 118 Ross Tessera university tut

    Posted 07-22-2024 04:21

    I recommend activating your debug window and putting some debug messages in your script. 

    Scripting without debug window is driving with your eyes closed. 



    ------------------------------
    Simon Redmile
    Senior Graphic Programmer & Designer
    Ross Video
    Bristol United Kingdom
    ------------------------------



  • 9.  RE: SLE 118 Ross Tessera university tut

    Posted 07-22-2024 04:39

    Yes, I have enabled the debug monitor. the way I am checking the scene is wrong. I've checked the scene in layout without re-loading the scene.

    now its cleared how to preview in layout  and in Sequencer.



    ------------------------------
    [Wajahat] [Ali] [Team Lead]
    [RTG Designer]
    [Hum News]
    [Karachi/Islamabad] [Pakistan]
    ------------------------------



  • 10.  RE: SLE 118 Ross Tessera university tut

    Posted 07-22-2024 09:46

    You can add  your own debug messages like this;

    engine.debugmonitor("message here", 0)

    Placing these in your code can help you find where it might be breaking and stopping. 



    ------------------------------
    Simon Redmile
    Senior Graphic Programmer & Designer
    Ross Video
    Bristol United Kingdom
    ------------------------------



  • 11.  RE: SLE 118 Ross Tessera university tut

    Posted 07-22-2024 12:41


    thanks for the suggestion. But inddnt find any engine.debugmonitor syntex. esle engine.debugmessage

    and where it will display the message ? 



    ------------------------------
    [Wajahat] [Ali]
    [Team Lead] [RTG Designer]
    [Hum News][Karachi/Islamabad] [Pakistan]
    ------------------------------



  • 12.  RE: SLE 118 Ross Tessera university tut

    Posted 07-23-2024 04:50

    My bad I was doing it from my head and I was thinking Monitor while writing the reply to it's;  engine.DebugMessage



    ------------------------------
    Simon Redmile
    Senior Graphic Programmer & Designer
    Ross Video
    Bristol United Kingdom
    ------------------------------