Adding a rotating knob ?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2019-09-24 1:49 PM
Can I add a rotating knob ? If so , how ? Would it be possible to load a filmstrip ?
I use that for VST plugins although I see no widgets for that ?
Maybe the circle progress , somehow ?
- Labels:
-
TouchGFX
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2019-09-24 2:24 PM
You can use the texturemapper to rotate anything you want. Check out the "Animation Texturemapper" example from the designer.
/Martin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2019-09-24 3:04 PM
Sweet !, will try
But one thing , rotating something and and using sprites or strips is different.
A real rotation would change reflections and shadows while rotating as opposed to just rotating a static picture , having said that , maybe the texturemapper allows that so I am off to try :)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2019-09-24 3:25 PM
Another issue, figure i post here instead making endless posts .
I have a togglebutton on page 1 , I toggle it to ON position , I use another regular 2 state button to switch to page 2.
When I go back to page one the togglebutton is now off ? How can I make it persistent ?
This also applies to the slider I inserted , its reset when I return to the page .
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2019-09-24 3:29 PM
On that note , would it be possible to say have a set of sliders and then save their position as a preset ?
Probably not in touch fx itself but is this achievable somehow ?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2019-09-24 3:33 PM
I have a lot of questions...could I display a waveform or scope output or even meter or envelope display from audio Weaver ? Yes, I will read more , just excited , hehe :)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2019-09-24 3:44 PM
As for the texturemapper example , This just rotates freely.
I mean like a knob , sample attached.
Also , how can I see in that example "How" it is made to rotate ? Is that purely in code or can I access those settings withing TGfx ?
Actually I have the problem with a lot of the demos , hard to see how it is made to do what it does , I must be missing something ?
Here is a sample of what I mean by knob rotation.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2019-09-24 3:50 PM
Also notice a graphic glitch when its plugged in and starting , is this a fact with this setup ?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2019-09-25 12:56 PM
The texture mapper we provide can map the texture based on "camera" position and rotational parameters (x,y,z). There's no light source involved to provide reflections and shadows. That would be extremely expensive to calculate using the CPU (which is required, since the only graphics IP is ChromArt which provides in hardware alpha blending).
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2019-09-25 12:58 PM
Usually, you'd persist data through the model - Either as an intermediary state (story it in variables, losing the data when power cycling) or from the model you'd maybe even store it on an SD card or maybe in EEPROM. Following the MVP pattern, your view would tell the presenter (which knows the model) to store the data.
Whenever you enter a screen the presenter should load the data from the model and initialize the view to restore the old state.
/Martin
