Details
-
Type: extRequest
-
Status: Closed
-
Priority: Major
-
Resolution: Done
-
Component/s: FABulous
-
Labels:None
Description
Hi,
I would like to implement a 3D viewer in our FABulous project and I have
decided on the 3D-UI-XML3D GE. There are couple of questions I would need
anserwed in order to implement the GE with the possibly best results fot
the project:
1. Is it possible to get a detailed specification of the xml3d-json
format? Since I couldn't find any converter capable of creating the
xml3d-json directly from an stl file, I'm going to have to create it myself
based on the data read from the stl. I'm getting a mesh object with lists
of vertices, normals, texture coords and more, but I need to know the exact
specification so that I am certain that the created json will be correct.
2. I have downloaded a sample json (teapot.json) from the github page
and used it to visualize the object and it is fine, however, after
including camera.js the zoom in / zoom out is handeled with RMB+drag
combination. Is it possible to change it to a mouse wheel scroll? I think
it would be much more intuitive this way. Can the camera.js be initialized
in a way to achieve the mouse wheel scroll zooming?
3. Lastly, I have created a simple cube json and it is correctly
visualized, however when I try to rotate the object it doesn't seem to
rotate in a right way - it looks like the object is both rotating and at
the same time orbiting and then it sometimes hides out of the canvas
bounds. Is the rotation being made always around a certain point, for
example (0,0,0)? And I am having trouble in centering the viewed object on
the canvas. Setting the view position in the xml does the trick, but I need
to set the position automatically so that each uploaded model would appear
in the center of the canvas. How can this be done?
I am looking forward to your reply.
Best regards,
Witold Kosowski
–
_______________________________________
Witold Kosowski | Software Developer | **Webwerx
Kamienica pod Aniołami, ul. Grzegorza Piramowicza 9, 90-254 Łódź, PL
: witold.kosowski@webwerx.pl *| ü: www.webwerx.pl
_______________________________________________
Fiware-fabulous-coaching mailing list
Fiware-fabulous-coaching@lists.fi-ware.org
https://lists.fi-ware.org/listinfo/fiware-fabulous-coaching
[Created via e-mail received from: Witek Kosowski <witold.kosowski@webwerx.pl>]
Hi Witek,
at this link http://catalogue.fiware.org/enablers/3d-ui-xml3d you can see the Contact Person (Torsten Spieldenner - torsten.spieldenner@dfki.de)
Try to ask your request to him.
Regards,
Pasquale
Quoting Witek Kosowski <witold.kosowski@webwerx.pl>:
> Hi,
>
>
> I would like to implement a 3D viewer in our FABulous project and I have decided on the 3D-UI-XML3D GE. There are couple of questions I would need anserwed in order to implement the GE with the possibly best results fot the project:
>
> * Is it possible to get a detailed specification of the xml3d-json format? Since I couldn't find any converter capable of creating the xml3d-json directly from an stl file, I'm going to have to create it myself based on the data read from the stl. I'm getting a mesh object with lists of vertices, normals, texture coords and more, but I need to know the exact specification so that I am certain that the created json will be correct.
> * I have downloaded a sample json (teapot.json) from the github page and used it to visualize the object and it is fine, however, after including camera.js the zoom in / zoom out is handeled with RMB+drag combination. Is it possible to change it to a mouse wheel scroll? I think it would be much more intuitive this way. Can the camera.js be initialized in a way to achieve the mouse wheel scroll zooming?
> * Lastly, I have created a simple cube json and it is correctly visualized, however when I try to rotate the object it doesn't seem to rotate in a right way - it looks like the object is both rotating and at the same time orbiting and then it sometimes hides out of the canvas bounds. Is the rotation being made always around a certain point, for example (0,0,0)? And I am having trouble in centering the viewed object on the canvas. Setting the view position in the xml does the trick, but I need to set the position automatically so that each uploaded model would appear in the center of the canvas. How can this be done?
>
>
> I am looking forward to your reply.
>
>
> Best regards,
> Witold Kosowski
>
> –
>
> _______________________________________
>
> WITOLD KOSOWSKI | SOFTWARE DEVELOPER | WEBWERX
> Kamienica pod Anio?ami, ul. Grzegorza Piramowicza 9, 90-254 ?ód?, PL
> *: witold.kosowski@webwerx.pl | ü: www.webwerx.pl
_______________________________________________
Fiware-fabulous-coaching mailing list
Fiware-fabulous-coaching@lists.fi-ware.org
https://lists.fi-ware.org/listinfo/fiware-fabulous-coaching