![]() |
Collada exporter - Printable Version +- Wings 3D Development Forum (https://www.wings3d.com/forum) +-- Forum: Wings 3D (https://www.wings3d.com/forum/forumdisplay.php?fid=1) +--- Forum: Gripes & Grumbles (https://www.wings3d.com/forum/forumdisplay.php?fid=4) +--- Thread: Collada exporter (/showthread.php?tid=3178) |
Collada exporter - ismacou - 11-12-2024 Hello. Me again. What a possibility that you consider adding to the collada exporter, the view camera (or stored views). Blender's style, for being more specific. I think it would be very useful, at least for me, obvious. I also take the opportunity to raise my difficulty to establish the "numerical position camera". I have not been able to decipher their behavior, nor know how to extract the coordinates of the camera or the focal point, not even from the information in the name of the saved view ("from the +z to the -x distance ...". What does that mean? ). Greetings and thank you very much. RE: Collada exporter - micheus - 11-14-2024 (11-12-2024, 11:01 PM)ismacou Wrote: What a possibility that you consider adding to the collada exporter, the view camera (or stored views). Blender's style, for being more specific.I don't know nothing about the Blender style, but I think we can try to add camera support to export with the information we have from Wings3D (including the saved ones): PHP Code: Here is an example of a <camera> element that describes a perspective view of a scene with a 45-degree Quote:I also take the opportunity to raise my difficulty to establish the "numerical position camera". I have not been able to decipher their behavior, nor know how to extract the coordinates of the camera or the focal point, not even from the information in the name of the saved view ("from the +z to the -x distance ...".That is barely informative and also not precise - of course. That is a suggested name just to make then different, but we should rename to something with meaning for us. This will not aggregate much, but it just says the "octant" in which camera is placed (From -X+Z+Y) and the quadrant its pointing at (towards -X+Y). The distance of 8.0 is the default one each time we reset the camera. By default the camera will be pointing (look at) {0,0} (X,Y) (left image). We change the Look At by using the View->Aim command (right image). ![]() RE: Collada exporter - ismacou - 11-24-2024 Hi Micheus. ![]() Thanks for your reply. For not knowing what Blender style was, you can say that you were very well oriented. Exactly, that is the beautiful code I was referring to. You have a gift. It would be wonderful to find it in Collada's XMLs. Regards and thank you very much. RE: Collada exporter - micheus - 11-26-2024 ismacou, could you please try this to ensure it works in a real-case scenario? Download: wpc_collada.erl * p.s.: use the File->Install Plugin/Patch option. RE: Collada exporter - ismacou - 12-24-2024 Hi Micheus. Sorry for the delay. I was a bit distant. I deeply appreciate your help and effort with this development. I can only answer with total sincerity. I intended to use the Camera functionality in collada, mainly in the design of HDR environments from the camera point of view (HDR Light Studio). Also to import the models to some renderer without having to fight with cameras to achieve the same frame (that's why I like Pov Ray, or Yafaray, or Kerkythea ![]() The truth is that until now I have tested dae files from several programs (including yours), but the only one that manages to correctly position the camera is Blender. The others present difficulties that I cannot understand or describe. Many, many thanks Greetings and happy holidays. |