Skip to content
  • Recent
  • Tags
  • Popular
  • SAMSON Connect
  • Get SAMSON
Collapse
SAMSON Forum
  1. Home
  2. Develop
  3. Modeling
  4. Van der Waals Tutorial - Casting Shadows

Van der Waals Tutorial - Casting Shadows

Scheduled Pinned Locked Moved Modeling
4 Posts 2 Posters 2.7k Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • L
    L
    Lauren
    wrote on last edited by
    #1

    Hello,

    I'm having some issues with the casting shadows part of the Van Der Walls tutorial.

    this is the provided code:
    void SEVanDerWaalsVisualModel::displayForShadow() {
    display();
    }

    which I inserted below the void SEVanDerWaalsVisualModel::display... section. However, I am getting these errors
    0_1620321568393_Screen Shot 2021-05-06 at 1.19.06 PM.png

    and advice would be great.
    Thank you,
    Lauren

    1 Reply Last reply
    0
    • DmitriyMarinD
      DmitriyMarinD
      DmitriyMarin
      wrote on last edited by
      #2

      Dear @Lauren ,

      We are sorry, the tutorial might be slightly outdated in that it was done with the previous version of SAMSON SDK. It should rather be a single display function that gets SBNode::RenderingPass:

      class SEVanDerWaalsVisualModel: public SBMVisualModel {
      
      	SB_CLASS
      
      public :
      
      	// ...
      
      	virtual void			display(SBNode::RenderingPass renderingPass);			///< Displays the visual model
      
      	// ...
      
      }
      

      I will update the tutorial shortly and will let you know. Thank you for reporting this issue.

      Dmitriy,
      The SAMSON Team, https://s-c.io

      1 Reply Last reply
      1
      • DmitriyMarinD
        DmitriyMarinD
        DmitriyMarin
        wrote on last edited by
        #3

        For now, you can check the updated code in our GitHub repository: SAMSON-Developer-Tutorials.

        In the Developer Guide, this tutorial's code and some of its descriptions are for its previous version and will be updated soon.

        Dmitriy,
        The SAMSON Team, https://s-c.io

        1 Reply Last reply
        1
        • DmitriyMarinD
          DmitriyMarinD
          DmitriyMarin
          wrote on last edited by
          #4

          Dear @Lauren ,

          We have updated the Creating visualizations: Van der Waals visual model tutorial in our Developer Guide.

          You can also check out the code samples corresponding to this tutorial here: https://github.com/1A-OneAngstrom/SAMSON-Developer-Tutorials/tree/master/VanDerWaals. The code samples contain more optimized code and some additional functionality.

          Dmitriy,
          The SAMSON Team, https://s-c.io

          1 Reply Last reply
          1

          Hello! It looks like you're interested in this conversation, but you don't have an account yet.

          Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

          With your input, this post could be even better 💗

          Register Login
          Reply
          • Reply as topic
          Log in to reply
          • Oldest to Newest
          • Newest to Oldest
          • Most Votes


          • Login

          • Login or register to search.
          • First post
            Last post
          0
          • Recent
          • Tags
          • Popular
          • SAMSON Connect
          • Get SAMSON