Dear group,
I'm using the following workflow (posted above) to display a 3D object using DrawModel.
This enables me to show a visual environment which is being regulated dynamically according to input deriving from behavioral parameters (e.g. outputs from the computer mouse or fish tail movements as in my specific).
To better understand what's happening experimentally I've attached a video file.
Unfortunately, my three-dimensional object isn't infinite which is why the stimulus can disappear from the shader window after a while depending on the animal's movement.
My aim is to create an endless visual environment, meaning an infinite visual pattern (any pattern will do at this point).
In order to get there, I’m thinking of generating a stimulus, which I can “repeat” in X and Y (for example an endless checkerboard) - resulting in a seamless representation of a dynamic visual environment.
When trying to create and connect a visual stimulus directly in Bonsai though (I’ve tried Bonvision’s DrawCheckerboard, which works on it's own but not in my workflow), I get the error "disposable has already been assigned", which I can't overcome.
My 2 questions are:
1) Is it possible to create an infinite visual environment (when avoiding to use DrawModel of a finite object, and instead start) using e.g. Draw(TexturedModel or Image) and trying to repeat it? (Again, the goal is a pattern which does not end in XY, no matter the directional input.)
2) How to avoid the error "disposable has already been assigned"? Should I store my behavioral and visual environment objects in a ResourceSubject node to solve this problem?
Help would be greatly appreciated.
Thanks so much and best regards,
Lisanne
--
You received this message because you are subscribed to the Google Groups "Bonsai Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to bonsai-users...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/bonsai-users/67fc179c-63ac-4d0d-9048-20ac5f59a42bn%40googlegroups.com.
--
You received this message because you are subscribed to the Google Groups "Bonsai Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to bonsai-users...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/bonsai-users/0391d4c5-4dd2-4422-b612-4ef35a1ba1a1n%40googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/bonsai-users/aa22a0ac-e069-4c03-9e2d-072f5e92f91en%40googlegroups.com.