However, I was running into two issues and hope you or someone around here can help. You can click on the TV, the microwave, the dishwasher, the lights etc.Īdditionally, the mouse cursor and name display will now change only when hovering interactive objects.Īs I modelled our new family home completely in SweetHome3d prior to its construction, I had to try your compilation and it was working great! Note, the example template from was changed to work with the default.sh3d example bundled with Sweet Home 3D JS Viewer. sh3d file on your openHAB server and change your HABPanel template to invoke the directive like so: If you already tried this and simply want to upgrade: I have tried a lot of obj viewers with my Nexus10 but none was able to show my obj file.Alright, I made the necessary changes to support Sweet Home 3D 5.5 JS Viewer and updated the readme (it was pretty straightforward). I think it would be great if you can develop a viewer for android. I would try to port core classes first, then, and classes, and finally change the UI implementation with classes in a new package that would implement .ViewFactory interface and the view ones that depends on it.Įmmanuel Puybaret, Sweet Home 3D developer If ever I would have to port Sweet Home 3D under Android, my strategy would be more based on its architecture, i.e. Even the implementation of and packages relies on a few AWT classes coming from and packages, that are missing in Android even if they are not bound to components. There's no Java 3D at all, that means that the classes of 3d (+ a few other ones in swing) need a complete rewrite based on a different library. These classes don't just create and layout the components of the user interface and the UI should be quite different under Android because of the small screens it runs on. There's no AWT/Swing in Adroid API, that means at least 40% of the program code needs a rewrite for that part alone (all the classes). In no case, I want to prevent you from trying this port, but I fear you didn't list all the missing parts in Android Java: Thank you for your time I hope this project will be easy for me and will actually get anywhere, also note this project will inheret the same open source freeware license as the original SH3D and I'll be sure to give all the same people their respective credits on both the splash screen of the android app and it's help/about menu. What func/methods are used to render the highest quality photo setting at a given input resolution for both the default and spherical projections?.What func/methods are used to import furniture and draw them to the lower right hand panrel?.What func/methods are used to scale, rotate, elevate, translate the virtual visitor and furniture? (The top right hand panel in the SH3D window).What func/methods are used in the SH3D source that initialize, update, and draw the 3d scene in virtual visitor mode (the lower right hand corner of the SH3D window).Here's what I need help with, there are some java functions and methods I'm looking for and I'm not sure what their names are so that I can call them in the XML. By porting I mean I have zero intention to rewrite the entire interface by translating the swing to XML. Since android apps are written in java (apart from the XML portion for UI, which is basically the same thing as Java Swing with a different syntax), I was thinking it shouldn't be too hard to port this to android. I need some tips on porting a very limited version of sweethome3d to android. This topic has been viewed 44502 times and has 7 Thread Status: Active Total posts in this thread: 8 Sweet Home 3D Forum Category: Help Forum: Developers Thread: Android Port of SweetHome3D
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |