Baggio Posted December 13, 2022 Share Posted December 13, 2022 (edited) Hi guys. Can anyone help me with the code i need to put in CTC user source to get a 3D box model? What i want is to just add a moveable box separate to the wheel like in Unified refried. I compared the old and new xamls and found this, but in reality i have no idea what i'm doing so any help would be amazing. <coverFlow:FlowModel DataContext="{Binding ActiveGame}" RotationAxis="0.2,1,0" RotationAngle="25" CanManuallyRotate="True" FieldOfView="30" /> 1774419112_2022-12-1120-40-07.mp4.3c767ed47b412a4e4d9ff1cd2dcc0a55.mp4 Edited December 13, 2022 by PaulyC Quote Link to comment Share on other sites More sharing options...
C-Beats Posted December 13, 2022 Share Posted December 13, 2022 Need to make sure you have the "coverFlow" namespace defined at the top of the file. Ensure you have the following with the other lines that start with xmlns xmlns:coverFlow="clr-namespace:Unbroken.LaunchBox.Windows.Controls.CoverFlow;assembly=Unbroken.LaunchBox.Windows" Other than that what you have looks accurate. Is there something specifically not working? Quote Link to comment Share on other sites More sharing options...
Baggio Posted December 13, 2022 Author Share Posted December 13, 2022 Thanks for the reply. I can't get it to work at all in CTC, i have no idea what i'm doing tbh And i think i've just broke it as well as it just crashes every time i load it now i added the line below in the user source lol xmlns:coverFlow="clr-namespace:Unbroken.LaunchBox.Windows.Controls.CoverFlow;assembly=Unbroken.LaunchBox.Windows Quote Link to comment Share on other sites More sharing options...
C-Beats Posted December 13, 2022 Share Posted December 13, 2022 Ah apologies didn't read that you are looking to have it work in CTC. I'm unsure if it's possible to do this in CTC or would it would require if it was possible as I don't use that application. Quote Link to comment Share on other sites More sharing options...
Baggio Posted December 13, 2022 Author Share Posted December 13, 2022 OK no problem, y2guru isn't sure either and told me to ask here so maybe it isn't possible yet. I did try putting it directly in CTC's created xaml after publishing as well but didn't have any joy there either. Thanks for the help anyway 👍 Quote Link to comment Share on other sites More sharing options...
faeran Posted December 13, 2022 Share Posted December 13, 2022 My guess is that you can add it as a user source in the CTC, but the CTC won't know what to do with it and probably provide an error. There should be a checkbox that allows you to stop it from trying to render that element in the CTC. When you publish the theme, you'll see the 3D Model in Big Box. The only way you would be able to see this Model in the CTC is when the 3D Model is added as a native element within the CTC. Quote Link to comment Share on other sites More sharing options...
Baggio Posted December 13, 2022 Author Share Posted December 13, 2022 14 minutes ago, faeran said: My guess is that you can add it as a user source in the CTC, but the CTC won't know what to do with it and probably provide an error. There should be a checkbox that allows you to stop it from trying to render that element in the CTC. When you publish the theme, you'll see the 3D Model in Big Box. The only way you would be able to see this Model in the CTC is when the 3D Model is added as a native element within the CTC. Thank you so much buddy it worked!! I used the code <coverFlow:FlowModel DataContext="{Binding ActiveGame}" RotationAxis="0.2,1,0" RotationAngle="25" CanManuallyRotate="True" FieldOfView="30" /> as a user source and after unchecking "designer friendly" and publishing it worked perfectly 👍👍 1 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.